summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bz2.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:29:28 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:29:28 (GMT)
commit528d9f6ead819aff0862f5a7ce1574da13689c75 (patch)
tree5cc1976e9aaa4662c375c640f4d872fee0b626b8 /Lib/test/test_bz2.py
parent7372a07fd0eb8e32fe9d03ee5a56ecc14788dfb0 (diff)
downloadcpython-528d9f6ead819aff0862f5a7ce1574da13689c75.zip
cpython-528d9f6ead819aff0862f5a7ce1574da13689c75.tar.gz
cpython-528d9f6ead819aff0862f5a7ce1574da13689c75.tar.bz2
Issue #11018: fix a test to not be a no-op in test_bz2.
Found by Nadeem Vawda, reviewed by Brett.
Diffstat (limited to 'Lib/test/test_bz2.py')
-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 e41f1db..be35580 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)
def testRead100(self):
# "Test BZ2File.read(100)"