[New-bugs-announce] [issue18754] Run Python child processes in isolated mode in the test suite?

STINNER Victor report at bugs.python.org
Fri Aug 16 15:40:04 CEST 2013


New submission from STINNER Victor:

Python 3.4 has a new command line option to run Python in isolated mode: -I.

IMO it would be nice to use this option to make the test suite more independant of the user configuration and the environment.

Attached patch modifies the test.script_helper module to use the new -I option.

Some tests rely on the current directory added to sys.path, so I had to add a python_isolated=False option to script_helper for these tests.

----------
components: Tests
files: test_isolated.patch
keywords: patch
messages: 195331
nosy: christian.heimes, haypo
priority: normal
severity: normal
status: open
title: Run Python child processes in isolated mode in the test suite?
versions: Python 3.4
Added file: http://bugs.python.org/file31314/test_isolated.patch

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


More information about the New-bugs-announce mailing list