summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:31:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:31:20 (GMT)
commit6c3f01791b9aaaab98bcb14ad81979572ae1abfe (patch)
tree0b77580c4d22057357bfcd964400179530a9d595
parentab5dd0092786d8503e54a7a75affb9dcc21a271c (diff)
downloadcpython-6c3f01791b9aaaab98bcb14ad81979572ae1abfe.zip
cpython-6c3f01791b9aaaab98bcb14ad81979572ae1abfe.tar.gz
cpython-6c3f01791b9aaaab98bcb14ad81979572ae1abfe.tar.bz2
Merged revisions 88204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88204 | antoine.pitrou | 2011-01-27 00:29:28 +0100 (jeu., 27 janv. 2011) | 4 lines Issue #11018: fix a test to not be a no-op in test_bz2. Found by Nadeem Vawda, reviewed by Brett. ........
-rw-r--r--Lib/test/test_bz2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index bfcb02a..fbf8fff 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -86,7 +86,7 @@ class BZ2FileTest(BaseTest):
if not str:
break
text += str
- self.assertEqual(text, text)
+ self.assertEqual(text, self.TEXT)
bz2f.close()
def testRead100(self):