[issue17944] Refactor test_zipfile

Serhiy Storchaka report at bugs.python.org
Mon Jun 17 13:57:19 CEST 2013


Serhiy Storchaka added the comment:

Thank you Terry for review. Here is updated patch addressed Terry's comments. Now random datas for tests generated once per class (generating them once per module will be more cumbersome and will save less time). Arguments for zipfile.open() now generated from a special generator. This simplifies the code and makes possible to determine with what argument test is failed. I don't think subtest() is appropriate here (in any case it is 3.4 only).

----------
Added file: http://bugs.python.org/file30618/test_zipfile_3.patch

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


More information about the Python-bugs-list mailing list