[Python-checkins] r88206 - in python/branches/release27-maint: Lib/test/test_bz2.py

antoine.pitrou python-checkins at python.org
Thu Jan 27 00:31:26 CET 2011


Author: antoine.pitrou
Date: Thu Jan 27 00:31:25 2011
New Revision: 88206

Log:
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.
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Lib/test/test_bz2.py

Modified: python/branches/release27-maint/Lib/test/test_bz2.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_bz2.py	(original)
+++ python/branches/release27-maint/Lib/test/test_bz2.py	Thu Jan 27 00:31:25 2011
@@ -85,7 +85,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