[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.
Florent Xicluna
report at bugs.python.org
Fri Feb 12 16:39:35 CET 2010
Florent Xicluna <laxyf at yahoo.fr> added the comment:
Fixed on trunk with r78136.
Before closing this issue, we may apply additional cleanup on regrtest:
- the "sys.path" hack is not needed anymore (no risk of relative imports)
- the hack for sys.argv[0] could be removed too, and use __file__ instead
----------
Added file: http://bugs.python.org/file16218/issue7712_regrtest_remove_hacks.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7712>
_______________________________________
More information about the Python-bugs-list
mailing list