Serhiy Storchaka
70d28a184c
Remove unused imports.
2016-12-16 20:00:15 +02:00
Xavier de Gaye
69598527c7
Issue #28683 : Merge 3.6.
2016-12-14 11:54:49 +01:00
Xavier de Gaye
e88ed05006
Issue #28683 : Fix the tests that bind() a unix socket and raise PermissionError
...
on Android for a non-root user.
2016-12-14 11:52:28 +01:00
Xavier de Gaye
f852fff878
Issue #28759 : Merge 3.6.
2016-12-13 10:03:34 +01:00
Xavier de Gaye
3a4e989324
Issue #28759 : Fix the tests that fail with PermissionError when run as
...
a non-root user on Android where access rights are controled by SELinux MAC.
2016-12-13 10:00:01 +01:00
Serhiy Storchaka
26817a8490
Issue #28512 : Fixed setting the offset attribute of SyntaxError by
...
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
2016-12-11 14:44:21 +02:00
Serhiy Storchaka
8114f21668
Issue #28512 : Fixed setting the offset attribute of SyntaxError by
...
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
2016-12-11 14:43:18 +02:00
Serhiy Storchaka
8b58339eb2
Issue #28512 : Fixed setting the offset attribute of SyntaxError by
...
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
2016-12-11 14:39:01 +02:00
Xavier de Gaye
566ba3defd
Issue #26939 : Merge 3.6.
2016-12-08 11:09:54 +01:00
Xavier de Gaye
7522ef402c
Issue #26939 : Add the support.setswitchinterval() function to fix
...
test_functools hanging on the Android armv7 qemu emulator.
2016-12-08 11:06:56 +01:00
Serhiy Storchaka
43153e4d49
Issue #28847 : dbm.dumb now supports reading read-only files and no longer
...
writes the index file when it is not changed.
2016-12-07 11:02:18 +02:00
Serhiy Storchaka
520348e5c0
Issue #28847 : dbm.dumb now supports reading read-only files and no longer
...
writes the index file when it is not changed.
2016-12-07 11:00:06 +02:00
Serhiy Storchaka
028ace1ccb
Issue #28847 : dbm.dumb now supports reading read-only files and no longer
...
writes the index file when it is not changed.
2016-12-07 10:56:39 +02:00
Victor Stinner
d6958ac6c0
Add sys.getandroidapilevel()
...
Issue #28740 : Add sys.getandroidapilevel(): return the build time
API version of Android as an integer.
Function only available on Android.
2016-12-02 01:13:46 +01:00
Serhiy Storchaka
09285e019d
Issue #28666 : Try to fix removing readonly directories on Windows.
2016-11-20 20:04:54 +02:00
Serhiy Storchaka
ba7eb8da09
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories on Windows too.
2016-11-20 17:42:58 +02:00
Serhiy Storchaka
2ccb98800a
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories on Windows too.
2016-11-20 17:42:32 +02:00
Serhiy Storchaka
0e7dbe901c
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories.
2016-11-20 16:19:20 +02:00
Serhiy Storchaka
6770f8a487
Issue #28666 : Now test.support.rmtree is able to remove unwritable or
...
unreadable directories.
2016-11-20 16:16:06 +02:00
Serhiy Storchaka
9f64de8ba4
Issue #28666 : Fix removing readonly directories on Windows.
2016-11-20 20:36:51 +02:00
Serhiy Storchaka
bbfe6c3986
Issue #28666 : Fix removing readonly directories on Windows.
2016-11-20 20:04:54 +02:00
Xavier de Gaye
dfc13e069a
Issue 26931: Skip the test_distutils tests using a compiler executable
...
that is not found
2016-11-17 09:00:19 +01:00
Xavier de Gaye
d178e69ad8
Issue 28668: Merge 3.5
2016-11-15 17:03:12 +01:00
Xavier de Gaye
49e8f2d204
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
...
would raise ImportError
2016-11-15 16:57:52 +01:00
Xavier de Gaye
95aa56a6fb
Issue #26934 : Handle _ANDROID_API_LEVEL is None on Windows
2016-11-13 21:55:52 +01:00
Xavier de Gaye
6c5f21945a
Fix test_faulthandler on Android where raise() exits with 0
2016-11-13 20:46:46 +01:00
Terry Jan Reedy
fb5ce7eea1
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
...
Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang.
2016-09-05 00:01:34 -04:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Steve Dower
22d0698d3b
Adds test.support.PGO and skips tests that are not useful for PGO.
2016-09-06 19:38:15 -07:00
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
...
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Terry Jan Reedy
4847f3194d
Merge with 3.5
2016-09-05 00:01:47 -04:00
Victor Stinner
798d7fbad4
Merge 3.5 (script_helper)
2016-08-17 12:38:35 +02:00
Victor Stinner
7e6977a8bc
script_helper: kill the subprocess on error
...
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.
2016-08-17 12:29:58 +02:00
Xavier de Gaye
d141531eb5
Issue #27472 : Add test.support.unix_shell as the path to the default shell.
2016-07-22 12:15:29 +02:00
Xavier de Gaye
20bd3b070a
Issue #27027 : Added test.support.is_android that is True when this is an
...
Android build.
2016-07-10 18:20:15 +02:00
Serhiy Storchaka
bae75cf3fe
Issue #19527 : Fixed tests with defined COUNT_ALLOCS.
2016-07-03 22:30:49 +03:00
Serhiy Storchaka
a793037d80
Issue #19527 : Fixed tests with defined COUNT_ALLOCS.
2016-07-03 22:27:26 +03:00
Berker Peksag
a67d78e50c
Issue #18300 : Merge from 3.5
2016-06-24 09:29:21 +03:00
Berker Peksag
e495646a97
Issue #18300 : Set TERM='' by default in assert_python_*
2016-06-24 09:28:50 +03:00
Berker Peksag
4746080921
Issue #27289 : Merge from 3.5
2016-06-12 16:28:16 +03:00
Berker Peksag
c74cdc7170
Issue #27289 : Prevent test_urllib2net failures due to EOFError raised by ftplib
2016-06-12 16:27:48 +03:00
Serhiy Storchaka
ab479c49d3
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
2016-03-30 20:41:15 +03:00
Serhiy Storchaka
fbb1c5ee06
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
2016-03-30 20:40:02 +03:00
Victor Stinner
e40390473d
support.temp_dir(): call support.rmtree() instead of shutil.rmtree()
2016-03-24 17:42:10 +01:00
Serhiy Storchaka
2feb642585
Issue #26325 : Added test.support.check_no_resource_warning() to check that
...
no ResourceWarning is emitted.
2016-02-11 13:12:19 +02:00
Serhiy Storchaka
94a619d48b
Issue #26325 : Added test.support.check_no_resource_warning() to check that
...
no ResourceWarning is emitted.
2016-02-11 13:11:44 +02:00
Victor Stinner
9def284387
subprocess._optim_args_from_interpreter_flags()
...
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.
2016-01-18 12:15:08 +01:00
Gregory P. Smith
fcbdf9906b
* Re-fix issue #19284 : Don't generate the no-op -R command line
...
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.
2015-12-13 20:15:26 -08:00
Gregory P. Smith
6edadfc9ca
* Re-fix issue #19284 : Don't generate the no-op -R command line
...
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.
2015-12-13 20:09:42 -08:00
Martin Panter
36befa5b4c
Issue #25626 : Merge zlib fix from 3.5
2015-11-21 10:57:15 +00:00