summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/script_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix script_helper.run_python_until_end(): copy SYSTEMROOTVictor Stinner2017-01-121-7/+18
| | | | | | Windows requires at least the SYSTEMROOT environment variable to start Python. If run_python_until_end() doesn't copy SYSTEMROOT, the function always fail on Windows.
* script_helper: kill the subprocess on errorVictor Stinner2016-08-171-8/+8
| | | | | | | | If Popen.communicate() raises an exception, kill the child process to not leave a running child process in background and maybe create a zombi process. This change fixes a ResourceWarning in Python 3.6 when unit tests are interrupted by CTRL+c.
* Issue #18300: Set TERM='' by default in assert_python_*Berker Peksag2016-06-241-0/+4
|
* * Re-fix issue #19284: Don't generate the no-op -R command lineGregory P. Smith2015-12-141-1/+1
| | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
* Fix remaining tests and remove an unused import.Berker Peksag2015-05-061-1/+1
|
* Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-0/+244
Patch by Christie Wilson.