Commit b5aeb194 authored by Georg Brandl's avatar Georg Brandl

Bug #1535182: really test the xreadlines() method of bz2 objects.

parent c40ada4a
...@@ -258,7 +258,7 @@ class BZ2FileTest(BaseTest): ...@@ -258,7 +258,7 @@ class BZ2FileTest(BaseTest):
bz2f = BZ2File(self.filename) bz2f = BZ2File(self.filename)
xlines = list(bz2f.xreadlines()) xlines = list(bz2f.xreadlines())
bz2f.close() bz2f.close()
self.assertEqual(lines, ['Test']) self.assertEqual(xlines, ['Test'])
class BZ2CompressorTest(BaseTest): class BZ2CompressorTest(BaseTest):
......
...@@ -48,6 +48,8 @@ Extension Modules ...@@ -48,6 +48,8 @@ Extension Modules
Tests Tests
----- -----
- Bug #1535182: really test the xreadlines() method of bz2 objects.
Documentation Documentation
------------- -------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment