On Tue, Nov 8, 2011 at 8:02 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk> 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 | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4