Re: [Python-Dev] Regression test coupling

2011-11-08 Thread Vinay Sajip
Nick Coghlan gmail.com> writes: > Given the other things regrtest cleans up between tests, I'm not sure > why it doesn't also kill TESTFN, though. Well, there's a function regrtest.cleanup_test_droppings which aims to do just this, and it's called in a finally: block from regrtest.runtest. It's

Re: [Python-Dev] Regression test coupling

2011-11-08 Thread Nick Coghlan
On Tue, Nov 8, 2011 at 8:02 PM, Vinay Sajip 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 (h