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

This commit is contained in:
Georg Brandl 2006-08-06 07:06:33 +00:00
parent 212b587a52
commit 9908d1656c
2 changed files with 3 additions and 1 deletions

View File

@ -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):

View File

@ -48,6 +48,8 @@ Extension Modules
Tests
-----
- Bug #1535182: really test the xreadlines() method of bz2 objects.
Documentation
-------------