From: Georg Brandl Date: Sun, 6 Aug 2006 07:06:33 +0000 (+0000) Subject: Bug #1535182: really test the xreadlines() method of bz2 objects. X-Git-Tag: v2.5c1~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9908d1656c5ee845f3039eb5eaef59582df1666d;p=thirdparty%2FPython%2Fcpython.git Bug #1535182: really test the xreadlines() method of bz2 objects. --- diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 79acc07899b7..56b5ffa0ad53 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -258,7 +258,7 @@ class BZ2FileTest(BaseTest): bz2f = BZ2File(self.filename) xlines = list(bz2f.xreadlines()) bz2f.close() - self.assertEqual(lines, ['Test']) + self.assertEqual(xlines, ['Test']) class BZ2CompressorTest(BaseTest): diff --git a/Misc/NEWS b/Misc/NEWS index 33cb0f90d4e0..f06f98c063fe 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -48,6 +48,8 @@ Extension Modules Tests ----- +- Bug #1535182: really test the xreadlines() method of bz2 objects. + Documentation -------------