cpython/Lib/test
T. Wouters aa9eb5f757
[3.13] gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` (GH-135037) (GH-135064)
Addresses CVEs 2024-12718, 2025-4138, 2025-4330, and 2025-4517.
(cherry picked from commit 3612d8f517)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Signed-off-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-06-03 15:59:54 +02:00
..
archivetestdata gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) 2024-03-22 20:08:00 +02:00
audiodata gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
certdata [3.13] gh-118658: Modify cert generation script to extract cert3.pem (GH-124598) (GH-124972) 2024-10-08 13:37:30 +02:00
cjkencodings
configdata gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879) 2023-11-09 14:52:32 +01:00
crashers [3.13] gh-108297: Update crashers README for test_crashers removal (#121476) 2024-07-08 16:54:51 +10:00
data
decimaltestdata [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
dtracedata
encoded_modules
leakers
libregrtest [3.13] gh-133519: Add console to resources in libregrtest (GH-133520) (#133777) 2025-05-09 16:53:19 +00:00
mathdata [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
regrtestdata/import_from_tests gh-108927: Fix removing testing modules from sys.modules (GH-108952) 2023-12-04 15:43:27 +00:00
subprocessdata [3.13] gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) (#134981) 2025-05-31 14:51:48 +00:00
support [3.13] gh-133167: Fix compilation process with `--enable-optimizations` and `--without-docstrings` (GH-133187) (#133207) 2025-04-30 14:06:31 +00:00
test_ast [3.13] gh-134718: Fix ast.dump() for empty non-default values (GH-134926) (GH-134936) 2025-05-30 15:48:48 +00:00
test_asyncio [3.13] gh-133745: Fix asyncio task factory name/context kwarg breaks (#133948) 2025-05-18 06:50:07 -07:00
test_capi [3.13] gh-131357: Add some extra tests for empty bytes and bytearray (GH-134458) (#134490) 2025-05-22 07:28:44 +00:00
test_cext [3.13] gh-127906: Backport test_cext changes from the main branch (#127923) 2024-12-13 15:04:08 +00:00
test_concurrent_futures [3.13] gh-132063: ensure that `ProcessPoolExecutor` does not swallow falsey exceptions (GH-132129) (#132275) 2025-04-08 15:36:52 +00:00
test_cppext [3.13] gh-127906: Add missing sys import to test_cppext (GH-132902) (#132904) 2025-04-25 08:42:57 +00:00
test_ctypes [3.13] gh-133290: Use PyObject_SetAttr to set _type_ (GH-133292) (GH-133295) 2025-05-02 18:10:32 +02:00
test_dataclasses [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
test_doctest [3.13] gh-108885: Imporove tests for doctest (GH-134832) (GH-134856) 2025-05-28 17:38:02 +00:00
test_email [3.13] gh-134152: Fix UnboundLocalError in email._header_value_parser _get_ptext_to_endchars (GH-134233) (#134677) 2025-05-26 11:02:58 +03:00
test_free_threading gh-132869: Fix crash in `_PyObject_TryGetInstanceAttribute` (#133700) 2025-05-14 12:47:34 +09:00
test_future_stmt [3.13] gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (#126155) 2024-10-30 00:36:06 +00:00
test_gdb [3.13] gh-117174: Fix reference leak and gdb tests (GH-131095) (#131120) 2025-03-11 23:43:07 +00:00
test_import [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
test_importlib [3.13] gh-134100: Fix use-after-free in `PyImport_ImportModuleLevelObject` (GH-134117) (#134172) 2025-05-18 20:38:28 +05:30
test_inspect [3.13] gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting class signature with `inspect.signature` (GH-132055) (#133277) 2025-05-01 20:06:07 -07:00
test_interpreters [3.13] gh-109700: Improve stress tests for interpreter creation (GH-109946) (GH-133391) 2025-05-04 19:18:49 +00:00
test_json [3.13] gh-134578: Mark more slow tests (GH-134579) (GH-134592) 2025-05-23 17:31:05 +00:00
test_module [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
test_multiprocessing_fork [3.13] gh-117657: Skip test when running under TSan (GH-121549) (GH-121553) 2024-07-09 21:37:30 +00:00
test_multiprocessing_forkserver gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_spawn gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_pathlib [3.13] gh-133677: Fix tests when running in non-UTF-8 locale (GH-133865) (GH-133939) 2025-05-12 17:02:19 +00:00
test_peg_generator [3.13] gh-125811: Remove DeprecationWarnings in test_peg_generator (GH-125812) (#125831) 2024-10-22 09:06:26 +00:00
test_pydoc [3.13] gh-133210: Fix `test_pydoc` in `--without-doc-strings` mode (GH-133271) (#133288) 2025-05-02 10:36:35 +00:00
test_pyrepl [3.13] gh-130999: Avoid exiting the new REPL when there are non-string candidates for suggestions (gh-131001) (gh-135020) 2025-06-02 16:58:29 +02:00
test_sqlite3 [3.13] gh-129603: Don't segfault if sqlite3.Row description is None (#129604) (#129923) 2025-02-10 00:21:33 +00:00
test_tkinter [3.13] gh-128562: Fix generation of the tkinter widget names (GH-128604) (GH-128791) 2025-01-13 18:23:33 +02:00
test_tomllib gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
test_tools [3.13] gh-130197: Test pygettext --output option (GH-133041) (GH-133266) 2025-05-09 07:56:58 +00:00
test_ttk [3.13] gh-86673: Loosen test_ttk.test_identify() requirements (GH-125335) (#125390) 2024-10-13 08:04:22 +00:00
test_unittest [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138) 2025-01-22 21:09:51 +02:00
test_warnings [3.13] gh-119605: Respect `follow_wrapped` for `__init__` and `__new__` when getting class signature with `inspect.signature` (GH-132055) (#133277) 2025-05-01 20:06:07 -07:00
test_zipfile [3.13] gh-133677: Fix tests when running in non-UTF-8 locale (GH-133865) (GH-133939) 2025-05-12 17:02:19 +00:00
test_zoneinfo [3.13] gh-114713: Revert gh-114731 (GH-133330) (#133331) 2025-05-03 08:09:54 +00:00
tkinterdata gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
tokenizedata gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) 2023-09-18 14:04:17 +01:00
tracedmodules
translationdata [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
typinganndata [3.13] gh-114053: Fix another edge case involving `get_type_hints`, PEP 695 and PEP 563 (GH-120272) (#121003) 2024-06-25 16:30:08 +00:00
wheeldata gh-116877: Update `wheel` to version `0.43.0` (#116878) 2024-03-18 11:50:32 -04:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
__init__.py
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_test_atexit.py gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643) 2023-11-03 09:45:53 +02:00
_test_eintr.py [3.13] gh-107851: Fix spurious failures in fcntl eintr tests (GH-121556) (#121585) 2024-07-10 15:02:26 +00:00
_test_embed_set_config.py gh-116167: Allow disabling the GIL with `PYTHON_GIL=0` or `-X gil=0` (#116338) 2024-03-11 11:02:58 -04:00
_test_embed_structseq.py gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06:00
_test_monitoring_shutdown.py gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py [3.13] gh-134381: Fix RuntimeError when starting not-yet started Thread after fork (gh-134514) (gh-134597) 2025-05-23 19:45:51 +00:00
_test_venv_multiprocessing.py gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
archiver_tests.py gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082) 2024-02-11 12:38:07 +02:00
audiotests.py
audit-tests.py gh-131423: Update to OpenSSL 3.0.16. (GH-131839) 2025-03-28 16:28:11 +00:00
autotest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
bisect_cmd.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
clinic.test.c [3.13] gh-128083: Fix macro redefinition warning in clinic. (GH-127950) (#128102) 2024-12-19 21:29:14 +00:00
cov.py gh-110722: Make `-m test -T -j` use sys.monitoring (GH-111710) 2023-11-10 18:17:45 +01:00
curses_tests.py
datetimetester.py [3.13] gh-132642: document how to render human-readable `timedelta` objects (GH-133825) (#133836) 2025-05-10 15:57:29 +00:00
dis_module.py
empty.vbs
exception_hierarchy.txt [3.13] gh-119521: Remove _IncompleteInputError from the docs (GH-120993) (GH-121076) 2024-06-27 15:19:20 +02:00
fork_wait.py gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
levenshtein_examples.json gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
list_tests.py [3.13] gh-120384: Fix array-out-of-bounds crash in `list_ass_subscript` (GH-120442) (#120826) 2024-06-21 11:16:24 +00:00
lock_tests.py [3.13] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH-122444) 2024-07-30 09:24:35 +00:00
mapping_tests.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
memory_watchdog.py gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) 2023-03-02 20:10:08 +09:00
mime.types
mock_socket.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py [3.13] gh-131031: Fix test_pickle when invoked directly (GH-133356) (GH-133675) 2025-05-08 15:23:54 +00:00
profilee.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
pstats.pck
pyclbr_input.py [3.13] gh-120449: fix ``test_pyclbr`` introspection for mangled names (GH-120450) (GH-120700) 2024-06-19 09:20:09 +02:00
pythoninfo.py [3.13] gh-115382: Fix cross compiles when host and target use same SOABI 2024-10-20 08:20:34 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
relimport.py
reperf.py
seq_tests.py [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
signalinterproctester.py gh-110033: Fix signal test_interprocess_signal() (#110035) 2023-09-28 19:12:11 +02:00
ssl_servers.py gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
ssltests.py gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
string_tests.py gh-117431: Adapt str.find and friends to Argument Clinic (#117468) 2024-04-03 17:59:18 +02:00
test___all__.py gh-71052: Enable test_concurrent_futures on platforms that lack multiprocessing (gh-115917) 2024-02-25 11:38:18 -08:00
test__colorize.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test__interpchannels.py [3.13] gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121811) 2024-07-15 20:15:47 +00:00
test__interpreters.py [3.13] gh-132171: Fix `_interpreters.run_string` crash on string subclass (GH-132173) (#132219) 2025-04-07 12:23:02 +00:00
test__locale.py [3.13] GH-126727: Fix test_era_nl_langinfo with Japanese ERAs on Solaris (GH-127327) (GH-127645) 2024-12-05 19:08:12 +00:00
test__opcode.py gh-110923: Fix silently skipped tests in test__opcode.py (#110926) 2023-10-16 13:30:35 +00:00
test__osx_support.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test_abc.py gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_abstract_numbers.py gh-77465: Increase test coverage for the numbers module (GH-111738) 2024-01-25 16:35:05 +02:00
test_android.py [3.13] gh-124666: Improve thread cleanup in test_android (GH-131427) (#131433) 2025-03-19 08:30:59 +08:00
test_apple.py [3.13] gh-130940: Remove PyConfig.use_system_logger (#131129) 2025-03-13 11:53:11 +08:00
test_argparse.py [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
test_array.py [3.13] gh-128961: Fix exhausted array iterator crash in __setstate__() (GH-128962) (#128976) 2025-01-18 10:17:42 +00:00
test_asdl_parser.py
test_asyncgen.py [3.13] gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (GH-131682) (#131686) 2025-03-24 19:27:01 +00:00
test_atexit.py
test_audit.py gh-131423: Update to OpenSSL 3.0.16. (GH-131839) 2025-03-28 16:28:11 +00:00
test_augassign.py
test_base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
test_baseexception.py [3.13] gh-119521: Remove _IncompleteInputError from the docs (GH-120993) (GH-121076) 2024-06-27 15:19:20 +02:00
test_bdb.py [3.13] gh-125422: Don't set the caller's f_trace if it's botframe (GH-125427) (#125530) 2024-10-15 15:26:46 +00:00
test_bigaddrspace.py
test_bigmem.py gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09:00
test_binascii.py gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) 2024-05-07 11:18:45 +02:00
test_binop.py
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-82012: Deprecate bitwise inversion (~) of bool (#103487) 2023-05-03 00:00:42 -07:00
test_buffer.py [3.13] gh-126980: Fix `bytearray.__buffer__` crash on `PyBUF_{READ,WRITE}` (GH-126981) (#127023) 2024-11-19 20:37:53 +03:00
test_bufio.py [3.13] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134429) 2025-05-21 17:13:24 +02:00
test_builtin.py [3.13] gh-130070: Fix `exec(<string>, closure=<non-None>)` unexpected path (GH-130071) (#132627) 2025-04-17 09:21:56 +00:00
test_bytes.py [3.13] gh-131015: Add test for bytes formatting errors (#131881) (#132115) 2025-04-05 11:40:33 +02:00
test_bz2.py [3.13] Bump Ruff to 0.6.7 (#124384) (#124389) 2024-09-29 18:04:56 -07:00
test_c_locale_coercion.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_calendar.py [3.13] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484) (GH-126879) 2024-11-15 15:20:25 -08:00
test_call.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_charmapcodec.py
test_class.py [3.13] gh-60712: Include the "object" type in the lists of documented types (GH-103036) (GH-126197) 2024-10-30 13:16:38 -07:00
test_clinic.py [3.13] gh-132753: Argument Clinic: Fix support of c_default for the bool converter (GH-132754) (GH-132766) 2025-04-21 07:10:31 +00:00
test_cmath.py [3.13] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) (#123840) 2024-09-29 18:27:23 -07:00
test_cmd.py gh-102130: Support tab completion in cmd for Libedit. (GH-107748) 2023-12-05 08:24:56 +01:00
test_cmd_line.py [3.13] gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754) (gh-123755) 2024-09-06 11:02:05 +09:00
test_cmd_line_script.py [3.13] gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (GH-116049) (#130066) 2025-02-13 01:49:25 +00:00
test_code.py [3.13] gh-130851: Don't crash when deduping unusual code constants (GH-130853) (#130880) 2025-03-05 15:22:57 -05:00
test_code_module.py [3.13] Fix a typo in code module test (GH-130530) (#130534) 2025-02-25 17:38:40 +00:00
test_codeccallbacks.py [3.13] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) 2025-05-20 14:46:57 +02:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) 2023-11-06 19:59:22 +09:00
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.13] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) 2025-05-20 14:46:57 +02:00
test_codeop.py gh-113703: Correctly identify incomplete f-strings in the codeop module (#113709) 2024-01-05 12:16:46 +00:00
test_collections.py [3.13] gh-134578: Mark more slow tests (GH-134579) (GH-134592) 2025-05-23 17:31:05 +00:00
test_colorsys.py gh-106498: Revert incorrect colorsys.rgb_to_hls change (#106627) 2023-07-11 11:07:20 -04:00
test_compare.py gh-56276: Add tests to test_compare (#3199) 2023-05-20 12:07:40 -04:00
test_compile.py [3.13] gh-132435: Test syntax warnings in a finally block (GH-132436) (GH-132503) 2025-04-14 10:21:36 +03:00
test_compileall.py [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138) 2025-01-22 21:09:51 +02:00
test_compiler_assemble.py gh-117680: make _PyInstructionSequence a PyObject and use it in tests (#117629) 2024-04-17 16:42:04 +01:00
test_compiler_codegen.py [3.13] gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) (GH-124423) 2024-10-08 00:23:49 +03:00
test_complex.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_configparser.py [3.13] gh-130941: Fix `configparser` parsing values with `allow_no_value` and `interpolation` set (GH-130949) (#132588) 2025-04-16 14:19:46 +02:00
test_contains.py
test_context.py [3.13] gh-132002: Fix crash of `ContextVar` on unhashable `str` subtype (GH-132003) (#132007) 2025-04-02 12:15:44 +00:00
test_contextlib.py [3.13] Bump Ruff to 0.6.7 (#124384) (#124389) 2024-09-29 18:04:56 -07:00
test_contextlib_async.py gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (#110500) 2023-10-10 11:38:40 +02:00
test_copy.py [3.13] gh-121300: Add `replace` to `copy.__all__` (GH-121302) (#121337) 2024-07-03 15:28:57 +00:00
test_copyreg.py
test_coroutines.py [3.13] gh-128161: Remove redundant GET_ITER from list comprehension code (backport of GH-134778) (GH-134788) 2025-05-27 14:12:04 +01:00
test_cprofile.py [3.13] gh-132250: Clear error in lsprof callback when method descriptor raises an excep… (GH-132251) (#132281) 2025-04-08 17:19:40 -04:00
test_csv.py [3.13] gh-121982: ``csv``: Add a test case for invalid ``quoting`` constant. (GH-121983) (#124926) 2024-10-03 09:27:28 -07:00
test_curses.py [3.13] bpo-44172: Keep reference to original window in curses subwindow objects (GH-26226) (GH-133370) 2025-05-04 11:15:43 +00:00
test_datetime.py [3.13] gh-120242: Fix handling of `[setUp,tearDown]Class` in `test_datetime` (GH-120243) (#120259) 2024-06-08 08:13:53 +00:00
test_dbm.py gh-100414: Add SQLite backend to dbm (#114481) 2024-02-14 11:14:56 +00:00
test_dbm_dumb.py gh-83383: Always mark the dbm.dumb database as unmodified after open() and sync() (GH-114560) 2024-02-04 17:23:26 +02:00
test_dbm_gnu.py [3.13] gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746) (GH-128023) 2024-12-17 11:45:29 +00:00
test_dbm_ndbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_dbm_sqlite3.py gh-100414: Skip test_dbm_sqlite3 if sqlite3 is unavailable (#115449) 2024-02-14 13:16:09 +00:00
test_decimal.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_decorators.py gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 (gh-110163) 2023-10-27 00:24:56 -05:00
test_defaultdict.py
test_deque.py gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) 2024-02-14 16:08:26 +00:00
test_descr.py [3.13] gh-133210: Fix `test_descr` in `--without-doc-strings` mode (GH-133294) (#133298) 2025-05-02 13:27:30 +00:00
test_descrtut.py gh-115450: Fix direct invocation of `test_desctut` (#115451) 2024-02-14 16:31:28 +03:00
test_devpoll.py
test_dict.py [3.13] GH-133543: Maintain tracking for materialized instance dictionaries (GH-133617) 2025-05-12 13:00:01 -07:00
test_dict_version.py
test_dictcomps.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_dictviews.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_difflib.py
test_difflib_expect.html [3.13] gh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (GH-131221) (#131242) 2025-03-14 12:27:13 +00:00
test_dis.py [3.13] GH-127682: Backport GH-132351 (GH-132384) 2025-04-29 09:35:29 +01:00
test_docxmlrpc.py
test_dtrace.py gh-104280: Add test cases for DTrace probes (#107125) 2023-07-31 10:33:37 +02:00
test_dynamic.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_dynamicclassattribute.py
test_eintr.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_embed.py [3.13] gh-130940: Remove PyConfig.use_system_logger (#131129) 2025-03-13 11:53:11 +08:00
test_ensurepip.py GH-80789: Get rid of the ``ensurepip`` infra for many wheels (#109245) 2024-01-30 01:25:31 +00:00
test_enum.py [3.13] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790) (GH-132896) 2025-04-25 13:30:33 -07:00
test_enumerate.py
test_eof.py [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138) 2025-01-22 21:09:51 +02:00
test_epoll.py gh-102795: Fix use of poll in test_epoll's test_control_and_wait (#102796) 2023-05-04 14:38:20 +00:00
test_errno.py
test_except_star.py [3.13] gh-128049: Fix type confusion bug with the return value of a custom ExceptionGroup split function (GH-128079) (#128139) 2024-12-20 20:18:44 +00:00
test_exception_group.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_exception_hierarchy.py gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
test_exception_variations.py
test_exceptions.py [3.13] gh-111609: Test `end_offset` in SyntaxError subclass (GH-127830) (#130407) 2025-02-21 16:56:39 +02:00
test_extcall.py gh-96751: Remove dead code from `CALL_FUNCTION_EX` opcode (GH-96752) 2022-09-15 10:33:13 +01:00
test_external_inspection.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_faulthandler.py [3.13] gh-128400: Stop-the-world when manually calling `faulthandler` (GH-128422) (GH-128423) 2025-01-02 19:21:16 +00:00
test_fcntl.py [3.13] gh-134744: Fix fcntl error handling (GH-134748) (GH-134795) (#134798) 2025-05-28 12:54:53 +02:00
test_file.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_file_eintr.py
test_filecmp.py [3.13] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122441) 2024-07-30 09:17:35 +00:00
test_fileinput.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_fileio.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_fileutils.py
test_finalization.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_float.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_flufl.py [3.13] gh-125331: Allow the parser to activate future imports on the fly (GH-125482) (#131062) 2025-03-10 22:20:38 +00:00
test_fnmatch.py
test_fork1.py
test_format.py [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
test_fractions.py [3.13] Test also error messages in test_limit_int. (GH-134018) (GH-134032) 2025-05-15 07:45:00 +00:00
test_frame.py [3.13] gh-128396: Fix a crash when inline comprehension has the same … (#130311) 2025-02-19 17:40:03 +00:00
test_frozen.py
test_fstring.py [3.13] gh-129958: Properly disallow newlines in format specs in single-quoted f-strings (GH-130063) (GH-132692) 2025-04-18 17:41:42 +02:00
test_ftplib.py [3.13] gh-131888: fix ResourceWarning in test_ftplib (GH-131889) (#132009) 2025-04-02 12:54:21 +00:00
test_funcattrs.py [3.13] gh-58211: Add tests for the `__self__` attribute of builtins functions (GH-113575) (#132437) 2025-04-12 12:25:51 +00:00
test_functools.py [3.13] gh-133167: Fix compilation process with `--enable-optimizations` and `--without-docstrings` (GH-133187) (#133207) 2025-04-30 14:06:31 +00:00
test_gc.py [3.13] gh-126312: Don't traverse frozen objects on the free-threaded build (GH-126338) (#126866) 2024-11-15 14:46:00 +01:00
test_generated_cases.py [3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) (GH-122174) 2024-07-26 10:51:42 +01:00
test_generator_stop.py
test_generators.py [3.13] GH-127682: Backport GH-132351 (GH-132384) 2025-04-29 09:35:29 +01:00
test_genericalias.py gh-110209: Add __class_getitem__ for generator and coroutine (#110212) 2024-05-06 18:41:32 -07:00
test_genericclass.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_genericpath.py [3.13] gh-124917: Allow keyword args to os.path.exists/lexists on Windows (GH-124918) (#125332) 2024-10-11 15:18:33 -07:00
test_genexps.py [3.13] GH-127682: Backport GH-132351 (GH-132384) 2025-04-29 09:35:29 +01:00
test_getopt.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test_getpass.py gh-76912: Raise OSError from any failure in getpass.getuser() (#29739) 2023-11-27 10:05:55 -08:00
test_getpath.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_gettext.py [3.13] gh-130655: Add a test for big-endian MO files in gettext (GH-132469) (GH-133248) 2025-05-01 11:36:06 +00:00
test_glob.py [3.13] gh-129350: Make tests for glob with trailing slash more strict (GH-129376) (GH-129651) 2025-02-04 14:49:14 +00:00
test_global.py
test_grammar.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_graphlib.py
test_grp.py gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
test_gzip.py [3.13] gh-129726: Break `gzip.GzipFile` reference loop (GH-130055) (#130669) 2025-02-28 08:32:44 +00:00
test_hash.py
test_hashlib.py [3.13] gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (GH-134713) (#134962) 2025-06-01 10:27:02 +02:00
test_heapq.py
test_hmac.py bpo-14322: added test case for invalid update to hmac (#26636) 2024-02-25 03:33:28 -07:00
test_html.py
test_htmlparser.py [3.13] gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658) (GH-133845) 2025-05-10 17:58:29 +00:00
test_http_cookiejar.py [3.13] gh-71339: Use new assertion methods in the http tests (GH-129058) (GH-132500) 2025-05-22 09:40:26 +00:00
test_http_cookies.py [3.13] gh-71339: Use new assertion methods in the http tests (GH-129058) (GH-132500) 2025-05-22 09:40:26 +00:00
test_httplib.py [3.13] gh-71339: Use new assertion methods in the http tests (GH-129058) (GH-132500) 2025-05-22 09:40:26 +00:00
test_httpservers.py [3.13] gh-71339: Use new assertion methods in the http tests (GH-129058) (GH-132500) 2025-05-22 09:40:26 +00:00
test_idle.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test_imaplib.py [3.13] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (GH-129355) 2025-01-27 14:05:59 -08:00
test_index.py
test_int.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_int_literal.py
test_io.py [3.13] gh-134908: Protect `textiowrapper_iternext` with critical section (gh-134910) (gh-135040) 2025-06-02 19:40:42 +00:00
test_ioctl.py [3.13] gh-134744: Fix fcntl error handling (GH-134748) (GH-134795) (#134798) 2025-05-28 12:54:53 +02:00
test_ipaddress.py [3.13] gh-128840: Fix parsing long IPv6 addresses with embedded IPv4 address (GH-134836) (#134846) 2025-05-28 15:46:40 +00:00
test_isinstance.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_iter.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_iterlen.py
test_itertools.py [3.13] gh-93096: Load doctests in `test_itertools` (GH-131133) (#131136) 2025-03-12 08:03:24 +00:00
test_keyword.py gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
test_keywordonlyarg.py Enable ruff on several more files in `Lib/test` (#110929) 2023-10-16 15:57:01 +01:00
test_kqueue.py gh-110395: test: assert after the child dies. (#111816) 2023-11-07 06:05:56 +00:00
test_largefile.py [3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215) 2024-07-24 06:44:41 +00:00
test_launcher.py [3.13] gh-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021) (#131047) 2025-03-10 19:54:10 +00:00
test_linecache.py [3.13] gh-117174: Add a new route in linecache to fetch interactive source code (GH-117500) (#131060) 2025-03-10 23:11:24 +00:00
test_list.py [3.13] gh-132713: Fix repr(list) race condition (#132801) (#132809) 2025-04-23 15:44:33 +02:00
test_listcomps.py [3.13] gh-128161: Remove redundant GET_ITER from list comprehension code (backport of GH-134778) (GH-134788) 2025-05-27 14:12:04 +01:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py [3.13] GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110) (#124146) 2024-09-23 16:37:06 -07:00
test_logging.py [3.13] gh-91555: disable logger while handling log record (GH-131812) (GH-133898) 2025-05-12 07:29:06 +01:00
test_long.py [3.13] GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) (GH-119456) 2024-05-23 16:58:34 +01:00
test_longexp.py
test_lzma.py [3.13] gh-131219: Improve tests in `test_lzma.py` by adding more asserts (GH-131220) (#131231) 2025-03-14 11:05:59 +00:00
test_mailbox.py [3.13] gh-71339: Use new assertion methods in the email tests (GH-129055) (GH-132501) 2025-05-22 09:40:04 +00:00
test_marshal.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_math.py [3.13] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134685) 2025-05-25 22:39:34 -05:00
test_math_property.py gh-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01:00
test_memoryio.py gh-118527: Intern code consts in free-threaded build (#118667) 2024-05-06 20:12:39 -04:00
test_memoryview.py [3.13] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898) (#123936) 2024-09-29 18:23:42 -07:00
test_metaclass.py gh-118465: Add __firstlineno__ attribute to class (GH-118475) 2024-05-06 12:02:37 +03:00
test_mimetypes.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_minidom.py [3.13] gh-63882: Break down `and` tests in `test_minidom` (GH-133026) (#133451) 2025-05-05 19:31:53 +03:00
test_mmap.py gh-118209: Add Windows structured exception handling to mmap module (GH-118213) 2024-05-10 12:00:00 +01:00
test_modulefinder.py
test_monitoring.py [3.13] gh-122247: Move instruction instrumentation sanity check after tracing check (GH-122251) (GH-122812) 2024-08-16 12:01:40 +02:00
test_msvcrt.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_multibytecodec.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_multiprocessing_main_handling.py
test_named_expressions.py gh-100746: Improve `test_named_expressions.py` (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py gh-89392: Remove test_main() in test_netrc (GH-108860) 2023-09-04 12:41:13 +03:00
test_ntpath.py [3.13] gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` (GH-135037) (GH-135064) 2025-06-03 15:59:54 +02:00
test_numeric_tower.py gh-101773: Optimize creation of Fractions in private methods (#101780) 2023-02-27 18:53:22 +00:00
test_opcache.py [3.13] gh-133441: Fix STORE_ATTR_WITH_HINT bytecode (#133446) 2025-05-11 23:10:04 +02:00
test_opcodes.py gh-108303: Move `ann_module*.py` files to `typinganndata/` folder (#108354) 2023-08-23 17:42:08 +02:00
test_openpty.py
test_operator.py [3.13] gh-133167: Fix compilation process with `--enable-optimizations` and `--without-docstrings` (GH-133187) (#133207) 2025-04-30 14:06:31 +00:00
test_optimizer.py gh-118335: Configure Tier 2 interpreter at build time (#118339) 2024-04-30 18:26:34 -07:00
test_optparse.py [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
test_ordered_dict.py [3.13] gh-119004: fix a crash in equality testing between `OrderedDict` (GH-121329) (#124507) 2024-09-27 11:34:48 -07:00
test_os.py [3.13] gh-131263: Skip test_timerfd_negative on NetBSD to prevent system freeze (GH-131431) (#131451) 2025-03-19 12:52:11 +01:00
test_osx_env.py
test_patma.py [3.13] gh-123048: Fix missing source location in pattern matching code (GH-123167) (#123169) 2024-08-20 11:13:43 +00:00
test_pdb.py [3.13] Add classmethod to setUpClass in test_pdb (GH-133840) (#133847) 2025-05-10 18:34:32 +00:00
test_peepholer.py gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
test_pep646_syntax.py gh-89392: Fix running test_pep646_syntax as script (GH-108875) 2023-09-04 15:24:03 +03:00
test_perf_profiler.py [3.13] gh-132553: Build the perf tool without buildid cache (GH-132663) (GH-132681) 2025-04-18 12:51:02 +00:00
test_perfmaps.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_pickle.py [3.13] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131080) 2025-03-11 10:49:14 +00:00
test_picklebuffer.py
test_pickletools.py [3.13] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) (GH-127094) 2024-11-21 11:40:52 +00:00
test_pkg.py [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
test_pkgutil.py [3.13] gh-123780: Make test_pkgutil clean up `spam` module (GH-123036) (#123781) 2024-09-06 22:57:46 +02:00
test_platform.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test_plistlib.py gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026) 2024-01-21 22:29:51 +02:00
test_poll.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_popen.py [3.13] gh-131234: Improve `test_popen` with more asserts (GH-131235) (#131240) 2025-03-14 12:02:47 +00:00
test_poplib.py [3.13] gh-71339: Use new assertion methods in the email tests (GH-129055) (GH-132501) 2025-05-22 09:40:04 +00:00
test_positional_only_arg.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_posix.py [3.13] gh-118201: Simplify conv_confname (#126089) (#131375) 2025-03-18 12:53:10 +08:00
test_posixpath.py [3.13] gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` (GH-135037) (GH-135064) 2025-06-03 15:59:54 +02:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py gh-111147: Fix `test_set_of_sets_reprs` in `test_pprint` (GH-111148) 2023-11-27 12:01:26 +02:00
test_print.py [3.13] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) 2025-02-25 22:50:26 +00:00
test_profile.py gh-69990: Make Profile.print_stats support sorting by multiple values (GH-104590) 2024-02-16 12:03:46 +00:00
test_property.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_pstats.py gh-57879: Increase test coverage for pstats.py (gh-111447) 2023-11-21 22:32:09 +09:00
test_pty.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_pulldom.py
test_pwd.py gh-95376: Add test for names containing null (#GH-5394) 2022-08-06 18:53:19 +02:00
test_py_compile.py Fix test_py_compile with -O mode (GH-115345) 2024-02-19 19:02:51 +02:00
test_pyclbr.py [3.13] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) 2025-01-20 11:19:00 +02:00
test_pyexpat.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_queue.py [3.13] gh-133454: Mark test_queue tests with many threads as bigmem (gh-134575) (GH-135047) 2025-06-02 20:49:32 +00:00
test_quopri.py
test_raise.py gh-112217: Add check to call result for `do_raise()` where cause is a type. (#112216) 2023-11-27 21:13:27 +00:00
test_random.py [3.13] gh-133489: Remove size restrictions on getrandbits() and randbytes() (GH-133658) (GH-134965) 2025-06-02 23:16:30 +03:00
test_range.py Revert "Add tests for empty range equality (#103751)" (#103770) 2023-04-24 14:29:57 -04:00
test_re.py [3.13] gh-101955: Fix SystemError in possesive quantifier with alternative and group (GH-111362) (GH-126962) 2024-11-18 12:13:08 +00:00
test_readline.py [3.13] gh-133711: Fix test_readline.test_nonascii() for UTF-8 Mode (GH-134841) (#134852) 2025-05-28 16:08:08 +00:00
test_regrtest.py [3.13] gh-133711: Fix test_regrtest for PYTHONUTF8=1 (GH-134839) (#134843) 2025-05-28 15:44:03 +00:00
test_repl.py [3.13] gh-117174: Adapt test_multiple_statements_fail_early now that we have always source (GH-131065) (#131850) 2025-03-28 15:39:13 +00:00
test_reprlib.py [3.13] gh-113570: reprlib.repr does not use builtin __repr__ for reshadowed builtins (GH-113577) (GH-125654) 2024-10-17 17:04:02 +00:00
test_resource.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_richcmp.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
test_rlcompleter.py [3.13] gh-133210: Fix `test_rlcompleter` in `--without-doc-strings` mode (GH-133332) (#133348) 2025-05-03 16:01:36 +00:00
test_robotparser.py
test_runpy.py [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138) 2025-01-22 21:09:51 +02:00
test_sax.py gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) 2024-03-25 18:48:27 -07:00
test_sched.py gh-90808: add more examples to `test_sched.test_priority` (#31144) 2022-09-20 18:34:13 -07:00
test_scope.py [3.13] gh-121863: Immortalize names in code objects to avoid crash (GH-121903) (GH-121904) 2024-07-17 09:55:22 +00:00
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_set.py gh-110525: Delete `test_c_api` method from `set` object (#110688) 2023-10-13 10:06:25 +02:00
test_setcomps.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_shelve.py
test_shlex.py gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
test_shutil.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test_signal.py [3.13] gh-130917: update timer and workload in test_signal (GH-130918) (#130969) 2025-03-08 01:05:29 +00:00
test_site.py [3.13] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131409) 2025-03-18 13:48:59 +01:00
test_slice.py GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py gh-108303: Move `smtpd` to `test.support` (#114368) 2024-01-22 14:36:29 +01:00
test_smtpnet.py Test: Get the smtp test server using os.getenv() (#117979) 2024-04-17 15:31:48 +02:00
test_socket.py [3.13] gh-132099: Harmonize Bluetooth address handling (GH-132486) (GH-132497) 2025-04-14 19:36:04 +03:00
test_socketserver.py gh-110393: Remove watchdog with hardcoded timeout (#110400) 2023-10-05 15:02:48 +00:00
test_sort.py GH-116554: Relax list.sort()'s notion of "descending" runs (#116578) 2024-03-12 19:59:42 -05:00
test_source_encoding.py gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727) 2023-10-12 09:34:35 +02:00
test_ssl.py [3.13] gh-131736: only apply `security_level` workaround in `test_ssl` for security levels greater than 1 (GH-131739) (#131967) 2025-04-01 08:22:28 +00:00
test_stable_abi_ctypes.py [3.13] gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680, GH-120955) (GH-120944) 2024-06-24 20:23:30 +02:00
test_startfile.py
test_stat.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_statistics.py [3.13] gh-134578: Mark more slow tests (GH-134579) (GH-134592) 2025-05-23 17:31:05 +00:00
test_str.py [3.13] gh-82045: Correct and deduplicate "isprintable" docs; add test. (GH-130127) 2025-02-17 15:02:39 +01:00
test_strftime.py [3.13] gh-133940: test_strftime incorrectly calculates expected week (GH-134281) (#134302) 2025-05-20 01:17:22 +00:00
test_string.py
test_string_literals.py [3.13] gh-131649: fix test_string_literals SyntaxWarning (GH-131650) (#131766) 2025-03-26 17:31:59 +01:00
test_stringprep.py
test_strptime.py [3.13] gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568) (GH-132309) 2025-04-09 10:50:24 +00:00
test_strtod.py
test_struct.py [3.13] gh-125118: don't copy arbitrary values to _Bool in the struct module (GH-125169) (#125263) 2024-10-10 14:58:57 +00:00
test_structseq.py [3.13] gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) (#122625) 2024-09-02 12:47:18 +02:00
test_subclassinit.py Enable ruff on several more files in `Lib/test` (#110929) 2023-10-16 15:57:01 +01:00
test_subprocess.py [3.13] [tests] test_subprocess maybe avoid a timeout race condition? (GH-133420) (#133421) 2025-05-05 04:25:41 +00:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py [3.13] gh-124402: Speed up test_free_threading and test_super (#124491) (#124585) 2024-09-26 13:44:36 -07:00
test_support.py [3.13] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#131802) 2025-03-29 21:21:33 +02:00
test_symtable.py [3.13] gh-119698: fix a special case in `symtable.Class.get_methods` (GH-121802) (#121909) 2024-07-17 13:54:40 +00:00
test_syntax.py [3.13] gh-128632: fix segfault on nested __classdict__ type param (GH-128744) (#132085) 2025-04-04 08:23:40 -07:00
test_sys.py [3.13] gh-129900: Fix `SystemExit` return codes when the REPL is started from the command line (GH-129901) (#131734) 2025-03-25 20:15:00 +00:00
test_sys_setprofile.py [3.13] gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) (GH-122205) 2024-07-23 22:49:36 +00:00
test_sys_settrace.py [3.13] gh-93691: fix too broad source locations of for statement iterators (GH-120330) (#120399) 2024-06-12 12:18:43 +00:00
test_sysconfig.py [3.13] GH-92897: schedule the check_home deprecation to 3.15 (GH-129102) (#130583) 2025-02-27 18:16:33 +00:00
test_syslog.py gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) 2022-11-30 07:58:20 +09:00
test_tabnanny.py [3.13] gh-120495: Fix incorrect exception handling in Tab Nanny (GH-120498) (#120548) 2024-06-15 11:28:28 +00:00
test_tarfile.py [3.13] gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` (GH-135037) (GH-135064) 2025-06-03 15:59:54 +02:00
test_tcl.py [3.13] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120938) 2024-06-24 09:45:45 +00:00
test_tempfile.py [3.13] gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372) (#130886) 2025-03-05 18:42:55 +01:00
test_termios.py [3.13] gh-132742: Fix newly added tcflush() tests on Android (GH-133070) (GH-133104) 2025-04-28 19:10:42 +00:00
test_textwrap.py
test_thread.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_threadedtempfile.py [3.13] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133664) 2025-05-08 13:20:34 +00:00
test_threading.py [3.13] gh-132542: Only run test_native_id_after_fork if native_id is supported (GH-134408) (GH-134414) 2025-05-21 11:34:49 +00:00
test_threading_local.py [3.13] gh-127190: Fix local_setattro() error handling (GH-127366) (#127367) 2024-12-01 06:48:04 +00:00
test_threadsignals.py gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (#116423) 2024-03-11 21:39:17 +01:00
test_time.py [3.13] gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568) (GH-132309) 2025-04-09 10:50:24 +00:00
test_timeit.py
test_timeout.py [3.13] gh-132535: Fix resource warnings in test_timeout (GH-132572) (GH-132580) 2025-04-16 07:44:47 +00:00
test_tokenize.py [3.13] gh-129958: Properly disallow newlines in format specs in single-quoted f-strings (GH-130063) (GH-132692) 2025-04-18 17:41:42 +02:00
test_trace.py [3.13] gh-129269: Exclude everything in sys.path in `test_coverage_ignore` (gh-130133) (gh-130357) 2025-02-20 15:42:47 +00:00
test_traceback.py [3.13] gh-130999: Avoid exiting the new REPL when there are non-string candidates for suggestions (gh-131001) (gh-135020) 2025-06-02 16:58:29 +02:00
test_tracemalloc.py [3.13] gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191) (#129217) 2025-01-23 13:59:19 +01:00
test_ttk_textonly.py gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00
test_tty.py gh-114328: tty cbreak mode should not alter ICRNL (#114335) 2024-01-21 15:25:52 -08:00
test_tuple.py
test_turtle.py gh-107805: Fix signatures of module-level generated functions in `turtle` (#107807) 2023-09-01 01:18:15 -07:00
test_type_aliases.py [3.13] gh-124498: Fix `TypeAliasType` not to be generic, when `type_params=()` (GH-124499) (#124603) 2024-09-29 18:01:06 -07:00
test_type_annotations.py gh-105164: Detect annotations inside match blocks (#105177) 2023-06-05 06:07:17 -07:00
test_type_cache.py [3.13] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified (gh-122290) 2024-07-25 17:34:01 +00:00
test_type_comments.py gh-115881: Ensure `ast.parse()` parses conditional context managers even with low `feature_version` passed (#115920) 2024-02-26 09:22:09 +00:00
test_type_params.py [3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) (#123890) 2024-09-29 18:24:40 -07:00
test_typechecks.py
test_types.py [3.13] gh-132747: Fix `NULL` dereference when calling a method's `__get__` manually (GH-132772) (#132786) 2025-04-21 21:38:51 +00:00
test_typing.py [3.13] typing: Add missing test case for Protocol inheritance (GH-132597) (#132603) 2025-04-16 15:45:29 +00:00
test_ucn.py [3.13] gh-131807: fix ResourceWarning in test_ucn.py (GH-131808) (#131845) 2025-03-28 19:54:35 +00:00
test_unary.py gh-99688: Fix outdated tests in test_unary (#99712) 2022-12-11 18:44:29 -05:00
test_unicode_file.py
test_unicode_file_functions.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_unicode_identifiers.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_unicodedata.py [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138) 2025-01-22 21:09:51 +02:00
test_univnewlines.py
test_unpack.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_unpack_ex.py [3.13] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119263) 2024-06-07 16:11:20 +00:00
test_unparse.py [3.13] gh-127975: Avoid reusing quote types in ast.unparse if not needed (GH-127980) (#129600) 2025-02-03 00:38:44 +00:00
test_urllib.py [3.13] gh-71339: Use new assertion methods in the urllib tests (GH-129056) (GH-132499) 2025-05-22 09:40:19 +00:00
test_urllib2.py [3.13] gh-71339: Use new assertion methods in the urllib tests (GH-129056) (GH-132499) 2025-05-22 09:40:19 +00:00
test_urllib2_localnet.py [3.13] gh-71339: Use new assertion methods in the urllib tests (GH-129056) (GH-132499) 2025-05-22 09:40:19 +00:00
test_urllib2net.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_urllib_response.py [3.13] gh-128734: Explicitly close sockets in urllib tests (GH-128735) (GH-128748) 2025-01-12 11:30:29 +00:00
test_urllibnet.py [3.13] gh-71339: Use new assertion methods in the urllib tests (GH-129056) (GH-132499) 2025-05-22 09:40:19 +00:00
test_urlparse.py [3.13] gh-71339: Use new assertion methods in the urllib tests (GH-129056) (GH-132499) 2025-05-22 09:40:19 +00:00
test_userdict.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
test_userlist.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
test_userstring.py gh-81005: Refactor str tests to reflect that str and unicode are merged in Python 3 (#13172) 2023-05-23 17:11:29 +03:00
test_utf8_mode.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_utf8source.py gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) 2023-09-18 14:04:17 +01:00
test_uuid.py [3.13] gh-125522: Fix bare except in `test_uuid` (GH-129018) (#129455) 2025-01-29 21:23:10 +00:00
test_venv.py [3.13] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) 2025-01-20 11:19:00 +02:00
test_wait3.py
test_wait4.py
test_wave.py gh-105096: Deprecate wave getmarkers() method (#105098) 2023-05-31 12:09:41 +00:00
test_weakref.py [3.13] gh-123046: Fix regexp to catch cases where the module name is omitted from the weakref repr (GH-123047) (#123058) 2024-08-16 07:41:49 +00:00
test_weakset.py gh-110525: Delete `test_c_api` method from `set` object (#110688) 2023-10-13 10:06:25 +02:00
test_webbrowser.py [3.13] Fix typos in docs, error messages and comments (#122502) (#122606) 2024-09-02 12:44:42 +02:00
test_winapi.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-31 16:22:30 +00:00
test_winconsoleio.py [3.13] gh-124008: Fix calculation of the number of written bytes for the Windows console (GH-124059) (GH-127325) 2024-11-30 09:16:45 +00:00
test_winreg.py gh-103092: Isolate winreg (#103250) 2023-04-17 12:30:48 -06:00
test_winsound.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_with.py [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
test_wmi.py [3.13] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130839) 2025-03-04 15:31:22 +00:00
test_wsgiref.py gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py [3.13] gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) (#128582) 2025-01-11 13:31:04 +02:00
test_xml_etree.py [3.13] gh-133009: fix UAF in `xml.etree.ElementTree.Element.__deepcopy__` (GH-133010) (#133806) 2025-05-10 07:55:47 +00:00
test_xml_etree_c.py bpo-45229: Make ElementTree tests discoverable (GH-108859) 2023-09-04 13:04:32 +03:00
test_xmlrpc.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py [3.13] gh-132396: Resolve 'redefinition of unused name' errors in ``Lib/test/`` (GH-132397) (#132699) 2025-04-18 20:35:35 +01:00
test_zipapp.py [3.13] gh-130379: Fix incorrect zipapp logic to avoid including the target in itself (gh-130509) (gh-130791) 2025-03-03 15:20:05 +00:00
test_zipfile64.py gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
test_zipimport.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_zipimport_support.py gh-117294: Report DocTestCase as skipped if all examples in the doctest are skipped (GH-117297) 2024-03-28 21:59:12 +02:00
test_zlib.py [3.13] gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) (gh-126327) 2024-11-02 08:51:28 +00:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py