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 <rep...@bugs.python.org> <http://bugs.python.org/issue18754> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com