summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_script_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-2/+2
| | | | Patch by Christie Wilson.
* Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-131-8/+9
|\ | | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
| * Issue #23309: Avoid a deadlock at shutdown if a daemon thread is abortedAntoine Pitrou2015-04-131-8/+9
| | | | | | | | | | | | while it is holding a lock to a buffered I/O object, and the main thread tries to use the same I/O object (typically stdout or stderr). A fatal error is emitted instead.
* | - fix file permission for Lib/test/test_script_helper.pydoko@ubuntu.com2015-04-121-0/+0
| |
* | Issue #23715: Fix test_script_helperVictor Stinner2015-03-201-2/+2
| |
* | Make the stdlib test suite helper test.script_helper._assert_python no longerGregory P. Smith2015-02-051-0/+33
|\ \ | |/ | | | | | | pass -I or -E to the child process by default when the environment is required for the child process interpreter to function properly.
| * Make the stdlib test suite helper test.script_helper._assert_python no longerGregory P. Smith2015-02-051-0/+33
| | | | | | | | | | pass -I or -E to the child process by default when the environment is required for the child process interpreter to function properly.
* | Skip some tests that require a subinterpreter launched with -E or -I when theGregory P. Smith2015-02-041-0/+41
|\ \ | |/ | | | | | | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a test.script_helper.interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
| * Skip some tests that require a subinterpreter launched with -E or -I when theGregory P. Smith2015-02-041-0/+41
|/ | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a private test.script_helper._interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.
* Add the command line to the AssertionError raised by test.script_helper'sGregory P. Smith2015-01-211-0/+35
Python subprocess failure assertion error messages for easier debugging. Adds a unittest for test.script_helper to confirm that this code works as it is otherwise uncovered by an already passing test suite that uses it. :)