]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 88204 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 26 Jan 2011 23:31:25 +0000 (23:31 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 26 Jan 2011 23:31:25 +0000 (23:31 +0000)
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.
........

Lib/test/test_bz2.py

index 4cb6bf1eed0e5680f3f49647505aef2c368efb24..d9ccf0abbec27d81fc52725bc45c0b0de00791a5 100644 (file)
@@ -85,7 +85,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)"