cpython/Lib/test
Miss Islington (bot) 2cdbd3b8b2
bpo-45001: Make email date parsing more robust against malformed input (GH-27946) (GH-27973)
Various date parsing utilities in the email module, such as
email.utils.parsedate(), are supposed to gracefully handle invalid
input, typically by raising an appropriate exception or by returning
None.

The internal email._parseaddr._parsedate_tz() helper used by some of
these date parsing routines tries to be robust against malformed input,
but unfortunately it can still crash ungracefully when a non-empty but
whitespace-only input is passed. This manifests as an unexpected
IndexError.

In practice, this can happen when parsing an email with only a newline
inside a ‘Date:’ header, which unfortunately happens occasionally in the
real world.

Here's a minimal example:

    $ python
    Python 3.9.6 (default, Jun 30 2021, 10:22:16)
    [GCC 11.1.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import email.utils
    >>> email.utils.parsedate('foo')
    >>> email.utils.parsedate(' ')
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python3.9/email/_parseaddr.py", line 176, in parsedate
        t = parsedate_tz(data)
      File "/usr/lib/python3.9/email/_parseaddr.py", line 50, in parsedate_tz
        res = _parsedate_tz(data)
      File "/usr/lib/python3.9/email/_parseaddr.py", line 72, in _parsedate_tz
        if data[0].endswith(',') or data[0].lower() in _daynames:
    IndexError: list index out of range

The fix is rather straight-forward: guard against empty lists, after
splitting on whitespace, but before accessing the first element.
(cherry picked from commit 989f6a3800)

Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
2021-08-26 17:48:20 +02:00
..
audiodata
capath [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
cjkencodings
crashers bpo-42734: Fix crasher bogus_code_obj.py (GH-23939) 2020-12-25 07:22:56 -08:00
data
decimaltestdata
dtracedata
eintrdata bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
encoded_modules
imghdrdata
leakers
libregrtest [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293) 2021-07-22 23:17:13 +02:00
sndhdrdata
subprocessdata
support bpo-44852: Support filtering over warnings without a set message (GH-27793) (GH-27810) 2021-08-18 14:10:39 +02:00
test_asyncio bpo-44968: Fix test_subprocess_wait_no_same_group in test_asyncio (GH-27870) 2021-08-21 13:29:18 -07:00
test_email bpo-45001: Make email date parsing more robust against malformed input (GH-27946) (GH-27973) 2021-08-26 17:48:20 +02:00
test_import bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:03:00 -07:00
test_importlib bpo-44070: No longer eagerly makes import filenames absolute, except for extension modules (GH-26025) 2021-05-10 23:45:50 +01:00
test_json bpo-40462: Fix typo in test_json (GH-20094) 2020-05-15 01:02:10 +02:00
test_peg_generator Disable peg generator tests when building with PGO (GH-23141) 2020-11-04 15:22:13 -08:00
test_tools [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_warnings [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_zoneinfo [3.9] bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734) (GH-22039) 2020-10-10 10:09:09 +05:30
tracedmodules
xmltestdata Add correct license for C14N test suite to license docs. (GH-13055) 2019-05-02 22:11:04 +02:00
ziptestdata bpo-28494: Test existing zipfile working behavior. (GH-15853) 2019-09-10 09:14:11 -07:00
__init__.py
__main__.py
_test_multiprocessing.py bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (GH-26989) 2021-07-01 21:35:31 -07:00
_typed_dict_helper.py [3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (GH-27205) 2021-07-17 11:36:38 +02:00
allsans.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
ann_module.py bpo-37838: get_type_hints for wrapped functions with forward reference (GH-17126) 2019-11-21 17:24:58 +00:00
ann_module2.py
ann_module3.py
audiotest.au
audiotests.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
audit-tests.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26971) 2021-06-30 18:52:39 +01:00
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py
bad_getattr2.py
bad_getattr3.py
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_cmd.py bpo-40003: test.bisect_cmd copies Python options (GH-19246) 2020-03-31 17:25:56 +02:00
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) 2020-04-18 17:52:48 +03:00
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py
dataclass_module_1_str.py
dataclass_module_2.py
dataclass_module_2_str.py
dataclass_textanno.py bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518) 2019-12-09 15:54:20 +01:00
datetimetester.py bpo-43295: Fix error handling of datetime.strptime format string '%z' (GH-24627) (#25695) 2021-05-19 20:37:49 -04:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131) 2019-08-25 23:45:40 +10:00
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py bpo-40094: Enhance fork and wait tests (GH-19259) 2020-03-31 21:46:40 +02:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
ieee754.txt
imp_dummy.py
inspect_fodder.py bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) 2020-12-04 12:20:05 -08:00
inspect_fodder2.py bpo-35113: Fix inspect.getsource to return correct source for inner classes (#10307) 2020-04-18 21:49:32 +05:30
keycert.passwd.pem bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
keycert.pem
keycert2.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
keycert3.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
keycert4.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
keycertecc.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
list_tests.py bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904) 2019-08-04 14:12:48 +03:00
lock_tests.py bpo-40089: Add _at_fork_reinit() method to locks (GH-19195) 2020-04-07 23:11:49 +02:00
mailcap.txt
make_ssl_certs.py [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
mapping_tests.py bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157) 2019-06-06 03:13:08 -07:00
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py [3.9] bpo-42756: Configure LMTP Unix-domain socket to use global default timeout when timeout not provided (GH-23969) (GH-24050) 2021-01-02 12:44:04 +09:00
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py bpo-41944: No longer call eval() on content received via HTTP in the CJK codec tests (GH-22566) 2020-10-06 05:37:36 -07:00
nokia.pem
nosan.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
nullbytecert.pem
nullcert.pem
pickletester.py bpo-42809: Improve pickle tests for recursive data. (GH-24060) 2021-01-02 09:53:46 -08:00
profilee.py
pstats.pck
pycacert.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
pycakey.pem [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() (GH-19703) 2020-04-29 09:04:22 -07:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py bpo-36528: Remove duplicate re tests. (GH-2689) 2019-09-11 17:02:34 +01:00
recursion.tar [3.9] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (GH-21482) 2020-07-15 05:30:33 -07:00
regrtest.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
relimport.py
reperf.py
revocation.crl [3.9] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25451) 2021-04-17 11:35:24 +02:00
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) 2019-05-08 09:35:09 -07:00
seq_tests.py bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904) 2019-08-04 14:12:48 +03:00
sgml_input.html
signalinterproctester.py bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) 2019-12-11 11:30:03 +01:00
Sine-1000Hz-300ms.aif
sortperf.py Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
ssl_cert.pem
ssl_key.passwd.pem bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
ssl_key.pem
ssl_servers.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
ssltests.py
string_tests.py bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939) 2020-04-22 23:05:48 +02:00
talos-2019-0758.pem bpo-35746: Fix segfault in ssl's cert parser (GH-11569) 2019-01-15 14:47:42 -08:00
test___all__.py bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) 2020-04-24 11:19:46 -07:00
test___future__.py
test__locale.py bpo-38324: Fix test__locale.py Windows failures (GH-20529) 2020-10-20 05:07:14 -07:00
test__opcode.py
test__osx_support.py bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) 2020-04-22 03:44:10 -04:00
test__xxsubinterpreters.py To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240) (GH-27453) 2021-07-29 19:28:22 +02:00
test_abc.py bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034) (GH-26063) 2021-05-12 14:45:18 +01:00
test_abstract_numbers.py
test_aifc.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
test_argparse.py [3.9] bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672) (GH-27788) 2021-08-17 11:17:00 +02:00
test_array.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_asdl_parser.py bpo-39638: Keep ASDL signatures in the AST nodes (GH-18515) 2020-03-16 10:12:53 +02:00
test_ast.py [3.9] bpo-11105: reduce the recursion limit for tests. (GH-26605) 2021-06-08 20:39:47 +03:00
test_asyncgen.py bpo-39764: Make Task.get_stack accept ag_frame (#18669) 2020-03-02 14:45:54 +02:00
test_asynchat.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_asyncore.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_atexit.py
test_audioop.py
test_audit.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26971) 2021-06-30 18:52:39 +01:00
test_augassign.py
test_base64.py bpo-39351: Remove base64.encodestring() (GH-18022) 2020-01-16 10:24:16 +01:00
test_baseexception.py
test_bdb.py bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136) 2020-06-25 04:41:42 -07:00
test_bigaddrspace.py bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302) 2019-09-09 08:20:40 -07:00
test_bigmem.py
test_binascii.py bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276) 2020-01-30 09:56:40 +01:00
test_binhex.py [3.9] bpo-29566: binhex.binhex now consitently writes MacOS 9 line endings. (GH-23059) (GH-23071) 2020-11-01 01:39:26 -08:00
test_binop.py
test_bisect.py
test_bool.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_buffer.py bpo-39689: Do not test undefined casts to _Bool (GH-18964) 2020-03-12 19:35:38 +01:00
test_bufio.py
test_builtin.py bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
test_bytes.py bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208) (#24211) 2021-04-26 21:39:51 +02:00
test_bz2.py bpo-44439: BZ2File.write()/LZMAFile.write() handle length correctly (GH-26846) 2021-06-22 16:57:41 +03:00
test_c_locale_coercion.py bpo-41700: Skip test if the locale is not supported (GH-22081) (GH-22085) 2020-09-04 18:55:25 +09:00
test_calendar.py
test_call.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_capi.py [3.9] bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904) (GH-27910) 2021-08-23 20:48:04 +02:00
test_cgi.py [3.9] bpo-42967: only use '&' as a query string separator (GH-24297) (#24528) 2021-02-15 10:03:31 -08:00
test_cgitb.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_charmapcodec.py
test_check_c_globals.py bpo-36876: Re-organize the c-analyzer tool code. (gh-16841) 2019-10-18 19:00:04 -07:00
test_class.py Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246) 2019-11-19 21:34:03 +00:00
test_clinic.py bpo-42398: Fix "make regen-all" race condition (GH-23362) (GH-23367) 2020-11-18 17:11:09 +01:00
test_cmath.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_cmd.py
test_cmd_line.py bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) 2021-03-17 14:11:14 -07:00
test_cmd_line_script.py bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206) 2020-09-11 23:45:34 -07:00
test_code.py bpo-44980: fix test_constructor to return None value (GH-27898) (GH-27914) 2021-08-23 21:20:29 +02:00
test_code_module.py
test_codeccallbacks.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_codecencodings_cn.py
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
test_codecmaps_tw.py
test_codecs.py bpo-42065: Fix incorrectly formatted _codecs.charmap_decode error message (GH-19940) 2020-10-18 09:00:18 +03:00
test_codeop.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:03:00 -07:00
test_collections.py bpo-44704: Make Set._hash consistent with frozenset.__hash__ (GH-27281) (GH-27283) 2021-07-21 19:23:38 -05:00
test_colorsys.py
test_compare.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_compile.py bpo-41531: Fix compilation of dict literals with more than 0xFFFF elements (GH-21850) (GH-22107) 2020-09-05 00:38:50 +01:00
test_compileall.py [3.9] bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int (GH-19708) 2021-08-24 11:07:31 -04:00
test_complex.py bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) (GH-27797) 2021-08-17 18:38:39 +01:00
test_concurrent_futures.py bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH-20962) 2020-06-18 17:19:59 +02:00
test_configparser.py
test_contains.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_context.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) 2020-04-14 16:14:15 -07:00
test_contextlib.py [3.9] bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024). (#27269) 2021-07-20 21:12:58 +02:00
test_contextlib_async.py [3.9] bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024). (#27269) 2021-07-20 21:12:58 +02:00
test_copy.py bpo-38293: Allow shallow and deep copying of property objects (GH-16438) 2020-01-12 09:41:49 -08:00
test_copyreg.py
test_coroutines.py bpo-44469: Fix tests for "async with" with bad object (GH-26817) 2021-06-21 00:54:04 -07:00
test_cprofile.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_crashers.py [3.9] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21275) 2020-07-02 10:05:16 +03:00
test_crypt.py bpo-25172: Reduce scope of crypt import tests (GH-17881) 2020-01-09 09:00:29 -08:00
test_csv.py bpo-44630: Fix assertion errors in csv module (GH-27127) 2021-07-13 16:20:28 -07:00
test_ctypes.py
test_curses.py bpo-43659: Fix test_curses on AIX (GH-25074) 2021-03-29 12:31:01 -07:00
test_dataclasses.py bpo-43176: Fix processing of empty dataclasses (GH-24484) (GH-25205) 2021-04-06 09:46:30 -04:00
test_datetime.py
test_dbm.py [3.9] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21275) 2020-07-02 10:05:16 +03:00
test_dbm_dumb.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) 2019-03-05 10:05:57 +02:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py [3.9] bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) (GH-27629) 2021-08-06 15:35:11 +02:00
test_decorators.py bpo-39702: Relax grammar restrictions on decorators (PEP 614) (GH-18570) 2020-03-03 14:25:44 -08:00
test_defaultdict.py bpo-36144: Implement defaultdict union (GH-18729) 2020-03-06 09:24:08 -08:00
test_deque.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:03:00 -07:00
test_descr.py bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844) (GH-23850) 2020-12-18 17:17:32 -08:00
test_descrtut.py bpo-39481: Implementation for PEP 585 (#18239) 2020-04-07 09:50:06 -07:00
test_devpoll.py closes bpo-37252: Fix devpoll tests. (GH-14017) 2019-09-11 14:42:04 +01:00
test_dict.py bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
test_dict_version.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_dictcomps.py bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_dictviews.py bpo-38202: Fix a crash in dict_view & non-itearble. (GH-16241) 2019-10-13 14:49:05 +03:00
test_difflib.py bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742) 2020-04-29 22:42:45 -05:00
test_difflib_expect.html
test_dis.py bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 2020-01-14 10:12:45 +00:00
test_distutils.py Fix so that test.test_distutils can be executed by unittest and not just regrtest (GH-13480) 2020-01-27 07:08:39 -05:00
test_doctest.py bpo-40636: Clarify the zip built-in docstring. (GH-20118) 2020-05-15 14:26:00 -07:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py [3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480) 2021-07-30 16:34:04 +02:00
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py Fix typos in docs, comments and test assert messages (#14872) 2019-07-21 16:12:33 -04:00
test_embed.py bpo-44441: _PyImport_Fini2() resets PyImport_Inittab (GH-26874) (GH-26878) 2021-06-23 17:47:33 +02:00
test_ensurepip.py bpo-40448: ensurepip: Do not use cache (GH-19812) 2020-06-15 10:48:44 -07:00
test_enum.py [Enum] improve pickle support (#26666) 2021-06-11 01:26:32 -07:00
test_enumerate.py bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
test_eof.py bpo-40985: Show correct SyntaxError text when last line has a LINECONT (GH-20888) 2020-06-15 17:46:44 -07:00
test_epoll.py bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) 2020-12-17 00:03:50 -08:00
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py [3.9] Fix the test suite for the old parser (GH-27749) 2021-08-13 12:26:07 +02:00
test_extcall.py Make sure that keyword arguments are merged into the arguments dictionary when dict unpacking and keyword arguments are interleaved. (GH-20553) (GH-20569) 2020-06-01 17:07:32 +01:00
test_faulthandler.py bpo-39882: Py_FatalError() logs the function name (GH-18819) 2020-03-07 00:54:20 +01:00
test_fcntl.py bpo-22367: Update test_fcntl.py for spawn process mode (#17154) 2019-11-19 09:12:42 +01:00
test_file.py bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) (GH-27698) 2021-08-10 15:09:42 +02:00
test_file_eintr.py
test_filecmp.py
test_fileinput.py bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767) 2020-03-04 18:50:22 +01:00
test_fileio.py bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701/GH-22702) 2020-10-14 20:38:25 -07:00
test_float.py bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) (GH-27855) 2021-08-20 12:37:41 +01:00
test_flufl.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_fnmatch.py bpo-40480: restore ability to join fnmatch.translate() results (GH-20049) 2020-05-11 21:19:20 -05:00
test_fork1.py bpo-40094: Enhance fork and wait tests (GH-19259) 2020-03-31 21:46:40 +02:00
test_format.py bpo-42224: Fix test_format when locale does not expect number grouping (GH-23067) 2020-11-02 17:51:56 +02:00
test_fractions.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_frame.py bpo-40462: fix variable and function names (GH-19832) 2020-05-01 05:49:35 -07:00
test_frozen.py
test_fstring.py [3.9] Fix the test suite for the old parser (GH-27749) 2021-08-13 12:26:07 +02:00
test_ftplib.py bpo-43285 Make ftplib not trust the PASV response. (GH-24838) 2021-03-15 12:02:45 -07:00
test_funcattrs.py bpo-35911: add cell constructor (GH-11771) 2019-02-07 19:36:48 +00:00
test_functools.py bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27641) 2021-08-06 14:57:52 -05:00
test_future.py bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156) 2020-05-18 19:23:48 +01:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py bpo-44184: Fix subtype_dealloc() for freed type (GH-26274) 2021-07-15 16:36:51 -07:00
test_gdb.py bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637) 2020-12-04 07:47:44 -08:00
test_generator_stop.py
test_generators.py bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (GH-17658) (GH-27573) 2021-08-03 12:10:54 +02:00
test_genericalias.py bpo-42195: Override _CallableGenericAlias's __getitem__ (GH-23915) 2020-12-23 19:07:51 -08:00
test_genericclass.py bpo-36679: Rename duplicate test_class_getitem function (GH-12892) 2019-04-22 11:51:06 -07:00
test_genericpath.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_genexps.py bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_getargs2.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_getopt.py
test_getpass.py
test_gettext.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_glob.py bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) 2019-09-12 13:54:48 +01:00
test_global.py
test_grammar.py bpo-40618: Disallow invalid targets in augassign and except clauses (GH-20083) 2020-05-14 21:13:50 +01:00
test_graphlib.py bpo-17005: Move topological sort functionality to its own module (GH-20558) 2020-05-31 17:01:37 -07:00
test_grp.py
test_gzip.py bpo-43316: gzip: Fix sys.exit() usage. (GH-24652) 2021-02-25 18:36:27 -08:00
test_hash.py
test_hashlib.py bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980) 2020-11-17 07:01:55 -08:00
test_heapq.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:03:00 -07:00
test_hmac.py [3.9] bpo-40791: Use CRYPTO_memcmp() for compare_digest (GH-20456) (GH-20461) 2020-05-28 05:09:38 -07:00
test_html.py
test_htmlparser.py bpo-41748: Handles unquoted attributes with commas (GH-24072) 2021-02-01 12:54:43 -08:00
test_http_cookiejar.py bpo-38804: Fix REDoS in http.cookiejar (GH-17157) 2019-11-22 15:22:11 +01:00
test_http_cookies.py
test_httplib.py bpo-44022: Improve the regression test. (GH-26503) 2021-06-02 21:10:22 -07:00
test_httpservers.py bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) (#27170) 2021-07-15 22:09:55 +02:00
test_idle.py [3.9] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23853) 2020-12-19 13:08:07 +02:00
test_imaplib.py bpo-40964: disable remote IMAP tests (GH-20836) 2020-06-12 15:06:20 -04:00
test_imghdr.py
test_imp.py bpo-35321: Set the spec origin to frozen in frozen modules (#11732) 2019-02-04 16:56:26 -08:00
test_index.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_inspect.py bpo-40897:Give priority to using the current class constructor in inspect.signature (GH-27177) (GH-27209) 2021-07-17 10:36:31 +02:00
test_int.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_int_literal.py
test_io.py bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592) 2021-02-22 10:32:55 +09:00
test_ioctl.py bpo-15999: Clean up of handling boolean arguments. (GH-15610) 2019-09-01 12:16:51 +03:00
test_ipaddress.py bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099) (GH-25815) 2021-05-02 15:49:03 +02:00
test_isinstance.py [3.9] bpo-41909: Enable previously disabled recursion checks. (GH-22536) (GH-22550) 2020-10-05 01:27:38 +03:00
test_iter.py bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) 2020-06-22 01:20:56 -07:00
test_iterlen.py
test_itertools.py bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
test_keyword.py [3.9] bpo-40939: Fix test_keyword for the old parser (GH-20814) 2020-06-11 19:29:13 +01:00
test_keywordonlyarg.py
test_kqueue.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_largefile.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_lib2to3.py [3.9] bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (GH-22595) (GH-22609) 2020-10-09 11:08:42 +01:00
test_linecache.py bpo-25872: Add unit tests for linecache and threading (GH-25913) (GH-26211) 2021-05-18 15:25:38 +01:00
test_list.py bpo-39453: Add testcase for bpo-39453 (GH-18202) 2020-01-27 09:04:25 -08:00
test_listcomps.py bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814) 2020-02-12 12:18:59 +02:00
test_lltrace.py
test_locale.py bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (GH-25110) (GH-25112) 2021-03-31 13:52:14 +02:00
test_logging.py bpo-43961: Fix test_logging.test_namer_rotator_inheritance() (GH-25684) (GH-25688) 2021-04-28 17:28:15 +02:00
test_long.py bpo-27145: small_ints[x] could be returned in long_add and long_sub (GH-15716) 2019-11-26 16:54:49 +09:00
test_longexp.py
test_lzma.py bpo-44439: BZ2File.write()/LZMAFile.write() handle length correctly (GH-26846) 2021-06-22 16:57:41 +03:00
test_mailbox.py [3.9] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21275) 2020-07-02 10:05:16 +03:00
test_mailcap.py
test_marshal.py Add more tests for preserving identity in marshal. (GH-13736) 2019-06-02 09:03:59 +03:00
test_math.py bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) 2020-03-14 10:45:32 +00:00
test_memoryio.py
test_memoryview.py
test_metaclass.py bpo-40147: Move the check for duplicate keywords to the compiler (GH-19289) 2020-04-03 20:37:13 +01:00
test_mimetypes.py bpo-41048: mimetypes should read the rule file using UTF-8, not the locale encoding (GH-20998) 2020-06-29 05:07:31 -07:00
test_minidom.py bpo-37534: Allow adding Standalone Document Declaration when generating XML documents (GH-14912) 2020-02-29 09:22:19 +01:00
test_mmap.py bpo-34953: Implement mmap.mmap.__repr__ (GH-9891) 2019-10-17 18:41:35 +08:00
test_module.py bpo-39489: Remove COUNT_ALLOCS special build (GH-18259) 2020-02-03 15:17:15 +01:00
test_modulefinder.py bpo-41040: Fix test_modulefinder. (GH-20991) 2020-06-19 14:26:00 -07:00
test_msilib.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH-20962) 2020-06-18 17:19:59 +02:00
test_multiprocessing_spawn.py
test_named_expressions.py [3.9] bpo-43272: Fix old parser test failures for backported grammar constructs (GH-24591) 2021-02-20 01:36:15 +00:00
test_netrc.py bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) 2019-03-12 08:39:57 -07:00
test_nis.py
test_nntplib.py bpo-42794: Update test_nntplib to use offical group name for testing (GH-24037) 2021-01-01 06:42:43 -08:00
test_ntpath.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_numeric_tower.py
test_opcodes.py bpo-16806: Fix lineno and col_offset for multi-line string tokens (GH-10021) 2019-01-13 13:05:13 +09:00
test_openpty.py
test_operator.py [3.9] bpo-44558: Match countOf is/== treatment to c (GH-27007). (GH-27055) 2021-07-07 23:55:22 +09:00
test_optparse.py
test_ordered_dict.py bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
test_os.py bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (GH-24172) (GH-24278) 2021-01-21 11:46:35 +01:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py bpo-40443: Remove unused imports in tests (GH-19805) 2020-04-30 01:48:37 +02:00
test_pathlib.py bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) (#27422) 2021-07-28 17:15:51 +02:00
test_pdb.py [3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27400) 2021-07-28 18:48:52 -04:00
test_peepholer.py bpo-42057: Add a test case (GH-22878) 2020-10-22 11:28:36 +09:00
test_peg_parser.py [3.9] bpo-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729) (GH-27744) 2021-08-12 18:46:35 +01:00
test_pickle.py bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (#27557) 2021-08-02 18:39:25 +02:00
test_picklebuffer.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_pickletools.py bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
test_pipes.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_pkg.py
test_pkgutil.py bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path object (GH-25964) (GH-26052) 2021-05-12 11:48:50 +02:00
test_platform.py [3.9] bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for all but processor) (GH-23010) (#24232) 2021-01-16 14:45:30 -05:00
test_plistlib.py bpo-42103: Improve validation of Plist files. (GH-22882) 2020-11-02 13:34:46 -08:00
test_poll.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_popen.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
test_poplib.py bpo-40275: Move requires_hashdigest() to test.support.hashlib_helper (GH-19716) 2020-04-29 03:11:29 +02:00
test_positional_only_arg.py Raise specialised syntax error for invalid lambda parameters (GH-20776) 2020-06-10 06:24:41 -07:00
test_posix.py bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (GH-24341) (GH-24410) 2021-01-31 23:22:48 -05:00
test_posixpath.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_pow.py bpo-36027: Extend three-argument pow to negative second argument (GH-13266) 2019-06-02 10:24:06 +01:00
test_pprint.py Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
test_print.py
test_profile.py bpo-40492: Fix --outfile with relative path when the program changes it working dir (GH-19910) 2020-10-19 00:16:22 +03:00
test_property.py bpo-19072: Make @classmethod support chained decorators (GH-8405) 2019-08-24 15:37:25 -07:00
test_pstats.py bpo-41811: create SortKey members using first given value (GH-22316) (GH-22325) 2020-09-19 12:56:13 -07:00
test_pty.py bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) 2020-04-03 00:40:25 +02:00
test_pulldom.py
test_pwd.py bpo-32033: Fix test_pwd failures on Android (GH-19502) 2020-04-14 20:11:46 +02:00
test_py_compile.py bpo-38731: Fix NameError in command-line interface of py_compile (GH-21617) 2020-07-25 23:43:47 +03:00
test_pyclbr.py bpo-38866: Remove asyncore from test_pyclbr.py (GH-17316) 2019-11-22 21:51:58 +09:00
test_pydoc.py bpo-42988: Remove the pydoc getfile feature (GH-25015) 2021-03-29 06:08:00 -07:00
test_pyexpat.py bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622) 2019-09-01 12:11:43 +03:00
test_queue.py bpo-38614: Use default join_thread() timeout in tests (GH-17559) 2019-12-10 20:41:23 +01:00
test_quopri.py
test_raise.py bpo-37069: tests use catch_unraisable_exception() (GH-13762) 2019-06-03 03:51:43 +02:00
test_random.py bpo-44018: random.seed() no longer mutates its inputs (GH-25856) (GH-25864) 2021-05-03 16:36:14 -07:00
test_range.py bpo-39200: Correct the error message for range() empty constructor (GH-17813) 2020-01-05 17:30:53 +00:00
test_re.py bpo-40443: Remove unused imports in tests (GH-19805) 2020-04-30 01:48:37 +02:00
test_readline.py bpo-44949: Fix test_readline auto history tests (GH-27813) (GH-27822) 2021-08-19 12:35:28 +02:00
test_regrtest.py [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293) 2021-07-22 23:17:13 +02:00
test_repl.py bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) (GH-20785) 2020-06-10 19:24:56 +02:00
test_reprlib.py
test_resource.py bpo-31904: Port test_resource to VxWorks (GH-12719) 2019-04-17 17:41:33 +02:00
test_richcmp.py
test_rlcompleter.py bpo-44752: Make rlcompleter not call @property methods (GH-27401) (#27445) 2021-07-29 15:53:39 +02:00
test_robotparser.py bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) 2020-04-29 10:36:20 +03:00
test_runpy.py [3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (GH-21956) (#22397) 2020-09-24 16:34:21 +02:00
test_sax.py bpo-37421: urllib.request tests call urlcleanup() (GH-14529) 2019-07-02 14:50:19 +02:00
test_sched.py bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) 2019-12-11 11:30:03 +01:00
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_selectors.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_set.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:03:00 -07:00
test_setcomps.py bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814) 2020-02-12 12:18:59 +02:00
test_shelve.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_shlex.py bpo-33262: Deprecate passing None for s to shlex.split() (GH-6514) 2020-04-01 09:58:55 -04:00
test_shutil.py [3.9] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27267) 2021-07-20 11:44:58 -07:00
test_signal.py bpo-43406: Fix test_signal.test_stress_modifying_handlers() (GH-24815) (GH-24817) 2021-03-10 16:10:57 +01:00
test_site.py bpo-36160: Fix test_site so that it can run independently of other tests (GH-12131) (GH-26263) 2021-05-20 11:41:43 +01:00
test_slice.py
test_smtpd.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_smtplib.py bpo-27820: Fix AUTH LOGIN logic in smtplib.SMTP (GH-24118) (#24832) 2021-03-12 16:15:23 -08:00
test_smtpnet.py bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) 2020-04-29 10:36:20 +03:00
test_sndhdr.py
test_socket.py bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548) 2021-05-04 14:03:48 -07:00
test_socketserver.py [3.9] bpo-37193: Remove thread objects which finished process its request (GH-23127) (GH-24750) 2021-03-04 08:36:41 -08:00
test_sort.py bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) 2019-03-25 00:25:37 -07:00
test_source_encoding.py bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) 2020-05-12 12:42:04 +03:00
test_spwd.py
test_sqlite.py
test_ssl.py bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) 2021-06-24 05:25:41 -07:00
test_startfile.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_stat.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_statistics.py bpo-40855: Fix ignored mu and xbar parameters (GH-20835) (#GH-20862) 2020-06-13 16:56:15 -07:00
test_strftime.py
test_string.py
test_string_literals.py bpo-40334: Fix error location upon parsing an invalid string literal (GH-19962) 2020-05-07 11:37:51 +01:00
test_stringprep.py
test_strptime.py bpo-37552: Skip failing tests in strptime/strftime with UCRT version 17763.615 (#14460) 2019-07-18 15:56:59 +02:00
test_strtod.py
test_struct.py bpo-35714: Reject null characters in struct format strings (GH-16928) 2020-05-26 00:04:59 -07:00
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py [3.9] bpo-43776: Remove list call from args in Popen repr (GH-25338) (GH-26510) 2021-06-02 21:15:26 -07:00
test_sunau.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
test_sundry.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_super.py
test_support.py [3.9] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest (GH-27634) (GH-27785) 2021-08-16 22:47:08 +02:00
test_symbol.py bpo-35683: Improve Azure Pipelines steps (GH-11493) 2019-01-22 10:49:52 -08:00
test_symtable.py [3.9] bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391). (GH-22528) 2020-10-03 21:23:03 +01:00
test_syntax.py [3.9] bpo-44947: Refine the syntax error for trailing commas in import statements (GH-27814) (GH-27817) 2021-08-18 23:03:59 +02:00
test_sys.py [3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 (#25179) 2021-04-04 13:02:29 +02:00
test_sys_setprofile.py bpo-36994: add test for profiling method_descriptor with **kwargs (GH-13461) 2019-05-22 22:05:02 +12:00
test_sys_settrace.py Set line number of END_ASYNC_FOR so that it doesn't show in traces. (GH-27255) 2021-07-20 12:09:56 +02:00
test_sysconfig.py bpo-39825: Fixes sysconfig.get_config_var('EXT_SUFFIX') on Windows to match distutils (GH-22088) 2020-12-07 09:56:44 -08:00
test_syslog.py
test_tabnanny.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_tarfile.py bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) (GH-27674) 2021-08-09 12:30:00 +02:00
test_tcl.py bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) 2021-07-13 22:44:08 -07:00
test_telnetlib.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_tempfile.py bpo-40443: Remove unused imports in tests (GH-19805) 2020-04-30 01:48:37 +02:00
test_textwrap.py
test_thread.py bpo-40094: Enhance threading tests (GH-19260) 2020-03-31 21:49:44 +02:00
test_threadedtempfile.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_threading.py bpo-25872: Add unit tests for linecache and threading (GH-25913) (GH-26211) 2021-05-18 15:25:38 +01:00
test_threading_local.py test_threading_local: add missing "import sys" (GH-8049) 2019-01-06 23:10:55 +01:00
test_threadsignals.py
test_time.py [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) 2020-11-22 11:18:40 +01:00
test_timeit.py
test_timeout.py bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) 2020-04-29 10:36:20 +03:00
test_tix.py
test_tk.py
test_tokenize.py bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27501) 2021-08-02 11:44:01 +02:00
test_trace.py bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) 2020-06-28 03:52:26 -07:00
test_traceback.py [3.9] bpo-43048: RecursionError traceback RecursionError bugfix for cpy3.9 (GH-24460) (#24460) 2021-07-12 17:58:47 +02:00
test_tracemalloc.py bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805) 2020-12-16 14:01:14 -08:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py Fix syntax warnings in tests introduced in bpo-15248. (GH-11932) 2019-02-19 13:49:09 +02:00
test_turtle.py bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362) 2021-07-26 17:56:13 +02:00
test_type_comments.py bpo-40493: fix function type comment parsing (GH-19894) 2020-05-03 22:08:14 -07:00
test_typechecks.py
test_types.py bpo-39075: types.SimpleNamespace no longer sorts attributes in its repr (GH-19430) 2020-05-15 18:27:54 -07:00
test_typing.py bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559) 2021-08-02 18:52:16 +02:00
test_ucn.py closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) 2020-03-10 20:41:34 -07:00
test_unary.py
test_unicode.py bpo-28146: Fix a confusing error message in str.format() (GH-24213) 2021-05-13 14:35:30 -07:00
test_unicode_file.py [3.9] bpo-41043: Escape literal part of the path for glob(). (GH-20994). (GH-21275) 2020-07-02 10:05:16 +03:00
test_unicode_file_functions.py
test_unicode_identifiers.py bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) 2020-05-12 12:42:04 +03:00
test_unicodedata.py bpo-43144: Mark unicodedata's test_normalization as requiring network (GH-24650) 2021-02-25 21:44:17 -08:00
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py [3.9] bpo-43272: Fix old parser test failures for backported grammar constructs (GH-24591) 2021-02-20 01:36:15 +00:00
test_unparse.py bpo-43521: Allow ast.unparse with empty sets and NaN (GH-24897) 2021-03-18 15:51:47 -07:00
test_urllib.py bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) 2021-04-23 10:28:05 -07:00
test_urllib2.py Allow / character in username,password fields in _PROXY envvars. (GH-23973) 2020-12-29 04:46:05 -08:00
test_urllib2_localnet.py bpo-9216: hashlib usedforsecurity fixes (GH-20258) 2020-05-22 11:22:30 -07:00
test_urllib2net.py bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) 2020-04-29 10:36:20 +03:00
test_urllib_response.py bpo-12707: deprecate info(), geturl(), getcode() methods in favor of headers, url, and status properties for HTTPResponse and addinfourl (GH-11447) 2019-09-13 12:40:07 +01:00
test_urllibnet.py bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) 2020-04-29 10:36:20 +03:00
test_urlparse.py [3.9] bpo-43882 Remove the newline, and tab early. From query and fragments. (#25853) 2021-05-03 12:08:59 -07:00
test_userdict.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 2019-06-05 18:22:31 +03:00
test_userlist.py bpo-27639: Correct return type for UserList slicing operation (#13169) 2019-05-07 17:41:06 -04:00
test_userstring.py bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) 2019-08-27 21:38:09 -07:00
test_utf8_mode.py bpo-36683: Rename duplicate test_io_encoding to test_pyio_encoding (GH-12896) 2019-04-22 11:46:27 -07:00
test_utf8source.py
test_uu.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_uuid.py bpo-40501: Replace ctypes code in uuid with native module (GH-19948) 2020-05-12 23:32:32 +01:00
test_venv.py [3.9] bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035). (GH-21156) 2020-06-25 20:39:12 +03:00
test_wait3.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
test_wait4.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
test_wave.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02:00
test_weakref.py bpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316) (#27325) 2021-07-24 11:45:40 +02:00
test_weakset.py bpo-38761: Register WeakSet as a MutableSet (GH-17104) 2019-11-10 20:12:04 -08:00
test_webbrowser.py
test_winconsoleio.py bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448) 2020-02-11 00:58:23 +01:00
test_winreg.py bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (#13239) 2019-09-09 02:26:15 -07:00
test_winsound.py
test_with.py [3.9] bpo-41979: Accept star-unpacking on with-item targets (GH-22611) (GH-22612) 2020-10-09 03:31:07 -07:00
test_wsgiref.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751) 2021-03-30 14:36:25 -07:00
test_xml_etree_c.py bpo-36543: Revert "bpo-36543: Remove the xml.etree.cElementTree module." (GH-20117) (GH-20780) 2020-06-10 18:01:25 +02:00
test_xmlrpc.py bpo-43433: Preserve query and fragment in the URL of the server in ServerProxy. (GH-25057) 2021-03-29 07:43:02 -07:00
test_xmlrpc_net.py
test_xxtestfuzz.py bpo-29505: Add more fuzzing for re.compile, re.load and csv.reader (GH-14255) 2019-06-29 22:54:42 -07:00
test_yield_from.py bpo-37069: tests use catch_unraisable_exception() (GH-13762) 2019-06-03 03:51:43 +02:00
test_zipapp.py bpo-40275: More lazy imports in test.support (GH-20131) 2020-05-19 00:02:57 +02:00
test_zipfile.py bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337) 2020-09-28 13:18:47 -07:00
test_zipfile64.py bpo-40275: More lazy imports in test.support (GH-20131) 2020-05-19 00:02:57 +02:00
test_zipimport.py [3.9] bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int (GH-19708) 2021-08-24 11:07:31 -04:00
test_zipimport_support.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_zlib.py bpo-40286: Use random.randbytes() in tests (GH-19575) 2020-04-17 22:54:38 +02:00
testcodec.py
testtar.tar
tf_inherit_check.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip