Skip to content

Commit 26c2914

Browse files
author
georg.brandl
committed
Bug #1535182: really test the xreadlines() method of bz2 objects.
git-svn-id: http://svn.python.org/projects/python/trunk@51126 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 88c6e8d commit 26c2914

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_bz2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def testBug1191043(self):
258258
bz2f = BZ2File(self.filename)
259259
xlines = list(bz2f.xreadlines())
260260
bz2f.close()
261-
self.assertEqual(lines, ['Test'])
261+
self.assertEqual(xlines, ['Test'])
262262

263263

264264
class BZ2CompressorTest(BaseTest):

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Extension Modules
4848
Tests
4949
-----
5050

51+
- Bug #1535182: really test the xreadlines() method of bz2 objects.
52+
5153

5254
Documentation
5355
-------------

0 commit comments

Comments
 (0)