mirror of https://github.com/python/cpython
Bug #1535182: really test the xreadlines() method of bz2 objects.
This commit is contained in:
parent
212b587a52
commit
9908d1656c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue