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 zach.ware
Recipients brett.cannon, ezio.melotti, facundobatista, giampaolo.rodola, serhiy.storchaka, zach.ware
Date 2013-07-05.18:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373050724.4.0.920934619811.issue18266@psf.upfronthosting.co.za>
In-reply-to
Content
After testing on Windows, here's version 3.  This version changes tearDownClass to truncate the file rather than unlink it, and adds a check to make sure the file is properly truncated to 0 length.  Unlinking the file makes the test take an extra 40 seconds on my machine, I suspect due to Windows trying to simultaneously deallocate one 2GB file and build another.  To go with that change, tearDownModule is added, which does unlink TESTFN.

Also changed in this version, I've removed the "use_resources = ['largefile',]" assignment I had added to the "if __name__ == '__main__'" stanza; I've since learned that it has no effect (support.requires lets anything pass if the test module's __name__ is 
"__main__").
History
Date User Action Args
2013-07-05 18:58:44zach.waresetrecipients: + zach.ware, brett.cannon, facundobatista, giampaolo.rodola, ezio.melotti, serhiy.storchaka
2013-07-05 18:58:44zach.waresetmessageid: <1373050724.4.0.920934619811.issue18266@psf.upfronthosting.co.za>
2013-07-05 18:58:44zach.warelinkissue18266 messages
2013-07-05 18:58:44zach.warecreate