This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients charris44, eric.araujo
Date 2010-12-03.05:06:03
SpamBayes Score 0.00824008
Marked as misclassified No
Message-id <1291352764.94.0.613925288311.issue10613@psf.upfronthosting.co.za>
In-reply-to
Content
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/
History
Date User Action Args
2010-12-03 05:06:04eric.araujosetrecipients: + eric.araujo, charris44
2010-12-03 05:06:04eric.araujosetmessageid: <1291352764.94.0.613925288311.issue10613@psf.upfronthosting.co.za>
2010-12-03 05:06:03eric.araujolinkissue10613 messages
2010-12-03 05:06:03eric.araujocreate