[Python-checkins] r51126 - in python/trunk: Lib/test/test_bz2.py Misc/NEWS

georg.brandl python-checkins at python.org
Sun Aug 6 09:06:34 CEST 2006


Author: georg.brandl
Date: Sun Aug  6 09:06:33 2006
New Revision: 51126

Modified:
   python/trunk/Lib/test/test_bz2.py
   python/trunk/Misc/NEWS
Log:
Bug #1535182: really test the xreadlines() method of bz2 objects.


Modified: python/trunk/Lib/test/test_bz2.py
==============================================================================
--- python/trunk/Lib/test/test_bz2.py	(original)
+++ python/trunk/Lib/test/test_bz2.py	Sun Aug  6 09:06:33 2006
@@ -258,7 +258,7 @@
         bz2f = BZ2File(self.filename)
         xlines = list(bz2f.xreadlines())
         bz2f.close()
-        self.assertEqual(lines, ['Test'])
+        self.assertEqual(xlines, ['Test'])
 
 
 class BZ2CompressorTest(BaseTest):

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Aug  6 09:06:33 2006
@@ -48,6 +48,8 @@
 Tests
 -----
 
+- Bug #1535182: really test the xreadlines() method of bz2 objects.
+
 
 Documentation
 -------------


More information about the Python-checkins mailing list