commit | 5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
tree | 41f38aca16748628d53906337f06fdf087f52314 | |
parent | be96cf608fa656d7e53144cf85082ed5661e8c13 [diff] [blame] |
convert usage of fail* to assert*
diff --git a/Lib/test/test_StringIO.py b/Lib/test/test_StringIO.py index 58cbec0..f5a177e 100644 --- a/Lib/test/test_StringIO.py +++ b/Lib/test/test_StringIO.py
@@ -85,7 +85,7 @@ def test_iterator(self): eq = self.assertEqual - unless = self.failUnless + unless = self.assertTrue eq(iter(self._fp), self._fp) # Does this object support the iteration protocol? unless(hasattr(self._fp, '__iter__'))