[Python-Dev] Tests failing on Windows with TESTFN

eryk sun eryksun at gmail.com
Sat Jul 28 18:12:25 EDT 2018


On Sat, Jul 28, 2018 at 9:17 PM, Jeremy Kloth <jeremy.kloth at gmail.com> wrote:
>
> *PLEASE*, don't use tempfile to create files/directories in tests.  It
> is unfriendly to (Windows) buildbots.  The current approach of
> directory-per-process ensures no test turds are left behind, whereas
> the tempfile solution slowly fills up my buildbot.  Windows doesn't
> natively clean out the temp directory.

FYI, Windows 10 storage sense (under system->storage) can be
configured to delete temporary files on a schedule. Of course that
doesn't help with older systems.


More information about the Python-Dev mailing list