cpython/Lib/test
Miss Islington (bot) 5bdcb08250
GH-102537: Handle check for PYTHONTZPATH failing in zoneinfo test (GH-102538)
It is possible but unlikely for the `python_tzpath_context` function to fail between the start of the `try` block and the point where `os.environ.get` succeeds, in which case `old_env` will be undefined. In this case, we want to take no action.

Practically speaking this will really only happen in an error condition anyway, so it doesn't really matter, but we should probably do it right anyway.
(cherry picked from commit 64bde502cf)

Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
2023-03-13 04:11:09 -07:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 16:31:21 +09:00
leakers
libregrtest Run Tools/scripts/reindent.py (#94225) (#94291) 2022-06-26 12:39:16 +02:00
sndhdrdata
subprocessdata
support [3.11] gh-90867: test.support.wait_process() uses LONG_TIMEOUT (GH-99071) (GH-99098) 2022-11-04 08:20:35 -07:00
test_asyncio [3.10] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH-100959) (#101020) 2023-01-13 13:57:52 -08:00
test_capi [3.10] gh-99240: Reset pointer to NULL when the pointed memory is freed in argument parsing (GH-99890) (#100386) 2022-12-21 15:33:21 +05:30
test_email gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201) 2022-07-24 23:39:00 -07:00
test_import bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_importlib [3.10] gh-99130: Apply bugfixes from importlib_metadata 4.11.4. (#99132) 2022-11-10 16:59:38 +01:00
test_json [3.10] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (GH-100412) (GH-100970) 2023-01-13 09:34:55 +02:00
test_peg_generator [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tools gh-95731: Fix module docstring extraction in pygettext (GH-95732) 2022-10-15 08:33:19 -07:00
test_warnings
test_zoneinfo GH-102537: Handle check for PYTHONTZPATH failing in zoneinfo test (GH-102538) 2023-03-13 04:11:09 -07:00
tracedmodules
typinganndata GH-96073: Fix wild replacement in inspect.formatannotation (GH-96074) 2022-10-07 12:56:29 -07:00
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) (GH-30005) 2021-12-09 15:16:09 +00:00
_test_eintr.py
_test_embed_set_config.py
_test_multiprocessing.py [3.10] gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) (GH-99989) 2022-12-04 15:08:24 +02: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
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
ann_module5.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) (GH-28560) 2021-09-25 11:21:13 +02:00
ann_module6.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) (GH-28560) 2021-09-25 11:21:13 +02:00
ann_module7.py bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) (#30765) 2022-01-22 09:28:48 -08:00
audiotest.au
audiotests.py
audit-tests.py gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 12:52:14 -08: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
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test [3.10] gh-99240: Fix double-free bug in Argument Clinic str_converter generated code (GH-99241) (#100353) 2022-12-20 15:50:42 +05:30
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
datetimetester.py gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) 2022-08-04 06:15:01 -07:00
dis_module.py
doctest_aliases.py
doctest_lineno.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
double_const.py
empty.vbs
exception_hierarchy.txt
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py gh-83035: handle decorator with nested parens in inspect.getsource (GH-99654) 2022-12-07 09:24:41 -08:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
list_tests.py
lock_tests.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
mailcap.txt
make_ssl_certs.py Fix a typo in the message from make_ssl_certs. (GH-30152) (GH-30161) 2021-12-16 21:51:11 -08:00
mapping_tests.py
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
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pickletester.py gh-100129: Add tests for pickling all builtin types and functions (GH-100142) 2022-12-21 06:58:31 -08:00
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
pydocfodder.py
pythoninfo.py test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467) 2022-06-03 07:08:21 -07:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py
sgml_input.html
signalinterproctester.py
Sine-1000Hz-300ms.aif
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py
talos-2019-0758.pem
test___all__.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxsubinterpreters.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py gh-101979: argparse: fix a bug where parentheses in metavar argument of add_argument() were dropped (GH-102318) 2023-03-05 07:16:14 -08:00
test_array.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_asdl_parser.py
test_ast.py gh-101229: Add tests for aliases of imported names (GH-101230) 2023-01-30 12:14:38 -08:00
test_asyncgen.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02: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
test_audioop.py
test_audit.py gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 12:52:14 -08: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 gh-97591: In Exception.__setstate__() acquire strong references before calling tp_hash slot (GH-97700) 2022-10-01 21:18:38 -07:00
test_bdb.py gh-101517: make bdb avoid looking up in linecache with lineno=None (GH-101787) 2023-02-10 09:24:30 -08:00
test_bigaddrspace.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_bigmem.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_binascii.py [3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013) 2022-03-20 14:46:52 -07:00
test_binhex.py
test_binop.py
test_bisect.py gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321) 2022-05-28 13:48:25 -05:00
test_bool.py gh-102252: Improve coverage of test_bool.py (GH-102253) 2023-02-25 13:09:39 -08:00
test_buffer.py
test_bufio.py
test_builtin.py gh-102356: Add thrashcan macros to filter object dealloc (GH-102426) 2023-03-05 03:20:41 -08:00
test_bytes.py GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891) 2022-07-19 10:04:47 -07:00
test_bz2.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_c_locale_coercion.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_calendar.py gh-57539: Increase calendar test coverage (GH-93468) (GH-93565) 2022-06-07 12:20:49 +02:00
test_call.py [3.10] gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) (GH-99989) 2022-12-04 15:08:24 +02:00
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_check_c_globals.py gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) 2022-08-10 17:15:53 -07:00
test_class.py
test_clinic.py [3.10] gh-99240: Fix double-free bug in Argument Clinic str_converter generated code (GH-99241) (#100353) 2022-12-20 15:50:42 +05:30
test_cmath.py
test_cmd.py
test_cmd_line.py gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) 2022-09-26 08:46:04 -07:00
test_cmd_line_script.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_code.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_code_module.py
test_codeccallbacks.py bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593) 2022-05-02 02:58:41 -07: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 [3.11] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) 2022-11-07 19:23:16 -08:00
test_codeop.py gh-96052: codeop: fix handling compiler warnings in incomplete input (GH-96132) 2022-09-25 01:21:21 -07:00
test_collections.py gh-98513: Test abstract methods of some collections types (GH-98516) 2022-11-07 18:19:33 -08:00
test_colorsys.py
test_compare.py
test_compile.py [3.10] GH-95921: Fix positions for some chained comparisons (GH-96968) (GH-96974) 2022-09-20 15:26:56 -07:00
test_compileall.py bpo-40447: accept all path-like objects in compileall.compile_file (GH-19883) 2022-12-23 12:39:55 -08:00
test_complex.py gh-99320: remove tests for old-style class from test_complex (GH-99321) 2022-11-10 03:19:30 -08:00
test_concurrent_futures.py [3.10] gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95375) 2022-07-29 14:36:58 +02: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
test_context.py gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93146) 2022-05-24 10:52:29 +02:00
test_contextlib.py [3.10] gh-95882: Add tests for traceback from contextlib context managers (GH-95883) (#100715) 2023-01-03 22:24:19 +00:00
test_contextlib_async.py [3.10] gh-95882: Add tests for traceback from contextlib context managers (GH-95883) (#100715) 2023-01-03 22:24:19 +00:00
test_copy.py [3.10] gh-100871: Improve copy module tests (GH-100872) (#100975) 2023-01-12 11:12:39 +00:00
test_copyreg.py
test_coroutines.py [3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#100059) 2022-12-06 18:40:30 +01:00
test_cprofile.py
test_crashers.py
test_crypt.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_csv.py gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170) 2022-10-07 12:30:39 -07:00
test_ctypes.py
test_curses.py gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) 2022-04-25 22:57:57 -07:00
test_dataclasses.py [3.10] gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756) (GH-100785) 2023-01-05 18:15:27 -08:00
test_datetime.py bpo-45229: Make datetime tests discoverable (GH-28615) 2021-10-01 00:36:17 -07:00
test_dbm.py [3.10] bpo-45500: Rewrite test_dbm (GH-29002) (GH-29069) 2021-10-19 22:21:03 +02:00
test_dbm_dumb.py
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
test_decimal.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -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
test_deque.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_descr.py [3.10] gh-92112: Fix crash triggered by an evil custom mro() (GH-92113) (#92370) 2022-05-06 21:01:23 -07:00
test_descrtut.py [3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH-95786) 2022-08-08 18:09:06 +03:00
test_devpoll.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_dict.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_dict_version.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_dictcomps.py
test_dictviews.py gh-98512: Add more tests for ValuesView (GH-98515) 2022-11-02 19:33:01 -07:00
test_difflib.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_difflib_expect.html
test_dis.py gh-92886: make test_ast pass with -O (assertions off) (GH-98058) 2022-10-07 22:02:45 -07:00
test_distutils.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_doctest.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
test_doctest.txt
test_doctest2.py bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29095) 2021-10-20 18:52:22 +02:00
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 [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083) 2022-04-07 23:21:03 +01:00
test_ensurepip.py
test_enum.py bpo-44559: [Enum] restore fixes lost in 3.9 reversion (GH-29114) 2021-10-20 19:48:37 -07:00
test_enumerate.py
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
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithDict (GH-96353) 2022-09-08 04:46:53 -07:00
test_extcall.py
test_faulthandler.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_fcntl.py [3.10] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (gh-102122) 2023-02-22 10:36:00 +09:00
test_file.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_file_eintr.py
test_filecmp.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_fileinput.py [3.10] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102099) 2023-02-21 12:39:30 +09:00
test_fileio.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_finalization.py
test_float.py gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) (GH-95859) 2022-08-10 19:57:55 +01:00
test_flufl.py Fix mistake in barry_as_FLUFL test (GH-31392) 2022-02-17 18:11:34 -08:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 02:39:03 -07:00
test_fork1.py
test_format.py [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511) 2021-09-22 01:33:59 +02:00
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) (#94911) 2022-07-16 22:06:33 +01:00
test_ftplib.py bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069) 2022-02-01 18:12:27 -08:00
test_funcattrs.py
test_functools.py [3.10] bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050) (GH-30254) 2021-12-25 16:12:32 +02:00
test_future.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_gdb.py bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28365) 2021-09-15 21:10:33 +02:00
test_generator_stop.py
test_generators.py [3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986). (GH-29988) 2021-12-08 14:46:32 +00:00
test_genericalias.py bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28367) 2021-09-15 21:35:16 +02:00
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py
test_global.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_grammar.py [3.10] gh-99535: Add test for inheritance of annotations and update documentation (GH-99990) (#100509) 2022-12-26 20:44:53 -08:00
test_graphlib.py bpo-45624: make test_graphlib not depend on the iteration order of sets (GH-29233) (GH-29293) 2021-10-28 23:15:01 +02:00
test_grp.py gh-95395: Add argument type error test (GH-95412) (GH-95745) 2022-08-06 19:30:29 +02:00
test_gzip.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_hash.py
test_hashlib.py [3.10] gh-98517: Fix buffer overflows in _sha3 module (#98519) 2022-10-21 12:26:01 -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
test_http_cookiejar.py bpo-45229: Make test_http_cookiejar discoverable (GH-29004) 2021-10-17 09:47:03 -07:00
test_http_cookies.py
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 [3.10] gh-100474: Fix handling of dirs named index.html in http.server (GH-100504) 2022-12-24 15:29:21 -05:00
test_idle.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_imaplib.py gh-92886: Fix test that fails when running with -O in test_imaplib.py (GH-93237) 2022-06-03 20:38:54 -07:00
test_imghdr.py
test_imp.py gh-99578: Fix refleak in _imp.create_builtin() (GH-99642) 2022-11-21 03:44:56 -08:00
test_index.py
test_inspect.py [3.10] gh-85267: Improvements to inspect.signature __text_signature__ handling (GH-98796) (#100393) 2022-12-20 21:25:18 -08:00
test_int.py gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) 2022-09-09 13:13:45 -07:00
test_int_literal.py
test_interpreters.py
test_io.py [3.10] bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and s… (#99842) 2022-11-28 16:57:37 +05:30
test_ioctl.py
test_ipaddress.py gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-25 01:20:53 -07:00
test_isinstance.py bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in tests (GH-29258) 2021-11-04 13:45:05 -07:00
test_iter.py [3.10] gh-101892: Fix SystemError when a callable iterator call exhausts the iterator (GH-101896) (#102422) 2023-03-04 20:56:12 +05:30
test_iterlen.py
test_itertools.py [3.10] gh-60203: Revert changes in cycle.__setstate__ (GH-99982) (#100017) 2022-12-05 17:58:30 +01:00
test_keyword.py gh-102158: Add tests for softkwlist (GH-102159) 2023-02-23 18:52:31 -08:00
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) 2022-06-30 02:46:27 -07:00
test_list.py gh-97616: list_resize() checks for integer overflow (GH-97617) 2022-09-28 16:03:39 -07:00
test_listcomps.py
test_lltrace.py [3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214) 2022-05-26 00:16:32 +02:00
test_locale.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_logging.py [3.10] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) (GH-96533) 2022-09-03 15:10:04 +01:00
test_long.py [3.10] gh-94808: Cover PyObject_PyBytes case with custom __bytes__ method (GH-96610) (#98121) 2022-10-09 07:02:39 -07:00
test_longexp.py
test_lzma.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_mailbox.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_mailcap.py [3.10] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (GH-93543) 2022-09-20 13:12:35 +02:00
test_marshal.py
test_math.py GH-98897: fix memory leak if math.dist raises exception (GH-98898) 2022-10-31 19:47:29 -07:00
test_memoryio.py
test_memoryview.py gh-92888: Fix memoryview bad __index__ use after free (GH-92946) (GH-93950) 2022-06-23 18:10:14 +08:00
test_metaclass.py
test_mimetypes.py bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229) 2022-03-15 08:14:19 -07:00
test_minidom.py gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr (GH-96176) 2022-08-23 09:42:10 -07:00
test_mmap.py
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py
test_netrc.py [3.10] gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918). (GH-91946) 2022-04-26 10:50:22 +03:00
test_nis.py
test_nntplib.py
test_ntpath.py bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-93674) 2022-06-10 17:36:02 +01:00
test_numeric_tower.py gh-68163: Correct conversion of Rational instances to float (GH-25619) (GH-96557) 2022-09-04 13:40:24 +01:00
test_opcache.py
test_opcodes.py
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 [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_ordered_dict.py
test_os.py [3.10] gh-102179: Fix os.dup2 error reporting for negative fds (GH-102180) (#102419) 2023-03-04 20:57:32 +05:30
test_ossaudiodev.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_osx_env.py
test_pathlib.py gh-93156 - fix negative indexing into absolute pathlib.PurePath().parents (GH-93273) 2022-06-03 14:53:00 -07:00
test_patma.py [3.10] gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680) (#93690) 2022-06-10 19:34:15 +01:00
test_pdb.py gh-93696: Locate frozen module source with __file__ (GH-93697) 2022-10-25 06:48:41 -07:00
test_peepholer.py [3.10] bpo-45773: Stop "optimizing" certain jump patterns (GH-29526) 2021-11-11 13:52:43 -08:00
test_pickle.py [3.10] GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) (#94385) 2022-06-28 17:14:47 +01:00
test_picklebuffer.py
test_pickletools.py bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28478) 2021-09-20 18:19:31 +02:00
test_pipes.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_pkg.py
test_pkgutil.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_platform.py gh-97966: Restore prior expectation that uname_result._fields and ._asdict would include the processor. (gh-98343) 2022-11-26 05:52:12 -08:00
test_plistlib.py
test_poll.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_popen.py
test_poplib.py Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_positional_only_arg.py
test_posix.py [3.10] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97967) 2022-10-06 12:14:16 -07:00
test_posixpath.py [3.10] gh-96192: fix os.ismount() to use a path that is str or bytes (GH-96194) (#99456) 2023-01-22 05:19:10 -08:00
test_pow.py GH-102341: Improve the test function for pow (GH-102342) 2023-03-05 09:53:50 -08:00
test_pprint.py
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 [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_property.py [3.10] GH-100942: Fix incorrect cast in property_copy(). (GH-100965). (#101009) 2023-01-15 12:38:59 +05:30
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 [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_pulldom.py
test_pwd.py gh-95376: Add test for names containing null (GH-GH-5394) (GH-95747) 2022-08-06 19:32:27 +02:00
test_py_compile.py
test_pyclbr.py
test_pydoc.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
test_pyexpat.py
test_queue.py bpo-45835: Fix race condition in test_queue (GH-29601) (GH-29612) 2021-11-18 17:05:40 +01:00
test_quopri.py
test_raise.py [3.10] bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) (GH-30953) 2022-01-27 02:51:06 -08:00
test_random.py
test_range.py bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) 2021-09-04 13:39:30 -07:00
test_re.py [3.10] gh-98740: Fix validation of conditional expressions in RE (GH-98764) (GH-99046) 2022-11-03 12:18:50 +02:00
test_readline.py bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28333) 2021-09-15 14:38:49 +02:00
test_regrtest.py gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905) 2022-04-25 08:03:47 -07:00
test_repl.py
test_reprlib.py
test_resource.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03: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
test_runpy.py gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920) 2022-04-25 22:26:47 -07:00
test_sax.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (GH-31144) 2022-09-20 18:55:13 -07:00
test_scope.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_script_helper.py
test_secrets.py
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 [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_set.py bpo-46615: Don't crash when set operations mutate the sets (GH-31120) 2022-02-11 12:44:17 -08:00
test_setcomps.py
test_shelve.py [3.10] bpo-45502: Fix test_shelve (GH-29003) (GH-29305) 2021-10-29 12:40:22 +03:00
test_shlex.py
test_shutil.py bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937) 2022-11-07 04:08:39 -08:00
test_signal.py [3.10] GH-102397: Fix segfault from race condition in signal handling (GH-102399) (#102527) 2023-03-08 13:51:13 +05:30
test_site.py [3.10] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93970) 2022-06-30 02:48:13 -07:00
test_slice.py [3.10] gh-100931: Test all pickle protocols in test_slice (GH-100932). (GH-100978) 2023-01-12 03:14:27 -08:00
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 Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_smtpnet.py
test_sndhdr.py
test_socket.py gh-100374: Fixed a bug in socket.getfqdn() (gh-100375) 2022-12-21 06:06:27 -08:00
test_socketserver.py
test_sort.py
test_source_encoding.py gh-96611: Fix error message for invalid UTF-8 in mid-multiline string (GH-96623) 2022-09-06 16:36:03 -07:00
test_spwd.py
test_sqlite.py
test_ssl.py gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282) 2022-07-27 00:43:12 -07:00
test_startfile.py
test_stat.py
test_statistics.py [3.10] [ GH-99155: Fix NormalDist pickle with 0 and 1 protocols (GH-99156). (GH-99188) (GH-99190) 2022-11-07 04:16:54 -06:00
test_strftime.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_string.py
test_string_literals.py gh-94808: Coverage: Test uppercase string literal prefixes (GH-95925) 2022-09-25 01:58:50 -07:00
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py GH-94254: Make _struct module types immutable (GH-94269) 2022-06-26 03:45:00 -07:00
test_structseq.py
test_subclassinit.py
test_subprocess.py [3.10] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (gh-102122) 2023-02-22 10:36:00 +09:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_symtable.py
test_syntax.py [3.10] gh-101400: Fix incorrect lineno in exception message on contin… (gh-101448) 2023-01-31 23:42:22 +09:00
test_sys.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -07:00
test_sys_setprofile.py [3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace (GH-94511) (#94579) 2022-07-05 19:52:33 +01:00
test_sys_settrace.py [3.10] GH-96864: Check for error between line and opcode events (GH-96969) 2022-09-20 11:42:06 -07:00
test_sysconfig.py [3.10] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93970) 2022-06-30 02:48:13 -07:00
test_syslog.py [3.10] Add more syslog tests (GH-97953). (GH-98101) 2022-10-09 14:21:10 +03:00
test_tabnanny.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_tarfile.py [3.10] gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207) (gh-102230) 2023-02-25 11:56:08 +09:00
test_tcl.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_telnetlib.py
test_tempfile.py gh-83499: Fix closing file descriptors in tempfile (GH-93874) 2022-06-26 01:17:19 -07:00
test_textwrap.py
test_thread.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_threadedtempfile.py
test_threading.py bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549) 2021-09-27 14:39:35 -07:00
test_threading_local.py [3.10] GH-100892: Fix race in clearing threading.local (GH-100922). (#100938) 2023-01-11 21:02:02 +05:30
test_threadsignals.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_time.py bpo-46530: add "thread_time" to test_time.test_get_clock_info (GH-30913) 2022-01-28 08:56:50 -08:00
test_timeit.py
test_timeout.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_tix.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tk.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tokenize.py [3.10] gh-99581: Fix a buffer overflow in the tokenizer when copying lines that fill the available buffer (GH-99605). (#99630) 2022-11-20 22:30:15 +00:00
test_trace.py gh-51524: Fix bug when calling trace.CoverageResults with valid infile (GH-99629) 2022-11-27 23:08:12 -08:00
test_traceback.py bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29826) 2021-11-29 10:07:24 +00:00
test_tracemalloc.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_ttk_guionly.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_ttk_textonly.py bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927) 2021-10-13 18:59:04 +02:00
test_tuple.py
test_turtle.py bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 06:21:15 -08:00
test_type_annotations.py [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) 2021-09-03 21:13:00 -04:00
test_type_comments.py [3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-95935) 2022-08-12 12:03:44 -07:00
test_typechecks.py
test_types.py gh-93021: Fix __text_signature__ for __get__ (GH-93023) (GH-94086) 2022-06-21 22:32:24 +02:00
test_typing.py gh-102433: Add tests for how classes with properties interact with isinstance() checks on typing.runtime_checkable protocols (GH-102449) 2023-03-10 17:45:40 -08:00
test_ucn.py
test_unary.py
test_unicode.py gh-94808: improve test coverage of number formatting (GH-99472) 2022-12-23 18:14:14 -08:00
test_unicode_file.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_unicode_file_functions.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_unicode_identifiers.py
test_unicodedata.py gh-99892: test_unicodedata: skip test on download failure (GH-100011) 2022-12-05 08:05:17 -08:00
test_unittest.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-92986: Fix ast.unparse when ImportFrom.level is None (GH-92992) 2022-09-05 10:39:52 -07:00
test_urllib.py
test_urllib2.py [3.10] gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100) (#102118) 2023-02-22 20:42:28 +09:00
test_urllib2_localnet.py gh-87497: Document that urllib.request sends headers in camel case (GH-24661) (#91517) 2022-04-19 18:20:03 -07:00
test_urllib2net.py GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113) 2022-05-24 05:32:19 -07:00
test_urllib_response.py
test_urllibnet.py
test_urlparse.py gh-96035: Make urllib.parse.urlparse reject non-numeric ports (GH-98273) 2022-10-20 14:29:21 -07:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uu.py
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 gh-98251: Allow venv to pass along PYTHON* variables to pip and ensurepip when they do not impact path resolution (GH-98259) 2022-10-14 09:22:19 -07:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-99051: remove duplicated test from test_weakref (GH-99052) 2022-11-06 11:50:12 -08:00
test_weakset.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_webbrowser.py
test_winconsoleio.py bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) 2021-10-05 13:38:50 +01:00
test_winreg.py bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error (GH-25775) 2022-12-09 05:17:25 -08:00
test_winsound.py
test_with.py
test_wsgiref.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py [3.10] gh-100933: Improve check_element helper in test_xml_etree (GH-100934) (#101687) 2023-02-08 12:40:40 +01:00
test_xml_etree_c.py bpo-27946: Fix possible crash in ElementTree.Element (GH-29915) 2021-12-05 11:04:52 -08:00
test_xmlrpc.py [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) 2022-09-02 09:51:49 -07:00
test_xmlrpc_net.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py [3.10] gh-101566: Sync with zipp 3.14. (GH-102018). (GH-102091) 2023-02-20 15:21:48 -08:00
test_zipfile64.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_zipimport.py gh-92886: Fix tests that fail when running with optimizations (-O) in test_zipimport.py (GH-93236) 2022-06-10 16:32:27 -07:00
test_zipimport_support.py
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
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