[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
Sat Feb 6 18:50:31 CET 2010


Florent Xicluna <laxyf at yahoo.fr> added the comment:

Patch which fixes the "relative import" issue.

 ~ $ cd Lib/
 ~ $ ../python -m test.regrtest


Note: There are some 2-spaces indents for patch readability.
      Change them before commit.

----------
versions:  -Python 2.6, Python 3.1
Added file: http://bugs.python.org/file16150/issue7712_context_manager_v2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7712>
_______________________________________


More information about the Python-bugs-list mailing list