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 r.david.murray
Recipients antonio, asandvig, eric.araujo, johnkeyes, r.david.murray, tarek
Date 2010-11-20.03:12:03
SpamBayes Score 6.6651245e-09
Marked as misclassified No
Message-id <1290222728.12.0.503411232564.issue809163@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for diagnosis and the test patch, and welcome to the bug weekend.

Some comments:

test.support has a symbol, TESTFN, which is guaranteed to be unique for the test run and located in an appropriate writeable location.  Many tests use it to create a directory via os.mkdir and then create working files in it.  The test should also clean up the directory afterward, which can be done easily using test.support.rmtree.  Using these two test support items should simplify your test.  The other advantage of using TESTFN rather than the tempfile module is that TESTFN locates the file/directory in a place that the buildbot runner cleans up after each test run, so no cruft is left on the buildbot system even if the test runs ends abnormally in the middle of the test.
History
Date User Action Args
2010-11-20 03:12:08r.david.murraysetrecipients: + r.david.murray, tarek, antonio, eric.araujo, asandvig, johnkeyes
2010-11-20 03:12:08r.david.murraysetmessageid: <1290222728.12.0.503411232564.issue809163@psf.upfronthosting.co.za>
2010-11-20 03:12:03r.david.murraylinkissue809163 messages
2010-11-20 03:12:03r.david.murraycreate