summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-08-06 07:06:33 (GMT)
committerGeorg Brandl <georg@python.org>2006-08-06 07:06:33 (GMT)
commit9908d1656c5ee845f3039eb5eaef59582df1666d (patch)
tree8e33dba2fd8f761eb38b287fa165a9a4e5d92dd6 /Lib
parent212b587a52b41ea66ca0ce42a0b08bbfbdc43d1d (diff)
downloadcpython-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.py2
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):