[issue25695] test___all__ and test_support alter execution environment
Martin Panter
report at bugs.python.org
Mon Nov 23 00:47:16 EST 2015
Martin Panter added the comment:
This was introduced with revision f8fa7bc837a3. I guess I overlooked the new messages because I run the tests with -Wall, which is affected by Issue 18383.
It seems a bad idea to create a temporary directory when you import the test_support module. I propose this patch to defer creation until the one test that uses it is run.
As for your patch Silent Ghost, I’m not sure. It kind of side-steps the real issue by tweaking a heuristic. Maybe we should keep the heuristic as it is, because it is simpler.
----------
nosy: +martin.panter
type: -> behavior
Added file: http://bugs.python.org/file41128/defer-TESTDIRN.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25695>
_______________________________________
More information about the Python-bugs-list
mailing list