On Tue, Nov 8, 2011 at 8:02 PM, Vinay Sajip <[email protected]> wrote: > Sorry if this has come up before, but why do we couple the tests in this way, > so > that failure to clean up in one test causes drive-by failures in other, > unrelated tests?
Personally, I just use the tempfile module in tests that I write (historically via test.script_helper.temp_dir, these days via the public tempfile.TemporaryDirectory API). Given the other things regrtest cleans up between tests, I'm not sure why it doesn't also kill TESTFN, though. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
