commit | 9908d1656c5ee845f3039eb5eaef59582df1666d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Aug 06 07:06:33 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Aug 06 07:06:33 2006 +0000 |
tree | 8e33dba2fd8f761eb38b287fa165a9a4e5d92dd6 | |
parent | 212b587a52b41ea66ca0ce42a0b08bbfbdc43d1d [diff] |
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 79acc07..56b5ffa 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py
@@ -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):