diff options
author | Georg Brandl <georg@python.org> | 2006-08-06 07:06:33 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-08-06 07:06:33 (GMT) |
commit | 9908d1656c5ee845f3039eb5eaef59582df1666d (patch) | |
tree | 8e33dba2fd8f761eb38b287fa165a9a4e5d92dd6 /Lib | |
parent | 212b587a52b41ea66ca0ce42a0b08bbfbdc43d1d (diff) | |
download | cpython-9908d1656c5ee845f3039eb5eaef59582df1666d.zip cpython-9908d1656c5ee845f3039eb5eaef59582df1666d.tar.gz cpython-9908d1656c5ee845f3039eb5eaef59582df1666d.tar.bz2 |
Bug #1535182: really test the xreadlines() method of bz2 objects.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_bz2.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class BZ2FileTest(BaseTest): bz2f = BZ2File(self.filename) xlines = list(bz2f.xreadlines()) bz2f.close() - self.assertEqual(lines, ['Test']) + self.assertEqual(xlines, ['Test']) class BZ2CompressorTest(BaseTest): |