[issue7471] GZipFile.readline too slow

Brian Curtin report at bugs.python.org
Fri Dec 18 15:36:03 CET 2009


Brian Curtin <curtin at acm.org> added the comment:

In the test, should you verify that the correct data comes back from
io.BufferedReader? After the r.close() on line 90 of test_gzip.py,
adding something like "self.assertEqual("".join(lines), data1*50)" would
do the trick. 
Looks good.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7471>
_______________________________________


More information about the Python-bugs-list mailing list