Chris Jerdonek added the comment:

To follow up on David's comment, the unit tests in the test suite aren't 
consistent in their treatment of temp directories (e.g. they don't use a common 
API or code path).  So it may be hard to address this globally short of wiping 
the entire temp directory (though I could be wrong).

I have a patch in issue 15415 to add a temp_dir() context manager to 
test.support (and consolidate with script_helper's) that would do such 
clean-up.  The module already has a temp_cwd(), but that context manager serves 
two purposes.

----------
nosy: +cjerdonek

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to