[Python-checkins] r88204 - python/branches/py3k/Lib/test/test_bz2.py
antoine.pitrou
python-checkins at python.org
Thu Jan 27 00:29:28 CET 2011
Author: antoine.pitrou
Date: Thu Jan 27 00:29:28 2011
New Revision: 88204
Log:
Issue #11018: fix a test to not be a no-op in test_bz2.
Found by Nadeem Vawda, reviewed by Brett.
Modified:
python/branches/py3k/Lib/test/test_bz2.py
Modified: python/branches/py3k/Lib/test/test_bz2.py
==============================================================================
--- python/branches/py3k/Lib/test/test_bz2.py (original)
+++ python/branches/py3k/Lib/test/test_bz2.py Thu Jan 27 00:29:28 2011
@@ -86,7 +86,7 @@
if not str:
break
text += str
- self.assertEqual(text, text)
+ self.assertEqual(text, self.TEXT)
def testRead100(self):
# "Test BZ2File.read(100)"
More information about the Python-checkins
mailing list