[issue10613] gzip._PaddedFile calls getattr with arguments in reversed order
Éric Araujo
report at bugs.python.org
Fri Dec 3 06:06:04 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
The best way is to learn by imitation. If you prefer to read, there is some guidance on http://www.python.org/dev/workflow/ and http://www.python.org/dev/faq/#how-to-test-a-patch .
Concretely, you need to open a file, wrap it in a _PaddedFile and check that attributes like name and closed are good (using assertEqual).
You’ll also want to follow patch guidelines at http://www.python.org/dev/patches/
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10613>
_______________________________________
More information about the Python-bugs-list
mailing list