From 6cff8cd254fdc553b615980ac36722dddbe995aa Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 26 Aug 2005 13:24:09 +0000 Subject: Add list() around xreadlines() --- Lib/test/test_bz2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 11a5c82..504a6d7 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -256,7 +256,7 @@ class BZ2FileTest(BaseTest): bz2f.close() self.assertEqual(lines, ['Test']) bz2f = BZ2File(self.filename) - xlines = bz2f.xreadlines() + xlines = list(bz2f.xreadlines()) bz2f.close() self.assertEqual(lines, ['Test']) -- cgit v0.12