summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
Commit message (Collapse)AuthorAgeFilesLines
...
* support: add more info on temp_dir() and change_cwd() failureVictor Stinner2017-02-081-4/+6
| | | | Log the OSError exception message.
* Merge 3.6Victor Stinner2017-01-121-7/+18
|\
| * Merge 3.5Victor Stinner2017-01-121-7/+18
| |\
| | * 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.
* | | Remove unused imports.Serhiy Storchaka2016-12-161-3/+0
| | |
* | | Issue #28683: Merge 3.6.Xavier de Gaye2016-12-141-0/+10
|\ \ \ | |/ /
| * | Issue #28683: Fix the tests that bind() a unix socket and raise PermissionErrorXavier de Gaye2016-12-141-0/+10
| | | | | | | | | | | | on Android for a non-root user.
* | | Issue #28759: Merge 3.6.Xavier de Gaye2016-12-131-1/+2
|\ \ \ | |/ /
| * | Issue #28759: Fix the tests that fail with PermissionError when run asXavier de Gaye2016-12-131-1/+2
| | | | | | | | | | | | a non-root user on Android where access rights are controled by SELinux MAC.
* | | Issue #28512: Fixed setting the offset attribute of SyntaxError bySerhiy Storchaka2016-12-111-3/+10
|\ \ \ | |/ / | | | | | | PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
| * | Issue #28512: Fixed setting the offset attribute of SyntaxError bySerhiy Storchaka2016-12-111-3/+10
| |\ \ | | |/ | | | | | | PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
| | * Issue #28512: Fixed setting the offset attribute of SyntaxError bySerhiy Storchaka2016-12-111-3/+10
| | | | | | | | | | | | PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
* | | Issue #26939: Merge 3.6.Xavier de Gaye2016-12-081-0/+16
|\ \ \ | |/ /
| * | 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.