summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Issue #26939: Add the support.setswitchinterval() function to fixXavier de Gaye2016-12-081-0/+16
| | | | | | | | | | | | test_functools hanging on the Android armv7 qemu emulator.
* | | Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-071-2/+2
|\ \ \ | |/ / | | | | | | writes the index file when it is not changed.
| * | Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-071-2/+2
| |\ \ | | |/ | | | | | | writes the index file when it is not changed.
| | * Issue #28847: dbm.dumb now supports reading read-only files and no longerSerhiy Storchaka2016-12-071-3/+3
| | | | | | | | | | | | writes the index file when it is not changed.
| * | Issue #28666: Fix removing readonly directories on Windows.Serhiy Storchaka2016-11-201-1/+1
| |\ \ | | |/
| | * Issue #28666: Fix removing readonly directories on Windows.Serhiy Storchaka2016-11-201-1/+1
| | |
* | | Add sys.getandroidapilevel()Victor Stinner2016-12-021-2/+7
| | | | | | | | | | | | | | | | | | | | | Issue #28740: Add sys.getandroidapilevel(): return the build time API version of Android as an integer. Function only available on Android.
* | | Issue #28666: Try to fix removing readonly directories on Windows.Serhiy Storchaka2016-11-201-1/+1
|/ /
* | Issue #28666: Now test.support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-15/+16
|\ \ | |/ | | | | unreadable directories on Windows too.
| * Issue #28666: Now test.support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-15/+16
| | | | | | | | unreadable directories on Windows too.
* | Issue #28666: Now test.support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-1/+31
|\ \ | |/ | | | | unreadable directories.
| * Issue #28666: Now test.support.rmtree is able to remove unwritable orSerhiy Storchaka2016-11-201-1/+31
| | | | | | | | unreadable directories.
* | Issue 26931: Skip the test_distutils tests using a compiler executableXavier de Gaye2016-11-171-1/+26
| | | | | | | | that is not found
* | Issue 28668: Merge 3.5Xavier de Gaye2016-11-151-1/+17
|\ \ | |/
| * Issue 28668: Skip tests where instanciation of multiprocessing.QueueXavier de Gaye2016-11-151-0/+17
| | | | | | | | would raise ImportError
* | Issue #26934: Handle _ANDROID_API_LEVEL is None on WindowsXavier de Gaye2016-11-131-1/+1
| |
* | Fix test_faulthandler on Android where raise() exits with 0Xavier de Gaye2016-11-131-2/+10
| |
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-081-1/+1
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Adds test.support.PGO and skips tests that are not useful for PGO.Steve Dower2016-09-071-1/+5
| |
* | Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-051-1/+1
| | | | | | | | and Windows CE is no longer a relevant platform for Python.
* | Merge with 3.5Terry Jan Reedy2016-09-051-2/+3
|\ \ | |/
| * Issue #27918# test.resource.is_gui_available no longer flashes tk window.Terry Jan Reedy2016-09-051-2/+3
| | | | | | | | Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang.
* | Merge 3.5 (script_helper)Victor Stinner2016-08-171-8/+8
|\ \ | |/
| * 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 #27472: Add test.support.unix_shell as the path to the default shell.Xavier de Gaye2016-07-221-1/+6
| |
* | Issue #27027: Added test.support.is_android that is True when this is anXavier de Gaye2016-07-101-1/+3
| | | | | | | | Android build.
* | Issue #19527: Fixed tests with defined COUNT_ALLOCS.Serhiy Storchaka2016-07-031-0/+3
|\ \ | |/
| * Issue #19527: Fixed tests with defined COUNT_ALLOCS.Serhiy Storchaka2016-07-031-0/+3
| |
* | Issue #18300: Merge from 3.5Berker Peksag2016-06-241-0/+4
|\ \ | |/
| * Issue #18300: Set TERM='' by default in assert_python_*Berker Peksag2016-06-241-0/+4
| |
* | Issue #27289: Merge from 3.5Berker Peksag2016-06-121-1/+2
|\ \ | |/
| * Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplibBerker Peksag2016-06-121-1/+2
| |
* | Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-301-0/+19
|\ \ | |/ | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
| * Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-301-0/+19
| | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
* | support.temp_dir(): call support.rmtree() instead of shutil.rmtree()Victor Stinner2016-03-241-1/+1
| |
* | Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-111-1/+23
|\ \ | |/ | | | | no ResourceWarning is emitted.
| * Issue #26325: Added test.support.check_no_resource_warning() to check thatSerhiy Storchaka2016-02-111-1/+23
| | | | | | | | no ResourceWarning is emitted.
* | subprocess._optim_args_from_interpreter_flags()Victor Stinner2016-01-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Issue #26100: * Add subprocess._optim_args_from_interpreter_flags() * Add test.support.optim_args_from_interpreter_flags() * Use new functions in distutils, test_cmd_line_script, test_compileall and test_inspect The change enables test_details() test of test_inspect when -O or -OO command line option is used.
* | * 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.
| * * 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.
* | \ Issue #25626: Merge zlib fix from 3.5Martin Panter2015-11-211-6/+9
|\ \ \ | |/ /
| * | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAXMartin Panter2015-11-201-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c.
* | | Issue #23883: Add test.support.check__all__() and test gettext.__all__Martin Panter2015-11-141-0/+61
|/ / | | | | | | Patches by Jacek Kołodziej.
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\ \ | |/
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | 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.
* | issue9859: Document test.support.detect_api_mismatch() and simplify its test.Gregory P. Smith2015-04-141-1/+1
| |
* | issue9859: Adds a test.support.detect_api_mismatch function useful toGregory P. Smith2015-04-141-1/+16
| | | | | | | | compare the public APIs of two modules or classes.
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-12/+8
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.