cpython/Lib/test
Miss Islington (bot) 2614ed4c6e
bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663)
* bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes

Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and
TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by
default. Some test cases only apply to TLS 1.2. Other tests currently
fail because the threaded or async test servers stop after failure.

I'm going to address these issues when OpenSSL 1.1.1 reaches beta.

OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS
1.3. The feature is enabled by default for maximum compatibility with
broken middle boxes. Users should be able to disable the hack and CPython's test suite needs
it to verify default options.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 05d9fe32a1)

Co-authored-by: Christian Heimes <christian@python.org>
2018-02-27 00:17:49 -08:00
..
audiodata
capath bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
cjkencodings
crashers
data
decimaltestdata Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
dtracedata bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
eintrdata bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) 2017-11-12 17:31:07 +01:00
encoded_modules
imghdrdata
leakers
libregrtest bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) 2018-02-22 21:39:02 -08:00
test_asyncio bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663) 2018-02-27 00:17:49 -08:00
test_email bpo-27931: Fix email address header parsing error (#5329) 2018-01-29 13:07:44 -05:00
test_import closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
test_importlib bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503) 2018-02-02 19:49:25 -05:00
test_json bpo-24641: Improved error message for JSON unserializible keys. (#4364) 2017-11-25 17:38:20 +02:00
test_tools bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints (GH-4745) 2018-02-26 15:23:26 -08:00
test_warnings bpo-31975 (PEP 565): Show DeprecationWarning in __main__ (GH-4458) 2018-01-08 12:45:02 +10:00
tracedmodules
xmltestdata bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) 2017-09-25 01:27:34 -07:00
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.py bpo-28134: Auto-detect socket values from file descriptor (#1349) 2018-01-29 22:37:58 +01:00
allsans.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
ann_module.py
ann_module2.py
ann_module3.py
audiotest.au
audiotests.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr2.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr3.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect.py Fix a spelling mistake and tweak tense of output for test.bisect (GH-2683) 2017-07-12 12:04:25 -07:00
bytecode_helper.py
cfgparser.1 bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser subclasses. (#2662) 2017-07-12 14:05:32 -04:00
cfgparser.2
cfgparser.3
cmath_testcases.txt
coding20731.py Revert an invalid change to a test (from 6b4be19). (#1770) 2017-05-23 16:40:03 -07:00
curses_tests.py
datetimetester.py Test that new_timezone can return the UTC singleton (gh-5318) (#5819) 2018-02-22 16:18:54 -05:00
dh1024.pem
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt Fix minor typos (GH-1173) 2017-04-18 17:38:26 -07:00
final_a.py
final_b.py
floating_points.txt
fork_wait.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
idnsans.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py
keycert.passwd.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
keycert.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
keycert2.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
keycert3.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
keycert4.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
keycertecc.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
list_tests.py bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) 2017-12-03 22:12:11 +02:00
lock_tests.py bpo-32208: update threading.Semaphore docs and add unit test (#4709) 2017-12-07 20:04:26 +02:00
mailcap.txt
make_ssl_certs.py bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
mapping_tests.py bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) 2017-12-03 22:12:11 +02:00
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py bpo-28556: typing.get_type_hints: better globalns for classes and modules (#3582) 2017-09-14 14:33:00 -04:00
mp_fork_bomb.py
mp_preload.py Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. 2016-12-10 17:13:16 +01:00
multibytecodec_support.py Issue #28992: Use bytes.fromhex(). 2016-12-21 12:59:28 +02:00
nokia.pem
nullbytecert.pem
nullcert.pem
outstanding_bugs.py
pickletester.py bpo-32503: Avoid creating too small frames in pickles. (#5127) 2018-01-20 16:42:44 +02:00
profilee.py
pstats.pck
pycacert.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
pycakey.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py pythoninfo: add time.time and datetime.datetime.now (#5214) 2018-01-17 16:35:45 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py Issue #28950: Disallow -j0 combined with -T/-l in regrtest. 2016-12-19 22:00:22 +08:00
relimport.py
reperf.py
revocation.crl bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
selfsigned_pythontestdotnet.pem
seq_tests.py bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847) 2017-03-27 12:35:52 -07:00
sgml_input.html
signalinterproctester.py bpo-31479: Always reset the signal alarm in tests (#3588) 2017-09-19 09:36:54 -07:00
sortperf.py
ssl_cert.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
ssl_key.passwd.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
ssl_key.pem bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
ssl_servers.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
ssltests.py
string_tests.py bpo-32677: Optimize str.isascii() (GH-5356) 2018-01-28 09:59:12 +09:00
test___all__.py Issues #29273: Merge test___all__ from 3.5 2017-01-23 22:59:03 +00:00
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxsubinterpreters.py bpo-32604: Swap threads only if the interpreter is different. (gh-5783) 2018-02-20 17:09:41 -07:00
test_abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
test_abstract_numbers.py
test_aifc.py bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) 2018-02-20 14:06:58 -08:00
test_argparse.py bpo-26510: make argparse subparsers required by default (#3027) 2017-09-20 17:35:27 -04:00
test_array.py bpo-24700: Add a fast path for comparing array.array of equal type (#3009) 2017-08-17 14:46:06 +02:00
test_asdl_parser.py
test_ast.py bpo-31778: Make ast.literal_eval() more strict. (#4035) 2018-01-04 11:15:39 +02:00
test_asyncgen.py bpo-31708: Allow async generator expressions in synchronous functions (#3905) 2017-10-06 02:58:28 -04:00
test_asynchat.py bpo-31234: Add support.join_thread() helper (#3587) 2017-09-14 14:40:56 -07:00
test_asyncore.py bpo-32331: Fix socket.type when SOCK_NONBLOCK is available (#4877) 2017-12-18 20:02:54 -05:00
test_atexit.py bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
test_audioop.py bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal tuples. (#3119) 2017-08-20 18:35:36 +03:00
test_augassign.py
test_base64.py Add Python version since deprecation in base64 methods. (#33) 2017-03-02 17:21:26 +03:00
test_baseexception.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_bigaddrspace.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
test_bigmem.py
test_binascii.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
test_binhex.py
test_binop.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
test_bisect.py
test_bool.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_buffer.py bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007) 2017-10-16 10:38:14 +03:00
test_bufio.py
test_builtin.py bpo-27169: The __debug__ constant is now optimized out at compile time. (#4880) 2017-12-15 12:35:48 +02:00
test_bytes.py bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158) 2017-10-29 02:11:54 +03:00
test_bz2.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
test_c_locale_coercion.py bpo-32002: Refactor C locale coercion tests (GH-4369) 2017-12-16 21:51:19 +13:00
test_calendar.py Closes bpo-28281: Remove year (1-9999) limits on the weekday() function. (#4109) 2017-10-26 15:34:11 -04:00
test_call.py bpo-31229: Fixed wrong error messages when too many keyword arguments are received. (#3180) 2017-08-23 21:16:48 +03:00
test_capi.py bpo-32030: Rework memory allocators (#4625) 2017-11-29 17:20:38 +01:00
test_cgi.py bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991) 2017-05-08 05:08:34 -07:00
test_cgitb.py
test_charmapcodec.py
test_class.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_cmath.py
test_cmd.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
test_cmd_line.py bpo-32457: Improves handling of denormalized executable path when launching Python (GH-5756) 2018-02-22 11:15:16 -08:00
test_cmd_line_script.py bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899) 2017-06-14 14:34:50 -07:00
test_code.py bpo-32176: Set CO_NOFREE in the code object constructor (GH-4675) 2017-12-03 11:12:20 +10:00
test_code_module.py bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) 2017-10-27 21:45:19 -04:00
test_codeccallbacks.py bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325) 2018-01-31 17:02:12 -05:00
test_codecencodings_cn.py bpo-30003: Fix handling escape characters in HZ codec (#1556) 2017-05-22 22:42:05 +08:00
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_codecmaps_tw.py
test_codecs.py bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) 2017-12-13 12:29:09 +01:00
test_codeop.py
test_collections.py bpo-32792: Preserve mapping order in ChainMap() (GH-5586) (#GH-5617) 2018-02-11 01:09:52 -08:00
test_colorsys.py
test_compare.py
test_compile.py bpo-31113: Get rid of recursion in the compiler for normal control flow. (#3015) 2018-01-11 20:20:13 +02:00
test_compileall.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
test_complex.py bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798) 2017-03-24 21:28:43 +02:00
test_concurrent_futures.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
test_configparser.py bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420) 2017-11-02 15:47:04 +03:00
test_contains.py
test_context.py bpo-32436: Implement PEP 567 (#5027) 2018-01-22 19:11:18 -05:00
test_contextlib.py bpo-30306: release arguments of contextmanager (GH-1500) 2018-01-28 14:17:46 +10:00
test_contextlib_async.py bpo-29302: Implement contextlib.AsyncExitStack. (#4790) 2018-01-25 15:51:18 -05:00
test_copy.py
test_copyreg.py bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
test_coroutines.py bpo-32733: Make test_coroutines robust against -Werror (GH-5487) (GH-5490) 2018-02-01 21:57:28 -08:00
test_cprofile.py bpo-21862: Add -m option to cProfile for profiling modules (#4297) 2017-11-08 11:50:56 +01:00
test_crashers.py
test_crypt.py bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110) 2017-11-16 13:22:51 +02:00
test_csv.py bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5602) 2018-02-10 00:00:48 +02:00
test_ctypes.py
test_curses.py bpo-31924: Fix test_curses on NetBSD 8. (#4228) 2017-11-03 20:29:33 +02:00
test_dataclasses.py bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919) (GH-5920) 2018-02-26 20:59:55 -05:00
test_datetime.py bpo-31043: fixed test_datetime run twice. (GH-2891) 2017-07-26 19:46:17 +09:00
test_dbm.py
test_dbm_dumb.py bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832) 2018-02-26 06:25:40 -08:00
test_dbm_gnu.py bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832) 2018-02-26 06:25:40 -08:00
test_dbm_ndbm.py bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832) 2018-02-26 06:25:40 -08:00
test_decimal.py bpo-31234: Join threads in tests (#3572) 2017-09-14 08:43:04 -07:00
test_decorators.py
test_defaultdict.py bpo-27541: Reprs of subclasses of some classes now contain actual type name. (#3631) 2017-09-21 14:24:13 +03:00
test_deque.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_descr.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
test_descrtut.py
test_devpoll.py
test_dict.py bpo-31179: Make dict.copy() up to 5.5 times faster. (#3067) 2018-01-22 11:54:41 -05:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py bpo-18533: Avoid RecursionError from repr() of recursive dictview (#4823) 2018-01-26 07:46:01 -08:00
test_difflib.py
test_difflib_expect.html
test_dis.py bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181) 2018-01-29 16:41:04 -08:00
test_distutils.py
test_doctest.py bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) 2018-01-27 14:06:21 +09:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_dtrace.py bpo-32667: Fix tests when $PATH contains a file (#5322) 2018-01-25 19:06:05 +01:00
test_dummy_thread.py Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
test_dummy_threading.py Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py bpo-20891: Reenable test_embed.test_bpo20891() (GH-5420) 2018-01-29 14:04:44 +01:00
test_ensurepip.py bpo-31351: Set return code in ensurepip when pip fails (GH-3626) 2017-09-21 20:07:45 +10:00
test_enum.py bpo-31801: Enum: add _ignore_ as class option (#5237) 2018-01-22 07:56:37 -08:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_extcall.py bpo-31071: Avoid masking original TypeError in call with * unpacking (#2957) 2017-08-03 11:37:15 +03:00
test_faulthandler.py bpo-32101: Fix tests for PYTHONDEVMODE=1 (#4821) 2017-12-12 23:15:00 +01:00
test_fcntl.py remove support for BSD/OS (closes bpo-31624) (#3812) 2017-09-28 22:44:27 -07:00
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208) 2017-09-04 13:37:24 -04:00
test_fileio.py bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) 2017-03-19 19:25:29 +02:00
test_finalization.py
test_float.py bpo-31979: Simplify transforming decimals to ASCII (#4336) 2017-11-13 21:23:48 +02:00
test_flufl.py
test_fnmatch.py bpo-32775: Fix regular expression warnings in fnmatch. (GH-5583) (GH-5596) 2018-02-09 13:56:50 +02:00
test_fork1.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_format.py bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-546) 2017-03-14 15:07:15 +08:00
test_fractions.py
test_frame.py bpo-32468: Better frame repr() (#5067) 2017-12-31 22:35:22 +01:00
test_frozen.py Add a minimal unit test for Python/frozen.c. (#2995) 2017-12-02 13:54:00 -08:00
test_fstring.py bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800) 2017-09-06 17:27:58 -07:00
test_ftplib.py bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663) 2018-02-27 00:17:49 -08:00
test_funcattrs.py bpo-30486: Allow setting cell value (#1840) 2017-06-08 14:43:26 +03:00
test_functools.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_future.py String annotations [PEP 563] (#4390) 2018-01-26 08:20:18 -08:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495 (#5496) 2018-02-02 10:04:32 -05:00
test_gdb.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_generator_stop.py
test_generators.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
test_genericclass.py bpo-32226: Make __class_getitem__ an automatic class method. (#5098) 2018-01-05 00:21:41 +02:00
test_genericpath.py bpo-31802: Fix importing native path module before importing os. (#4017) 2018-01-07 17:54:31 +02:00
test_genexps.py
test_getargs2.py bpo-31373: remove overly strict float range checks (#3486) 2017-09-10 23:50:46 -07:00
test_getopt.py
test_getpass.py
test_gettext.py bpo-29755: Fixed the lgettext() family of functions in the gettext module. (#2266) 2017-06-20 17:13:29 +03:00
test_glob.py Use assertCountEqual instead of assertEqual. (#5223) 2018-01-17 14:57:57 -08:00
test_global.py Issue #28512: Fixed setting the offset attribute of SyntaxError by 2016-12-11 14:43:18 +02:00
test_grammar.py bpo-32482: Fix suspicious code in tests for syntax and grammar. (#5086) 2018-01-04 10:36:35 +02:00
test_grp.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_gzip.py bpo-28286: Add tests for the mode argument of GzipFile. (#4074) 2017-10-22 13:18:21 +03:00
test_hash.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_hashlib.py bpo-31787: Skip refleak check when _hashlib is not available (GH-5660) 2018-02-13 07:07:34 -08:00
test_heapq.py
test_hmac.py bpo-32433: Optimized HMAC digest (#5023) 2018-01-27 09:53:43 +01:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_httplib.py bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) 2017-11-15 17:53:28 +02:00
test_httpservers.py bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720) 2017-12-04 23:42:02 -05:00
test_idle.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_imaplib.py bpo-31399: Let OpenSSL verify hostname and IP address (#3462) 2018-01-27 15:51:38 +01:00
test_imghdr.py
test_imp.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
test_index.py
test_inspect.py bpo-32697: Definition order of kwonly params is now guaranteed preserved. (#5391) 2018-01-28 11:13:09 -08:00
test_int.py bpo-31619: Fixed a ValueError when convert a string with large number of underscores (#3827) 2017-10-03 14:13:44 +03:00
test_int_literal.py
test_io.py bpo-32228: Reset raw_pos after unwinding the raw stream (#4858) 2018-01-28 17:00:09 +01:00
test_ioctl.py
test_ipaddress.py bpo-20825: Containment test for ip_network in ip_network. 2017-10-22 23:39:49 +02:00
test_isinstance.py Remove outdated tests in test_isinstance (GH-1393) 2017-05-02 10:17:18 -07:00
test_iter.py
test_iterlen.py
test_itertools.py Add itertools recipe for directly finding the n-th combination (#5161) 2018-01-13 10:35:40 -08:00
test_keyword.py
test_keywordonlyarg.py Issue #18896: Python function can now have more than 255 parameters. 2016-12-16 19:19:02 +02:00
test_kqueue.py bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) 2017-10-12 22:17:46 +03:00
test_largefile.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_lib2to3.py
test_linecache.py
test_list.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_listcomps.py bpo-31027: Fix test_listcomps failure when run directly (#2939) 2017-07-29 12:05:55 -04:00
test_locale.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_logging.py bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
test_long.py bpo-29816: Shift operation now has less opportunity to raise OverflowError. (#680) 2017-03-30 09:47:07 +03:00
test_longexp.py
test_lzma.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
test_macpath.py bpo-9850: Deprecate the macpath module (#1540) 2017-05-15 11:01:21 +02:00
test_mailbox.py bpo-31627: Make test_mailbox be lenient to empty hostname. (#3821) 2017-09-30 17:10:57 +03:00
test_mailcap.py
test_marshal.py bpo-32011: Revert "Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal." (#4381) 2017-11-15 17:41:05 +02:00
test_math.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_memoryio.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
test_module.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
test_modulefinder.py
test_msilib.py bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539) 2017-11-24 18:11:18 +03:00
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_multiprocessing_spawn.py
test_netrc.py bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) 2017-11-25 13:37:22 +03:00
test_nis.py
test_nntplib.py bpo-32128: Skip test_nntplib.test_article_head_body() (#4552) 2017-11-25 02:42:18 +01:00
test_normalization.py bpo-29887: test_normalization handles PermissionError (#1196) 2017-04-20 02:39:59 +02:00
test_ntpath.py bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage now correctly convert from bytes. (GH-5761) 2018-02-22 11:02:12 -08:00
test_numeric_tower.py
test_opcodes.py bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
test_openpty.py
test_operator.py
test_optparse.py bpo-30397: Add re.Pattern and re.Match. (#1646) 2017-10-04 20:09:49 +03:00
test_ordered_dict.py bpo-18533: Avoid RecursionError from repr() of recursive dictview (#4823) 2018-01-26 07:46:01 -08:00
test_os.py bpo-29248: Fix os.readlink() on Windows (GH-5577) 2018-02-12 13:39:42 -08:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_pathlib.py bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) 2017-11-12 17:31:07 +01:00
test_pdb.py [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5510) 2018-02-04 18:07:16 +10:00
test_peepholer.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_pickle.py bpo-31993: Do not create frames for large bytes and str objects (#5114) 2018-01-11 13:03:20 +02:00
test_pickletools.py bpo-31993: Do not allocate large temporary buffers in pickle dump. (#4353) 2018-01-06 17:18:54 +02:00
test_pipes.py
test_pkg.py
test_pkgimport.py
test_pkgutil.py bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926) 2017-06-13 13:11:14 -04:00
test_platform.py bpo-32159: Remove tools for CVS and Subversion (#4615) 2017-11-28 22:29:32 +01:00
test_plistlib.py Fix implementation dependent assertion in test_plistlib. (#4813) 2017-12-12 19:03:08 +02:00
test_poll.py bpo-31334: Fix timeout in select.poll.poll() (GH-3277) 2017-10-17 12:45:07 -07:00
test_popen.py
test_poplib.py bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663) 2018-02-27 00:17:49 -08:00
test_posix.py bpo-20104: Expose `posix_spawn` in the os module (GH-5109) 2018-01-28 17:56:10 -08:00
test_posixpath.py
test_pow.py Issue #29156: Remove superfluous pow test. 2017-01-04 18:53:00 +02:00
test_pprint.py
test_print.py bpo-32685: Improve suggestion for print statement (GH-5375) 2018-01-28 20:56:02 +10:00
test_profile.py
test_property.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
test_pstats.py bpo-29237: Create enum for pstats sorting options (GH-5103) 2018-01-25 20:49:56 -08:00
test_pty.py bpo-31158: Fix nondeterministic read in test_pty (#3808) 2017-10-02 02:39:55 -07:00
test_pulldom.py
test_pwd.py bpo-26856: Skip test_pwd on Android until issue 32033 is fixed (GH-4561) 2017-11-25 17:32:27 +01:00
test_py_compile.py bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200) 2018-01-24 13:26:18 -08:00
test_pyclbr.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
test_pydoc.py bpo-32226: PEP 560: improve typing module (#4906) 2018-01-20 11:23:59 +00:00
test_pyexpat.py
test_queue.py bpo-14976: Reentrant simple queue (#3346) 2018-01-16 00:27:16 +01:00
test_quopri.py
test_raise.py bpo-30579: Allow TracebackType creation and tb_next mutation from Python (GH-4793) 2018-01-07 23:30:18 +10:00
test_random.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_range.py bpo-28876: bool of large range raises OverflowError (#699) 2017-03-20 08:44:46 +02:00
test_re.py bpo-32308: Replace empty matches adjacent to a previous non-empty match in re.sub(). (#4846) 2018-01-04 11:06:13 +02:00
test_readline.py Skip test_readline.test_nonascii() on C locale (#5203) 2018-01-16 17:34:34 +01:00
test_regrtest.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_repl.py bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160) 2017-11-12 16:50:48 +01:00
test_reprlib.py
test_resource.py bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
test_richcmp.py
test_rlcompleter.py
test_robotparser.py bpo-31325: Fix usage of namedtuple in RobotFileParser.parse() (#4529) 2017-11-23 15:40:26 -08:00
test_runpy.py
test_sax.py bpo-30264: ExpatParser closes the source on error (#1451) 2017-05-05 09:46:47 +02:00
test_sched.py bpo-31234: Add support.join_thread() helper (#3587) 2017-09-14 14:40:56 -07:00
test_scope.py
test_script_helper.py
test_secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py
test_selectors.py bpo-31479: Always reset the signal alarm in tests (#3588) 2017-09-19 09:36:54 -07:00
test_set.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_setcomps.py
test_shelve.py
test_shlex.py Fixed #29132: Updated shlex to work better with punctuation chars in POSIX mode. 2017-01-15 10:06:52 +00:00
test_shutil.py bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) 2017-11-12 17:31:07 +01:00
test_signal.py bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
test_site.py Use assertTrue() instead of deprecated assert_(). (GH-5526) (GH-5527) 2018-02-04 18:38:56 +02:00
test_slice.py
test_smtpd.py bpo-29639: change test.support.HOST to "localhost" 2017-09-09 00:30:15 -07:00
test_smtplib.py bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (#5451) 2018-01-31 17:01:31 -05:00
test_smtpnet.py bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058) 2017-09-15 20:27:30 +02:00
test_sndhdr.py
test_socket.py bpo-32394: Remove some TCP options on old version Windows. (GH-5523) 2018-02-26 10:36:17 -08:00
test_socketserver.py bpo-29184: Skip test_socketserver tests on PermissionError raised by Android (GH-4387) 2017-11-18 18:10:53 +01:00
test_sort.py bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
test_source_encoding.py
test_spwd.py
test_sqlite.py
test_ssl.py bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663) 2018-02-27 00:17:49 -08:00
test_startfile.py
test_stat.py bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) 2017-11-12 17:31:07 +01:00
test_statistics.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_strftime.py bpo-32139: test_strftime does not anymore modify the locale (GH-4569) 2017-11-29 11:36:48 +01:00
test_string.py bpo-31672: Restore the former behavior when override flags in Template. (#5099) 2018-01-04 19:20:11 +02:00
test_string_literals.py Fix warn_invalid_escape_sequence() 2016-11-15 09:12:10 +01:00
test_stringprep.py
test_strptime.py Fix when parsing tz offsets microseconds shorter than 6 (#4781) 2018-01-09 16:37:26 -05:00
test_strtod.py
test_struct.py Fix bytes warnings in test_struct (added in bpo-29802). (#4068) 2017-10-21 21:59:23 +03:00
test_structmembers.py
test_structseq.py
test_subclassinit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_subprocess.py bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) 2018-02-19 13:00:22 -08:00
test_sunau.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
test_sundry.py bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694) 2017-03-17 11:16:20 -07:00
test_super.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_support.py bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) 2018-02-22 21:39:02 -08:00
test_symbol.py
test_symtable.py Issue #28512: Fixed setting the offset attribute of SyntaxError by 2016-12-11 14:43:18 +02:00
test_syntax.py bpo-32482: Fix suspicious code in tests for syntax and grammar. (#5086) 2018-01-04 10:36:35 +02:00
test_sys.py bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) 2017-12-13 12:29:09 +01:00
test_sys_setprofile.py
test_sys_settrace.py bpo-32416: Add two new tests in test_sys_settrace. (#5072) 2018-01-01 19:39:38 +02:00
test_sysconfig.py Remove all mention of Windows IA-64 support (GH-3389) 2017-09-06 15:45:25 -07:00
test_syslog.py
test_tarfile.py bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434) 2018-02-26 16:50:09 -08:00
test_tcl.py bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866) 2017-10-03 22:39:55 +03:00
test_telnetlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_tempfile.py bpo-31160: test_tempfile: Fix reap_children() warning (#3056) 2017-08-10 13:05:06 +02:00
test_textwrap.py bpo-30603: add tests to textwrap.dedent (GH-2206) 2017-06-15 19:18:54 -07:00
test_thread.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_threaded_import.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threadedtempfile.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threading.py bpo-32593: Drop FreeBSD 9 and older support (#5232) 2018-01-22 18:32:50 +01:00
test_threading_local.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threadsignals.py bpo-31479: Always reset the signal alarm in tests (#3588) 2017-09-19 09:36:54 -07:00
test_time.py bpo-32025: Add time.thread_time() (#4410) 2017-11-15 22:52:21 +01:00
test_timeit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_timeout.py
test_tix.py
test_tk.py
test_tokenize.py bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
test_trace.py bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) 2018-02-16 22:53:24 -08:00
test_traceback.py bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014) 2017-10-18 00:29:39 +03:00
test_tracemalloc.py bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534) 2017-11-30 00:05:07 +01:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_turtle.py
test_typechecks.py
test_types.py bpo-32265: Classify class and static methods of builtin types. (#4776) 2017-12-15 14:13:41 +02:00
test_typing.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
test_ucn.py
test_unary.py
test_unicode.py bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) 2018-01-27 14:06:21 +09:00
test_unicode_file.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_unicode_file_functions.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_unicode_identifiers.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_unicodedata.py bpo-30736: upgrade to Unicode 10.0 (#2344) 2017-06-22 22:31:08 -07:00
test_unittest.py
test_univnewlines.py
test_unpack.py bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903) 2017-12-26 12:30:41 +02:00
test_unpack_ex.py bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903) 2017-12-26 12:30:41 +02:00
test_urllib.py Minor spell fix and formatting fixes in urllib tests. (#959) 2017-04-01 23:47:35 -07:00
test_urllib2.py Remove Invalid comment in test_urllib2.py (#1020) 2017-04-07 00:19:08 -07:00
test_urllib2_localnet.py bpo-31399: Let OpenSSL verify hostname and IP address (#3462) 2018-01-27 15:51:38 +01:00
test_urllib2net.py Use pythontest.net instead of debian.org in test_urllib2net (GH-2755) 2017-07-19 05:27:24 +03:00
test_urllib_response.py
test_urllibnet.py Remove unused variable in test_urllibnet. (#1598) 2017-05-15 23:08:07 -07:00
test_urlparse.py bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (#4867) 2017-12-21 14:16:17 +02:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py bpo-32652: Defer pymain_set_global_config() call (#5303) 2018-01-25 09:18:36 +01:00
test_utf8source.py
test_uu.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
test_uuid.py bpo-32502: Discard 64-bit (and other invalid) hardware addresses (#5254) 2018-01-23 20:11:44 -05:00
test_venv.py bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5765) 2018-02-19 17:45:02 -08:00
test_wait3.py
test_wait4.py
test_wave.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
test_weakref.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
test_weakset.py
test_webbrowser.py bpo-29645: Speed up importing the webbrowser module. (#484) 2017-03-08 17:15:54 +02:00
test_winconsoleio.py bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) 2018-02-24 09:39:18 -08:00
test_winreg.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_winsound.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_with.py bpo-32670: Enforce PEP 479. (#5327) 2018-01-26 15:24:24 -05:00
test_wsgiref.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_xml_etree_c.py bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (#3924) 2017-10-10 23:26:24 +03:00
test_xmlrpc.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_xmlrpc_net.py bpo-31724: Skip test_xmlrpc_net (GH-3921) 2017-10-08 01:31:23 -05:00
test_xxtestfuzz.py bpo-29505: Add fuzz tests for float(str), int(str), unicode(str) (#2878) 2017-09-06 11:15:35 -07:00
test_yield_from.py bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) 2017-11-15 17:53:28 +02:00
test_zipapp.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_zipfile.py bpo-22908: Add seek and tell functionality to ZipExtFile (GH-4966) 2018-01-30 00:51:35 -08:00
test_zipfile64.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
test_zipimport.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
test_zipimport_support.py
test_zlib.py bpo-32682: Improve libz version parsing in test_zilb (GH-5347) 2018-02-18 20:09:59 -08:00
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
win_console_handler.py
wrongcert.pem
xmltests.py
zip_cp437_header.zip
zipdir.zip