]> granicus.if.org Git - python/commitdiff
Issue #11018: fix a test to not be a no-op in test_bz2.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 26 Jan 2011 23:29:28 +0000 (23:29 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 26 Jan 2011 23:29:28 +0000 (23:29 +0000)
Found by Nadeem Vawda, reviewed by Brett.

Lib/test/test_bz2.py

index e41f1dba0bad3fa6502befcd6558b6a7b73c92a8..be3558050be54c168ba38192bf5c53f869e0ba1a 100644 (file)
@@ -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)"