cpython/Lib/test
Miss Islington (bot) 9a79242567
bpo-45001: Make email date parsing more robust against malformed input (GH-27946)
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 08:47:27 -07:00
..
audiodata
capath bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
cjkencodings
crashers bpo-42734: Fix crasher bogus_code_obj.py (GH-23939) 2020-12-25 17:03:37 +02:00
data
decimaltestdata Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584) 2020-10-07 16:43:44 -07:00
dtracedata bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
encoded_modules
imghdrdata
leakers
libregrtest bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290) 2021-07-22 22:30:44 +02:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support bpo-44852: Support filtering over warnings without a set message (GH-27793) 2021-08-18 05:10:10 -07:00
test_asyncio bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968) 2021-08-26 06:41:29 -07:00
test_email bpo-45001: Make email date parsing more robust against malformed input (GH-27946) 2021-08-26 08:47:27 -07:00
test_import bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_importlib Python 3.10.0rc1 2021-08-02 20:53:59 +01:00
test_json bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) 2021-04-06 11:18:41 +09:00
test_peg_generator bpo-43425: Update test_c_parser not to use TempdirManager (GH-26693) 2021-06-13 17:24:11 -07:00
test_tools bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings. (GH-19875) 2020-11-10 01:50:45 +03:00
test_warnings bpo-43651: Fix EncodingWarning in test_warnings (GH-25126) 2021-04-02 08:57:05 +09:00
test_zoneinfo bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) 2020-08-13 22:38:30 -04:00
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_atexit.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01:00
_test_eintr.py bpo-42639: Add script_helper.run_test_script() (GH-23777) 2020-12-15 16:08:16 +01:00
_test_embed_set_config.py bpo-42260: Compute the path config in the main init (GH-23211) 2020-11-10 13:21:52 +01:00
_test_multiprocessing.py bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (#26987) 2021-07-01 21:15:47 -07:00
_typed_dict_helper.py bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204) 2021-07-17 10:48:17 +02:00
allsans.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ann_module.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) (#27222) 2021-07-19 07:22:59 -07:00
ann_module2.py
ann_module3.py
ann_module4.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
audiotest.au
audiotests.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
audit-tests.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26970) 2021-06-30 18:52:25 +01: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_cmd.py bpo-40003: test.bisect_cmd copies Python options (GH-19246) 2020-03-31 17:25:56 +02:00
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
clinic.test bpo-36346: Prepare for removing the legacy Unicode C API (AC only). (GH-21223) 2020-06-30 09:03:15 +03:00
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
dataclass_module_1.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_1_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_textanno.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
datetimetester.py bpo-43295: Fix error handling of datetime.strptime format string '%z' (GH-24627) 2021-03-03 08:58:57 -08:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481) 2021-03-29 12:28:14 +09:00
ffdh3072.pem bpo-34399: 2048 bits RSA keys and DH params (#8762) 2018-08-14 12:54:19 +02:00
final_a.py
final_b.py
floating_points.txt
fork_wait.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +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-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ieee754.txt
imp_dummy.py
inspect_fodder.py bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) 2020-12-04 18:45:38 +02: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
inspect_stock_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations_2.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
keycert.passwd.pem bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
keycert.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycert2.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert3.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert4.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycertecc.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
list_tests.py bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) 2020-06-21 11:11:17 +03:00
lock_tests.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
mailcap.txt
make_ssl_certs.py bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +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 bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
mock_socket.py bpo-42756: Configure LMTP Unix-domain socket to use global default timeout when timeout not provided (GH-23969) 2021-01-02 02:20:25 +09:00
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 bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
nokia.pem
nosan.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
nullbytecert.pem
nullcert.pem
pickletester.py bpo-43907: add missing memoize call in pure python pickling of bytearray (GH-25501) 2021-04-23 23:27:14 +02:00
profilee.py
pstats.pck
pycacert.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pycakey.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py bpo-43880: Show DeprecationWarnings for deprecated ssl module features (GH-25455) 2021-04-19 07:27:10 +02: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 bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02: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 bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02: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 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 bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
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 bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ssl_servers.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
ssltests.py Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) 2021-05-01 13:53:57 -07:00
string_tests.py bpo-41972: Use the two-way algorithm for string searching (GH-22904) 2021-02-28 12:20:50 -06: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-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826) 2020-08-13 19:20:28 +02:00
test___future__.py
test__locale.py bpo-38324: Fix test__locale.py Windows failures (GH-20529) 2020-10-20 12:39:52 +01:00
test__opcode.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test__osx_support.py bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
test__xxsubinterpreters.py To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240) (GH-27452) 2021-07-29 19:27:24 +02:00
test_abc.py [3.10] bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034) (GH-26065) 2021-05-12 15:06:34 +01:00
test_abstract_numbers.py
test_aifc.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_argparse.py bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672) 2021-08-17 02:40:41 -07:00
test_array.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
test_ast.py [3.10] bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432) (GH-27435) 2021-07-28 18:02:14 -07:00
test_asyncgen.py bpo-43751: Fix anext() bug where it erroneously returned None (GH-25238) 2021-04-11 05:51:35 +01:00
test_asynchat.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_asyncore.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_atexit.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +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_audit.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26970) 2021-06-30 18:52:25 +01:00
test_augassign.py
test_base64.py Added test case based on recommended test cases from RFC 4648 (GH-27747) 2021-08-13 04:15:27 -07:00
test_baseexception.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
test_bdb.py bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989) 2021-04-02 09:15:21 -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 bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123) 2018-12-20 09:34:51 +02:00
test_binascii.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_binhex.py bpo-29566: binhex.binhex now consitently writes MacOS 9 line endings. (GH-23059) 2020-11-01 01:08:48 -08:00
test_binop.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
test_bisect.py bpo-4356: Add key function support to the bisect module (GH-20556) 2020-10-19 22:04:01 -07:00
test_bool.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
test_buffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_bufio.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_builtin.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
test_bytes.py bpo-44891: Tests id preserving on * 1 for str and bytes (GH-27745) 2021-08-13 04:04:08 -07:00
test_bz2.py bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764) (GH-26845) 2021-06-22 16:59:53 +03:00
test_c_locale_coercion.py bpo-41700: Skip test if the locale is not supported (GH-22081) 2020-09-04 17:47:40 +09:00
test_calendar.py bpo-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_call.py bpo-40679: Use the function's qualname in certain TypeErrors (GH-20236) 2020-05-22 13:40:17 -07:00
test_capi.py bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904) 2021-08-23 12:30:21 -07:00
test_cgi.py bpo-41139: Deprecate cgi.log() (GH-25625) 2021-04-29 11:36:04 +09:00
test_cgitb.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_charmapcodec.py bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
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) 2020-11-18 15:36:27 +01:00
test_cmath.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_cmd.py bpo-32746: Fix multiple typos (GH-5144) 2018-02-03 19:36:10 -05:00
test_cmd_line.py bpo-43825: Fix deprecation warnings in test_cmd_line and test_collections (GH-25380) 2021-04-14 13:45:22 +02:00
test_cmd_line_script.py fix: use unambiguous punction in 'invalid escape sequence' message (GH-26582) 2021-06-07 17:36:19 -07:00
test_code.py bpo-44980: fix test_constructor to return None value (GH-27898) 2021-08-23 12:21:06 -07:00
test_code_module.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_codeccallbacks.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02: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-42065: Fix incorrectly formatted _codecs.charmap_decode error message (GH-19940) 2020-10-17 23:38:21 +03:00
test_codeop.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_collections.py bpo-44704: Make Set._hash consistent with frozenset.__hash__ (GH-27281) (GH-27282) 2021-07-21 19:23:21 -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-44622: Set line number of END_ASYNC_FOR to match that of iterator. (GH-27160) (GH-27163) 2021-07-15 16:54:38 +02:00
test_compileall.py [3.10] bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int (GH-19708) 2021-08-24 11:09:14 -04:00
test_complex.py bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) (GH-27796) 2021-08-17 18:38:03 +01:00
test_concurrent_futures.py bpo-40692: Run more test_concurrent_futures tests (GH-20239) 2021-02-08 03:15:51 +00:00
test_configparser.py bpo-38741: Definition of multiple ']' in header configparser (GH-17129) (#27110) 2021-07-13 16:35:30 +02:00
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 bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) (GH-27379) 2021-07-26 23:21:36 +02:00
test_contextlib_async.py bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) (GH-27379) 2021-07-26 23:21:36 +02:00
test_copy.py bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) 2020-05-28 10:33:45 +03:00
test_copyreg.py bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
test_coroutines.py bpo-44469: Fix tests for "async with" with bad object (GH-26817) 2021-06-21 00:57:07 -07:00
test_cprofile.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_crashers.py bpo-41043: Escape literal part of the path for glob(). (GH-20994) 2020-06-20 11:10:31 +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-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) (GH-27494) 2021-07-30 19:30:09 +02:00
test_ctypes.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_curses.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_dataclasses.py bpo-44015: dataclasses should allow KW_ONLY to be specified only once per class (GH-25841) 2021-05-03 03:24:53 -04:00
test_datetime.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_dbm.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_dbm_dumb.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_dbm_gnu.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_dbm_ndbm.py bpo-40275: Use new test.support helper submodules in tests (GH-21785) 2020-08-08 13:05:24 +02:00
test_decimal.py bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) 2021-08-06 10:09:06 -07:00
test_decorators.py bpo-42073: allow classmethod to wrap other classmethod-like descriptors (GH-27115) (GH-27162) 2021-07-15 15:42:11 +02:00
test_defaultdict.py bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) 2020-06-21 11:11:17 +03:00
test_deque.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_descr.py bpo-44655: Include the name of the type in unset __slots__ attribute errors (GH-27199) (GH-27201) 2021-07-17 01:01:53 +01: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-24275: Don't downgrade unicode-only dicts to mixed on lookups (GH-25186) 2021-04-29 11:06:03 +09:00
test_dict_version.py bpo-40275: Use new test.support helper submodules in tests (GH-21169) 2020-06-30 15:46:31 +02: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-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_difflib_expect.html
test_dis.py bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656) (#27673) 2021-08-09 10:54:48 +01:00
test_distutils.py bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675) 2021-04-28 16:21:55 +01:00
test_doctest.py bpo-35753: Fix crash in doctest with unwrap-able functions (GH-22981) (#25926) 2021-05-05 20:01:21 +02:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
test_dtrace.py bpo-32667: Fix tests when $PATH contains a file (#5322) 2018-01-25 19:06:05 +01:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01:00
test_embed.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_ensurepip.py bpo-42856: Add --with-wheel-pkg-dir=PATH configure option (GH-24210) 2021-01-20 17:07:21 +01:00
test_enum.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_enumerate.py bpo-42536: GC track recycled tuples (GH-23623) 2020-12-04 19:45:57 -08:00
test_eof.py bpo-44396: Update multi-line-start location when reallocating tokenizer buffers (GH-26676) (GH-26695) 2021-06-12 21:27:02 +01:00
test_epoll.py bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) 2020-12-16 11:16:25 +01:00
test_errno.py
test_exception_hierarchy.py bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) 2020-11-20 00:26:07 -08:00
test_exception_variations.py
test_exceptions.py bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761) 2021-08-16 02:01:14 -07: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) 2020-06-01 10:42:42 +01:00
test_faulthandler.py bpo-44466: Faulthandler now detects the GC (GH-26823) (GH-26826) 2021-06-21 14:23:13 +02:00
test_fcntl.py bpo-41586: Attempt to make the pipesize tests more robust. (GH-22839) 2020-10-20 17:37:20 -07:00
test_file.py bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) 2021-08-10 07:31:00 -07:00
test_file_eintr.py bpo-43651: Fix EncodingWarning in test_file and test_file_eintr (GH-25109) 2021-04-01 11:23:03 +09:00
test_filecmp.py bpo-43651: PEP 597: Fix EncodingWarning in test_filecmp (GH-25159) 2021-04-05 12:32:35 +09:00
test_fileinput.py bpo-43651: Fix EncodingWarning in fileinput and its test (GH-25648) 2021-04-27 15:47:16 +09:00
test_fileio.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701) 2020-10-14 18:44:07 -07:00
test_float.py bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) 2021-08-20 10:48:47 -07:00
test_flufl.py bpo-40939: Remove the old parser (GH-20768) 2020-06-11 17:30:46 +01: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-42506: Fix unexpected output in test_format (GH-23564) 2020-11-30 17:39:12 +09:00
test_fractions.py bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779) 2021-03-21 21:30:55 -05:00
test_frame.py bpo-42823: Fix frame lineno when frame.f_trace is set (GH-24099) 2021-01-05 12:04:10 +00:00
test_frozen.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_fstring.py [3.10] bpo-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729) (GH-27743) 2021-08-12 17:41:21 +01:00
test_ftplib.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27640) 2021-08-06 15:11:44 -05:00
test_future.py bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583) 2021-05-03 10:43:00 +03:00
test_future3.py
test_future4.py bpo-35412: Add testcase to test_future4 (GH-11131) 2018-12-12 18:38:34 +01:00
test_future5.py
test_gc.py bpo-44184: Fix subtype_dealloc() for freed type (GH-26274) (GH-26290) 2021-05-22 00:50:11 +02:00
test_gdb.py bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637) 2020-12-04 16:23:56 +01:00
test_generator_stop.py
test_generators.py bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (GH-17658) (GH-27572) 2021-08-03 12:10:38 +02:00
test_genericalias.py bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507) 2021-07-31 10:25:22 -07: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 bpo-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02:00
test_genexps.py bpo-43822: Improve syntax errors for missing commas (GH-25377) 2021-04-15 21:38:45 +01:00
test_getargs2.py bpo-40943: Fix skipitem() didn't raise SystemError (GH-25937) 2021-05-06 20:18:42 -07:00
test_getopt.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_getpass.py
test_gettext.py bpo-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_glob.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_global.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_grammar.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) (#27222) 2021-07-19 07:22:59 -07:00
test_graphlib.py bpo-17005: Move topological sort functionality to its own module (GH-20558) 2020-06-01 00:41:14 +01:00
test_grp.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_gzip.py bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764) (GH-26845) 2021-06-22 16:59:53 +03:00
test_hash.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_hashlib.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_heapq.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_hmac.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_html.py
test_htmlparser.py bpo-41748: Handles unquoted attributes with commas (#24072) 2021-02-01 21:32:50 +01:00
test_http_cookiejar.py bpo-38976: Add support for HTTP Only flag in MozillaCookieJar (#17471) 2020-10-23 15:48:55 -07:00
test_http_cookies.py bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555) 2018-04-23 02:48:11 +03:00
test_httplib.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_httpservers.py bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) (#27169) 2021-07-15 22:09:26 +02:00
test_idle.py bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) 2020-12-19 12:17:08 +02:00
test_imaplib.py bpo-43880: Show DeprecationWarnings for deprecated ssl module features (GH-25455) 2021-04-19 07:27:10 +02:00
test_imghdr.py bpo-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02:00
test_imp.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181) 2021-04-05 13:11:23 +09: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-44808: fixes test for interactive inspect getsource of a class (GH-27571) 2021-08-03 06:07:59 -07:00
test_int.py bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) 2020-05-26 18:43:38 +03:00
test_int_literal.py
test_interpreters.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) 2021-04-06 11:18:41 +09:00
test_io.py bpo-43680: Deprecate io.OpenWrapper (GH-25357) 2021-04-14 03:24:33 +02:00
test_ioctl.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_ipaddress.py bpo-33433 Fix private address checking for IPv4 mapped IPv6. (GH-26172) 2021-05-17 12:42:08 -07:00
test_isinstance.py bpo-41909: Enable previously disabled recursion checks. (GH-22536) 2020-10-05 00:55:57 +03:00
test_iter.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) 2021-04-06 11:18:41 +09:00
test_iterlen.py
test_itertools.py bpo-42536: GC track recycled tuples (GH-23623) 2020-12-04 19:45:57 -08:00
test_keyword.py bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456) 2019-03-25 22:01:12 +00:00
test_keywordonlyarg.py bpo-40679: Use the function's qualname in certain TypeErrors (GH-20236) 2020-05-22 13:40:17 -07:00
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: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_lib2to3.py bpo-41970: Avoid test failure in test_lib2to3 if the module is already imported (GH-22595) 2020-10-08 06:24:28 -07:00
test_linecache.py [3.10] bpo-25872: Add unit tests for linecache and threading (GH-25913) (GH-26212) 2021-05-18 14:53:57 +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 bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) 2021-04-06 11:18:41 +09:00
test_locale.py bpo-34311: Add locale.localize (GH-15275) 2021-04-12 14:17:40 +02:00
test_logging.py bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
test_long.py Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584) 2020-10-07 16:43:44 -07:00
test_longexp.py
test_lzma.py bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764) (GH-26845) 2021-06-22 16:59:53 +03:00
test_mailbox.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25190) 2021-04-06 13:02:22 +09:00
test_mailcap.py skip test_test of test_mailcap on VxWorks (GH-23507) 2020-11-28 13:49:47 -08:00
test_marshal.py bpo-40275: Use new test.support helper submodules in tests (GH-21317) 2020-07-06 14:29:49 +02:00
test_math.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_memoryio.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_memoryview.py bpo-40275: Use new test.support helper submodules in tests (GH-21169) 2020-06-30 15:46:31 +02:00
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-44582: Accelerate mimetypes.init on Windows with a native accelerator (GH-27059) 2021-07-08 09:13:06 -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-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_module.py bpo-43901: Fix refleaks in test_module (GH-25754) 2021-04-30 17:26:45 +01:00
test_modulefinder.py bpo-41040: Fix test_modulefinder. (GH-20991) 2020-06-20 00:06:07 +03:00
test_msilib.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_multibytecodec.py bpo-42846: Convert CJK codec extensions to multiphase init (GH-24157) 2021-01-08 00:15:22 +01:00
test_multiprocessing_fork.py bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) 2018-12-11 11:31:16 +00:00
test_multiprocessing_forkserver.py bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) 2018-12-11 11:31:16 +00:00
test_multiprocessing_main_handling.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_multiprocessing_spawn.py
test_named_expressions.py bpo-43017: Improve error message for unparenthesised tuples in comprehensions (GH24314) 2021-01-31 22:52:56 +00:00
test_netrc.py bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675) 2020-12-01 21:34:42 +01:00
test_nis.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_nntplib.py bpo-43998: Fix testing without ssl module (GH-25790) 2021-05-01 22:17:01 +02:00
test_ntpath.py bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01:00
test_numeric_tower.py Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584) 2020-10-07 16:43:44 -07:00
test_opcache.py bpo-42266: Handle monkey-patching descriptors in LOAD_ATTR cache (GH-23157) 2020-11-05 09:23:15 +00:00
test_opcodes.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
test_openpty.py
test_operator.py bpo-44558: Match countOf is/== treatment to c (GH-27007) 2021-07-07 06:50:41 -07:00
test_optparse.py bpo-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_ordered_dict.py bpo-42536: GC track recycled tuples (GH-23623) 2020-12-04 19:45:57 -08:00
test_os.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_ossaudiodev.py bpo-40275: Use new test.support helper submodules in tests (GH-21764) 2020-08-07 17:18:38 +02:00
test_osx_env.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_pathlib.py bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) (GH-27421) 2021-07-28 17:01:47 +02:00
test_patma.py bpo-44600: Refactor new tracing tests (GH-27396) (GH-27404) 2021-07-28 14:38:39 +02:00
test_pdb.py [3.10] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27399) 2021-07-28 06:04:38 -07:00
test_peepholer.py bpo-42246: Remove DO_NOT_EMIT_BYTECODE macros, so that while loops and if statements conform to PEP 626. (GH-23743) 2020-12-15 11:07:50 +00:00
test_pickle.py bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) 2021-08-02 10:09:05 -07:00
test_picklebuffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_pickletools.py bpo-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_pipes.py bpo-31904: add shell requirement for test_pipes (GH-23489) 2020-11-28 14:04:50 -08:00
test_pkg.py bpo-34200: Fix non-determinism of test_pkg (GH-9248) 2018-09-12 17:58:40 -07:00
test_pkgutil.py bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167) 2021-04-03 15:31:15 -07:00
test_platform.py bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for all but processor) (#23010) 2020-12-31 14:08:03 -05:00
test_plistlib.py bpo-42103: Improve validation of Plist files. (GH-22882) 2020-11-02 23:01:40 +02:00
test_poll.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_popen.py bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687) 2020-12-15 22:20:07 +01:00
test_poplib.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_positional_only_arg.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
test_posix.py bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827) 2021-05-02 20:28:43 -04:00
test_posixpath.py bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01: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 bpo-43080: pprint for dataclass instances (GH-24389) 2021-04-13 19:59:24 -04:00
test_print.py bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) 2021-07-27 14:19:18 -07:00
test_profile.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_property.py bpo-27794: Add name attribute to property class (GH-23967) 2020-12-30 01:51:24 -08:00
test_pstats.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_pty.py bpo-26228: Fix pty EOF handling (GH-12049) (GH-27732) 2021-08-12 14:36:04 +02:00
test_pulldom.py bpo-17239: Disable external entities in SAX parser (GH-9217) 2018-09-23 00:50:25 -07:00
test_pwd.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_py_compile.py [3.10] bpo-31904: Correct error string in test_file_not_exists() for VxWorks (GH-25965) (GH-25983) 2021-05-08 02:09:29 -07:00
test_pyclbr.py bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348) 2021-02-01 12:38:44 -05:00
test_pydoc.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -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-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02: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-25872) 2021-05-03 19:45:30 -07:00
test_range.py bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443) 2020-05-28 10:33:45 +03:00
test_re.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_readline.py bpo-44949: Fix test_readline auto history tests (GH-27813) 2021-08-19 01:52:16 -07:00
test_regrtest.py bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290) 2021-07-22 22:30:44 +02:00
test_repl.py bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) 2020-06-10 18:49:23 +02:00
test_reprlib.py bpo-43682: @staticmethod inherits attributes (GH-25268) 2021-04-09 17:51:22 +02:00
test_resource.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_richcmp.py
test_rlcompleter.py bpo-44752: Make rlcompleter not call @property methods (GH-27401) (GH-27444) 2021-07-29 14:07:00 +02:00
test_robotparser.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_runpy.py bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (#21956) 2020-09-22 08:53:03 -07:00
test_sax.py bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958) 2020-08-09 12:50:53 +02:00
test_sched.py bpo-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) 2020-10-19 10:33:43 +03:00
test_scope.py
test_script_helper.py bpo-32942: Fix environment dependent test_script_helper (GH-8034) 2018-07-04 12:10:15 +02:00
test_secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_selectors.py bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
test_set.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -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-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639) 2020-10-29 02:44:35 -07: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.10] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27268) 2021-07-20 11:53:31 -07:00
test_signal.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_site.py bpo-36160: Fix test_site so that it can run independently of other tests (GH-12131) (GH-26262) 2021-05-20 11:42:00 +01:00
test_slice.py
test_smtpd.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_smtplib.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_smtpnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_sndhdr.py
test_socket.py bpo-34932: Add socket.TCP_KEEPALIVE for macOS (GH-25079) 2021-07-14 16:15:31 -07:00
test_socketserver.py bpo-43843: libregrtest uses threading.excepthook (GH-25400) 2021-04-16 14:33:10 +02: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-25643: Refactor the C tokenizer into smaller, logical units (GH-25050) 2021-03-28 23:48:05 +01:00
test_spwd.py bpo-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02:00
test_sqlite.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_ssl.py bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
test_startfile.py bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
test_stat.py bpo-31904: Fix fifo test cases for VxWorks (GH-20254) 2020-12-01 09:20:50 +01:00
test_statistics.py bpo-44151: linear_regression() minor API improvements (GH-26199) (GH-26338) 2021-05-24 18:11:12 -07: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 bpo-40939: Remove the old parser (GH-20768) 2020-06-11 17:30:46 +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-25 10:55:09 +03:00
test_structmembers.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_structseq.py bpo-42128: Add __match_args__ to structseq-based classes (GH-24732) 2021-03-04 00:03:44 +00:00
test_subclassinit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_subprocess.py bpo-28254: Cleanup test_subprocess.test_preexec_gc_module_failure() (GH-25709) 2021-04-29 10:26:53 +02: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-42802: Remove distutils bdist_wininst command (GH-24043) 2021-01-09 00:35:01 +01:00
test_super.py bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931) 2018-05-20 08:48:12 +03:00
test_support.py [3.10] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest (GH-27634) (GH-27784) 2021-08-17 12:01:00 +02:00
test_symtable.py bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391) 2020-10-03 20:45:55 +01:00
test_syntax.py bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947) (GH-27957) 2021-08-26 10:52:21 +01:00
test_sys.py bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721) 2021-04-30 12:46:15 +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 bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656) (#27673) 2021-08-09 10:54:48 +01:00
test_sysconfig.py bpo-43312: Functions returning default and preferred sysconfig schemes (GH-24644) 2021-04-27 09:45:55 +01:00
test_syslog.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_tabnanny.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_tarfile.py bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) 2021-08-09 03:30:30 -07:00
test_tcl.py bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) 2021-07-13 22:40:10 -07:00
test_telnetlib.py bpo-43723: Fix deprecation error caused by thread.setDaemon() (GH-25361) 2021-04-12 13:12:36 +02:00
test_tempfile.py bpo-29982: Add "ignore_cleanup_errors" param to tempfile.TemporaryDirectory() (GH-24793) 2021-03-14 11:06:56 -07:00
test_textwrap.py bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) 2020-10-18 20:01:15 +03:00
test_thread.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_threadedtempfile.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_threading.py bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065) 2021-08-06 04:32:37 -07:00
test_threading_local.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_threadsignals.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_time.py bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) 2020-11-08 10:05:27 +01:00
test_timeit.py bpo-40670: More reliable validation of statements in timeit.Timer. (GH-22358) 2020-09-22 16:16:46 +03:00
test_timeout.py bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) 2020-11-20 00:26:07 -08:00
test_tix.py Revert test for Tix deprecation warning (GH-26005) 2021-05-09 00:19:43 -07:00
test_tk.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_tokenize.py bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27500) 2021-08-02 11:43:45 +02:00
test_trace.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_traceback.py [3.10] bpo-44446: support lineno being None in traceback.FrameSummary (GH-26781) (GH-27072) 2021-07-08 17:47:12 +01:00
test_tracemalloc.py bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805) 2020-12-16 22:38:32 +01:00
test_ttk_guionly.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_ttk_textonly.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
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-27361) 2021-07-26 17:55:50 +02:00
test_type_annotations.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07: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-44676: Serialize the union type using only public API (GH-27323) (GH-27340) 2021-07-24 22:35:33 +03:00
test_typing.py bpo-44524: Don't modify MRO when inheriting from typing.Annotated (GH-27841) 2021-08-25 11:36:47 -07:00
test_ucn.py bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (GH-22575) 2020-10-06 16:21:56 +02:00
test_unary.py
test_unicode.py bpo-44891: Tests id preserving on * 1 for str and bytes (GH-27745) 2021-08-13 04:04:08 -07:00
test_unicode_file.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_unicode_file_functions.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
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 [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_unittest.py
test_univnewlines.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
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-43797: Improve syntax error for invalid comparisons (#25317) 2021-04-12 16:59:30 +01:00
test_unparse.py bpo-43892: Make match patterns explicit in the AST (GH-25585) 2021-04-28 22:58:44 -07:00
test_urllib.py bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) 2021-04-23 18:02:47 +01:00
test_urllib2.py Allow / character in username,password fields in _PROXY envvars. (#23973) 2020-12-29 04:18:42 -08:00
test_urllib2_localnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21452) 2020-08-04 17:51:43 +02:00
test_urllib2net.py bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02: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: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_urlparse.py bpo-43882 Remove the newline, and tab early. From query and fragments. (GH-25936) 2021-05-05 16:04:38 -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-42236: os.device_encoding() respects UTF-8 Mode (GH-23119) 2020-11-04 11:20:10 +01:00
test_utf8source.py
test_uu.py bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035) 2020-06-25 17:56:31 +03:00
test_uuid.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_venv.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08: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-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_weakref.py bpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316) (GH-27324) 2021-07-24 11:45:13 +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 bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_winconsoleio.py bpo-40275: Use new test.support helper submodules in tests (GH-21764) 2020-08-07 17:18:38 +02:00
test_winreg.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_winsound.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_with.py bpo-41979: Accept star-unpacking on with-item targets (GH-22611) 2020-10-09 10:56:48 +01:00
test_wsgiref.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02: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-31 00:11:29 +03:00
test_xml_etree_c.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_xmlrpc.py bpo-43433: Preserve query and fragment in the URL of the server in ServerProxy. (GH-25057) 2021-03-29 22:39:31 +09:00
test_xmlrpc_net.py bpo-31724: Skip test_xmlrpc_net (GH-3921) 2017-10-08 01:31:23 -05:00
test_xxlimited.py bpo-42111: Make the xxlimited module an example of best extension module practices (GH-23226) 2020-12-08 08:36:53 -08:00
test_xxtestfuzz.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py bpo-40941: Unify implicit and explicit state in the frame and generator objects into a single value. (GH-20803) 2020-07-17 11:44:23 +01: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-43651: Fix EncodingWarning in zipfile (GH-25650) 2021-04-27 15:45:31 +09:00
test_zipfile64.py bpo-40275: Use new test.support helper submodules in tests (GH-21785) 2020-08-08 13:05:24 +02:00
test_zipimport.py [3.10] bpo-34990: Treat the pyc header's mtime in compileall as an unsigned int (GH-19708) 2021-08-24 11:09:14 -04:00
test_zipimport_support.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_zlib.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
testcodec.py
testtar.tar
testtar.tar.xz bpo-8978: improve tarfile.open error message when lzma / bz2 are missing (GH-24850) 2021-04-27 10:39:01 -07:00
tf_inherit_check.py
time_hashlib.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 11:30:34 +01:00
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
xmltests.py
zip_cp437_header.zip
zipdir.zip