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

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


Author: antoine.pitrou
Date: Thu Jan 27 00:31:20 2011
New Revision: 88205

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/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/test/test_bz2.py

Modified: python/branches/release31-maint/Lib/test/test_bz2.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_bz2.py	(original)
+++ python/branches/release31-maint/Lib/test/test_bz2.py	Thu Jan 27 00:31:20 2011
@@ -86,7 +86,7 @@
             if not str:
                 break
             text += str
-        self.assertEqual(text, text)
+        self.assertEqual(text, self.TEXT)
         bz2f.close()
 
     def testRead100(self):


More information about the Python-checkins mailing list