cpython/Lib/test
Miss Islington (bot) ab5ef98af6
[3.13] gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows (GH-146591) (GH-149065)
Use ZipFile.extractall() to sanitize file names and extract files.

Files with invalid names (e.g. absolute paths) are now skipped.

Files containing ".." in the name are no longer skipped.
(cherry picked from commit fc829e8875)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-04-27 22:54:45 +03: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 [3.13] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142945) 2025-12-19 13:34:18 +01:00
decimaltestdata [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
dtracedata
encoded_modules
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest [3.13] gh-146202: Create tmp_dir in regrtest worker (GH-146347) (#146350) 2026-03-24 00:10:25 +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-143916: Reject control characters in wsgiref.headers.Headers (GH-143917) (#143973) 2026-01-17 18:23:57 +00:00
test_ast [3.13] gh-144169: Fix three crashes in AST objects with non-str kwargs (GH-144178) (#144260) 2026-01-27 20:37:35 -08:00
test_asyncio [3.13] gh-148808: Add boundary check to asyncio.AbstractEventLoop.sock_recvf… (GH-148809) (#148836) 2026-04-21 21:56:37 +05:30
test_capi [3.13] gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901) (#147437) 2026-03-31 17:06:38 +02:00
test_cext [3.13] gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (GH-132887) (#135391) 2025-06-11 14:55:14 +00:00
test_concurrent_futures [3.13] gh-132969: Fix error/hang when shutdown(wait=False) and task exited abnormally (GH-133222) (GH-135343) 2025-06-16 14:08:03 +02:00
test_cppext [3.13] gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (GH-132887) (#135391) 2025-06-11 14:55:14 +00:00
test_ctypes [3.13] gh-143304: Fix ctypes.CDLL to honor handle parameter on POSIX systems (GH-143318) (GH-145173) 2026-03-05 15:34:49 +01:00
test_dataclasses [3.13] gh-105936: Properly update closure cells for __setattr__ and __delattr__ in frozen dataclasses with slots (GH-144021) (GH-148476) 2026-04-25 22:55:20 -07:00
test_doctest [3.13] gh-136914: Fix support of cached functions and properties in DocTest's lineno computation (GH-136930) (GH-137615) 2025-08-10 20:05:28 +00:00
test_email [3.13] gh-148192: Fix Generator._make_boundary behavior with CRLF line endings. (GH-148193) (#148549) 2026-04-14 12:21:55 -04:00
test_free_threading [3.13] gh-129441: Fix some flakiness in test_instrumentation (gh-141881) (gh-141914) 2025-11-24 17:46:59 +00: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-144601: Avoid sharing exception objects raised in a PyInit function across multiple interpreters (GH-144602) (GH-144880) 2026-02-16 16:05:55 +00:00
test_importlib [3.13] gh-144601: Use _testmultiphase instead of _testsinglephase in test_importlib (GH-144769) (GH-144877) 2026-02-16 10:11:17 -05:00
test_inspect [3.13] gh-138891: fix star-unpack in get_annotations (GH-138951) (#146491) 2026-03-26 21:39:27 +00:00
test_interpreters [3.13] tests: use errno.EBADF instead of hardcoded number in _close_file() (GH-148345) (#148411) 2026-04-12 18:13:53 -07:00
test_json [3.13] gh-132631: Fix "I/O operation on closed file" when parsing JSON Lines file (GH-132632) (#148922) 2026-04-23 19:30:13 +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-143866: Verify return value of pathlib.write_{bytes,text} methods in tests (GH-143870) (#144078) 2026-01-20 21:34:43 +03:00
test_peg_generator [3.13] gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (GH-132887) (#135391) 2025-06-11 14:55:14 +00:00
test_pydoc [3.13] gh-138568: Make help mode in PyREPL not exit on empty line input (GH-143512) (GH-143520) 2026-01-07 18:44:39 +01:00
test_pyrepl [3.13] gh-143394: Skip pyrepl test_no_newline() basic REPL if readline is missing (GH-147973) (#148006) 2026-04-03 12:35:26 +00:00
test_sqlite3 [3.13] gh-146090: fix memory management of internal sqlite3 callback contexts (GH-146569) (#146596) 2026-03-29 15:14:58 +02:00
test_tkinter [3.13] gh-65784: Add support for parametrized resource wantobjects in regrtests (GH-143570) (GH-143914) 2026-01-16 17:01:53 +00:00
test_tomllib gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
test_tools [3.13] compute-changes.py: Fix & test process_changed_files() (GH-144674) (#145014) 2026-02-21 14:24:53 +02:00
test_ttk [3.13] gh-65784: Add support for parametrized resource wantobjects in regrtests (GH-143570) (GH-143914) 2026-01-16 17:01:53 +00:00
test_unittest [3.13] gh-142752: add more thread safety tests for mock (GH-142791) (#142857) 2025-12-17 08:09:59 +00:00
test_warnings [3.13] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140247) 2025-10-21 18:18:27 +00:00
test_zipfile [3.13] Add explanation comments for tests for overlapped ZIP entries (GH-137152) (GH-142311) 2025-12-05 23:29:37 +02:00
test_zoneinfo [3.13] gh-145883: Fix two heap-buffer-overflows in _zoneinfo (GH-145885) (#148086) 2026-04-04 17:14:19 +01: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 [3.13] gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (GH-132887) (#135391) 2025-06-11 14:55:14 +00:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml [3.13] Lint: Create a project-wide `.ruff.toml` settings file (GH-133124) (#137670) 2025-08-25 14:38:16 +03: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 [3.13] gh-142881: Fix concurrent and reentrant call of atexit.unregister() (GH-142901) (GH-143722) 2026-01-12 10:05:09 +00:00
_test_eintr.py [3.13] gh-137397: Skip test_os_open on NetBSD due to indefinite hang (GH-137398) (#137407) 2025-08-05 08:55:53 +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-146313: Fix multiprocessing ResourceTracker deadlock after os.fork() (GH-146316) (#148426) 2026-04-12 10:08:36 -07: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 bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
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-143959: Fix test_datetime if _datetime is unavailable (GH-145248) (GH-146289) 2026-03-22 14:39:08 +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-138584: Increase test coverage for collections.UserList (GH-138590) (#138611) 2025-09-07 09:52:35 +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 bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
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
mp_preload_flush.py [3.13] gh-135335: Simplify preload regression test using __main__ (GH-138686) (#141887) 2025-11-23 19:09:40 -08:00
mp_preload_large_sysargv.py [3.13] gh-144503: Pass sys.argv to forkserver as real argv elements (GH-148194) (#148196) 2026-04-06 23:19:40 -07:00
mp_preload_main.py [3.13] gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) (#138609) 2025-09-08 11:13:23 -07:00
mp_preload_sysargv.py [3.13] gh-143706: Fix sys.argv not set during multiprocessing forkserver __main__ preload (GH-143717) (#143821) 2026-01-13 18:09:05 -08:00
multibytecodec_support.py [3.13] gh-101828: Fix jisx0213 codecs removing null characters (gh-139340) (gh-140112) 2025-10-14 14:48:29 +00:00
NormalizationTest-3.2.0.txt [3.13] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142945) 2025-12-19 13:34:18 +01:00
picklecommon.py [3.13] gh-77188: Add pickle tests for objects with slots (GH-144116) (GH-144120) 2026-01-22 11:26:48 +00:00
pickletester.py [3.13] gh-146059: Cleanup pickle fast_save_enter() test (GH-146481) (#146510) 2026-03-27 10:49:57 +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-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (GH-145589) (#145594) 2026-03-06 21:34:45 +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-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +02: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 [3.13] gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +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-141570: can_colorize: Expect fileno() to raise OSError, as documented (#141716) (#141748) 2025-11-19 14:28:31 +00:00
test__interpchannels.py [3.13] gh-140652: Fix a crash in _interpchannels.list_all() after clo…sing a channel (GH-143743) (GH-144953) 2026-02-18 14:18:39 +00:00
test__interpreters.py [3.13] gh-135855: Raise TypeError When Passing Non-dict Object to _interpreters.set___main___attrs (gh-135903) 2025-06-24 16:23:26 -06: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-144415: Android testbed fixes (GH-142912) (#144417) 2026-02-03 09:28:43 +00: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-112527: Fix help text for required options in argparse (GH-112528) (GH-142477) 2025-12-09 17:36:24 +00:00
test_array.py [3.13] gh-142555: Fix null pointer dereference in array.__setitem__ via re-entrant __index__ (GH-142713) (#144397) 2026-02-02 21:06:59 +01:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
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 gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
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 [3.13] gh-144027: Fix documentation for ignorechars in base64.a85decode() (GH-144028) (GH-144193) 2026-01-23 19:19:22 +00: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 bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_bigmem.py gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09:00
test_binascii.py [3.13] gh-145264: Do not ignore excess Base64 data after the first padded quad (GH-145267) (GH-146326) (GH-146348) 2026-03-24 00:52:20 +01:00
test_binop.py
test_bisect.py [3.13] gh-145269: simplify bisect.bisect doc example (GH-145270) (#145368) 2026-03-01 00:20:20 +01: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-140406: Fix memory leak upon __hash__ returning a non-integer (GH-140411) (GH-140441) 2025-10-22 01:07:32 +00:00
test_bytes.py [3.13] gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +02:00
test_bz2.py [3.13] gh-145607: Ensure BIG_DATA has two compressed blocks in test_bz2 (GH-145730) (#145734) 2026-03-10 21:08:06 -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 bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
test_class.py [3.13] gh-136535: Tests: Correct Py_TPFLAGS_MANAGED_DICT in test_class.py (gh-136538) (gh-140533) 2025-10-24 11:43:32 +00:00
test_clinic.py [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
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-145990: sort --help-env first section by name (others and xoptions already sorted) (GH-146003) 2026-03-15 22:35:53 +00: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-141536: Fix a crash when running test_capi *after* test_code in the same process (GH-141537) (GH-143625) 2026-01-12 20:07:34 +02: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-146054: Limit the growth of encodings.search_function cache (GH-146055) (GH-146068) 2026-03-18 13:46:50 +01: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-143004: Fix possible use-after-free in collections.Counter.update() (GH-143044) (GH-143167) 2025-12-25 13:41:24 +02: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] Correct MAX_N in Lib/zipfile ZipExtFile (GH-144973) (GH-145023) 2026-02-19 23:11:16 +00: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-144173: fix flaky test_complex.test_truediv() (GH-144355) (#145767) 2026-03-10 17:05:07 +00:00
test_configparser.py [3.13] gh-146333: Fix quadratic regex backtracking in configparser option parsing (GH-146399) (GH-148559) 2026-04-15 12:11:10 +02:00
test_contains.py
test_context.py [3.13] gh-142829: Fix use-after-free in Context.__eq__ via re-entrant ContextVar.set (GH-142905) (GH-143871) 2026-01-15 15:00: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-141757: Comply with pickle protocol in test_reduce_5tuple (GH-141759) (GH-141783) 2025-11-20 09:20:00 +00:00
test_copyreg.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_coroutines.py [3.13] GH-135171: Roll back all fixes for GH-127682 as they are not suitable for 3.13 (#135390) 2025-06-11 16:57:35 +02:00
test_cprofile.py [3.13] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140821) 2025-12-20 16:21:11 +02:00
test_csv.py [3.13] gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106) (#148405) 2026-04-11 22:44:45 +00: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-143959: Fix test_datetime if _datetime is unavailable (GH-145248) (GH-146289) 2026-03-22 14:39:08 +00:00
test_dbm.py [3.13] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136379) 2025-07-07 12:50:40 +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 [3.13] gh-135386: Skip readonly tests for the root user (GH-138058) (GH-138064) 2025-08-22 13:44:19 +00:00
test_decimal.py [3.13] gh-130664: support '_' (just as ',') in Decimal's formatting (GH-132155) (#136649) 2025-07-14 14:01:49 +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 [3.13] gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659) (GH-145746) 2026-03-12 10:45:43 +01:00
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-146615: Fix crash in __get__() for METH_METHOD descriptors with invalid type argument (GH-146634) (GH-146648) 2026-03-31 09:22:59 +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 bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_dict.py [3.13] gh-130327: Always traverse managed dictionaries, even when inline values are available (GH-130469) (#145440) 2026-03-02 20:03:08 +00:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
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 [3.13] gh-138669: Increase test coverage for difflib (GH-138670) (#138818) 2025-09-14 19:42:05 +00:00
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-135171: Roll back all fixes for GH-127682 as they are not suitable for 3.13 (#135390) 2025-06-11 16:57:35 +02:00
test_docxmlrpc.py bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) 2022-03-30 12:00:27 +01:00
test_dtrace.py [3.13] gh-138744: Skip test_dtrace on Windows (GH-144657) (#144668) 2026-02-10 14:54:27 +00: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-140011: Delete importdl assertion that prevents importing embedded modules from packages (GH-141605) (#141987) 2025-11-28 23:31:11 -08:00
test_ensurepip.py [3.13] gh-146310: Fix ensurepip to treat empty WHEEL_PKG_DIR as unset (GH-146357) (#146535) 2026-03-27 21:10:44 +00:00
test_enum.py [3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +02:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
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 [3.13] gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) (#142391) 2025-12-08 18:46:55 +00: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 bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) 2022-01-27 13:40:44 +00:00
test_exceptions.py [3.13] gh-146250: Fix memory leak in re-initialization of SyntaxError (GH-146251) (#146519) 2026-03-30 21:36:52 +05:30
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 bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
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 [3.13] gh-133982: Use implementation-specific open in test_fileio.OtherFileTests (GH-135364) (GH-136149) 2025-06-30 22:19:14 +00:00
test_fileutils.py bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
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-143006: Fix and optimize mixed comparison of float and int (GH-143084) (GH-143624) 2026-01-09 17:43:35 +00: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 gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 11:46:29 +03:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py [3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +02:00
test_fractions.py [3.13] gh-130664: Treat '0' fill character with align '=' as zero-padding for Fraction's (GH-131067) (GH-136242) 2025-07-03 11:20:49 +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 bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_fstring.py [3.13] gh-139516: Fix lambda colon start format spec in f-string in t… (#139726) 2025-10-07 23:15:57 +01: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-144475: Fix reference management in partial_repr (GH-145362) (#145882) 2026-03-24 02:30:45 +01:00
test_gc.py [3.13] GH-91636: Clear weakrefs created by finalizers. (GH-136401) (GH-144214) 2026-03-24 00:50:41 +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-100964: Fix reference cycle in exhausted generator frames (G… (#142904) 2025-12-17 20:04:53 +00:00
test_genericalias.py [3.13] gh-143635: Fix crash in ga_repr_items_list (GH-143670) (#143852) 2026-01-15 15:27:31 +00: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-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140845) 2025-10-31 17:58:09 +01:00
test_genexps.py [3.13] GH-135171: Roll back all fixes for GH-127682 as they are not suitable for 3.13 (#135390) 2025-06-11 16:57:35 +02: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: gettext: Add fallback testcase (GH-136857) (#136863) 2025-07-20 12:30:09 +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 bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
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 no-issue: remove unused import from test_graphlib.py (GH-29853) 2021-11-30 11:27:37 +09:00
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 bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) 2021-10-10 17:29:46 +09:00
test_hashlib.py [3.13] gh-141907: Better handle support for SHA3 for test_hashlib (GH-141908) (#141919) 2025-11-25 01:32:55 +00:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_hmac.py [3.13] gh-142451: correctly copy HMAC attributes in HMAC.copy() (GH-142510) (#142701) 2025-12-14 09:36:26 +00:00
test_html.py
test_htmlparser.py [3.13] gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904) (GH-141746) 2025-11-19 12:17:54 +00:00
test_http_cookiejar.py [3.13] gh-135120: Add test.support.subTests() (GH-135121) (GH-135210) 2025-06-06 13:16:50 +00:00
test_http_cookies.py [3.13] gh-90309: Base64-encode cookie values embedded in JS (GH-148888) 2026-04-23 15:05:17 +02:00
test_httplib.py [3.13] gh-119451: Fix a potential denial of service in http.client (GH-119454) (#142139) 2025-12-05 16:21:57 +01:00
test_httpservers.py [3.13] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216) (#142296) 2025-12-05 15:37:09 +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-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436) (GH-139407) 2025-09-29 06:25:51 +00:00
test_index.py
test_int.py [3.13] gh-142554: avoid divmod crashes due to bad _pylong.int_divmod (GH-142673) (#142697) 2025-12-14 09:03:14 +00:00
test_int_literal.py
test_io.py [3.13] gh-142594: fix by property calls io.TextIOWrapper.detach (GH-142706) (GH-142757) 2025-12-16 10:55:35 +01: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-141497: Make ipaddress.IP{v4,v6}Network.hosts() always returning an iterator (GH-141547) (GH-141695) 2025-11-18 11:43:15 +02: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] Doc: fix duplicated words (GH-136086) (#137357) 2025-08-04 06:41:47 +08:00
test_iterlen.py
test_itertools.py [3.13] gh-146613: Fix re-entrant use-after-free in itertools._grouper (GH-147962) (#148011) 2026-04-07 12:24:54 +02: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-122941: Fix test_launcher sporadic failures via py.ini isolation (GH-145090) 2026-03-06 10:22:19 +00:00
test_linecache.py [3.13] gh-133253: making linecache thread-safe (GH-133305) (#143911) 2026-01-16 13:34:53 -05: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-145701: Fix __classdict__ & __conditional_annotations__ in class-scope inlined comprehensions (GH-145702) (#145711) 2026-03-09 14:44:31 -07:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py [3.13] gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) (GH-139422) 2025-09-30 17:53:45 +02:00
test_logging.py [3.13] gh-143237: Fix support of named pipes in the rotating logging handlers (GH-143259) (#143298) 2026-01-25 17:09:40 +00:00
test_long.py [3.13] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138783) 2025-09-11 10:53:27 +00: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 [3.13] gh-148653: Fix reference leaks in test_marshal introduced in gh-148698 (GH-148725) (GH-148728) 2026-04-18 12:34:25 +00: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 [3.13] gh-143602: Fix duplicate buffer exports in io.BytesIO.write (#143629) (#143872) (#143878) 2026-01-16 14:23:03 +01:00
test_memoryview.py [3.13] gh-142664: fix UAF in memoryview.__hash__ via re-entrant data's __hash__ (GH-143217) (#143222) 2025-12-27 13:43:11 +00:00
test_metaclass.py [3.13] gh-127773: Disable attribute cache on incompatible MRO entries (GH-127924) (GH-143729) 2026-01-26 16:31:52 +01: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-142145: Avoid timing measurements in quadratic behavior test (gh-143105) (#143140) 2025-12-24 13:26:07 +00:00
test_mmap.py [3.13] gh-138204: Forbid expansion of a shared anonymous mmap on Linux (GH-138220) (GH-138387) 2025-09-03 11:33:08 +03:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
test_monitoring.py [3.13] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140821) 2025-12-20 16:21:11 +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 Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
test_named_expressions.py gh-100746: Improve test_named_expressions.py (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py [3.13] gh-135815: skip netrc security checks if os.getuid is missing (GH-135816) (#135826) 2025-06-22 20:12:20 +00:00
test_ntpath.py [3.13] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140845) 2025-10-31 17:58:09 +01: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-132744: Check recursion limit in _PY_FRAME_GENERAL (GH-132746) (GH-138032) 2025-08-22 20:25:24 +08: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-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +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-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145432) 2026-03-02 18:32:29 +00:00
test_osx_env.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_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] gh-142836: Avoid /proc fd pipes on Solaris (GH-142853) (#142855) 2025-12-17 08:20:28 -05:00
test_peepholer.py [3.13] gh-148973: fix segfault on mismatch between consts size and oparg in compiler (GH-148974) (#148997) 2026-04-25 22:59:40 +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-124613: Deactivate perf support in tests if the jit is set (GH-124794) (GH-148214) 2026-04-07 22:51:43 +08: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-143638: Forbid cuncurrent use of the Pickler and Unpickler objects in C implementation (GH-143664) (GH-143687) 2026-01-11 12:34:36 +00:00
test_picklebuffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_pickletools.py [3.13] gh-139646: fix typo in pickletools error message (GH-139647) (GH-139650) 2025-10-07 20:19:24 +02: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 [3.13] gh-143346: Fix calculation of the line width for wrapped Base64 in plistlib (GH-143347) (GH-143720) 2026-01-12 09:04:00 +00: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-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699) (#145074) 2026-02-21 16:05:57 +01:00
test_posixpath.py [3.13] gh-135120: Add test.support.subTests() (GH-135121) (GH-135210) 2025-06-06 13:16:50 +00:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py [3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +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-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142238) 2025-12-05 15:20:42 -05:00
test_pulldom.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
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 [3.13] gh-145234: Normalize decoded CR in string tokenizer (GH-145281) (#145312) 2026-02-28 01:38:36 +00:00
test_pyclbr.py [3.13] gh-139289: Lazy import rlcompleter to fix the refleak (GH-139305) (#139357) 2025-09-26 22:50:33 +08:00
test_pyexpat.py [3.13] gh-144984: Fix crash in Expat's ExternalEntityParserCreate error paths (GH-144992) (#146142) 2026-04-07 12:22:22 +02: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 bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_raise.py [3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908) (#141283) 2025-11-09 15:57:26 +01:00
test_random.py [3.13] gh-135326: Restore support of __index__ in random.getrandbits() (#135332) 2025-06-10 12:41:10 +02:00
test_range.py [3.13] GH-141312: Allow only integers to longrangeiter_setstate state (GH-141317) (GH-141568) 2025-11-15 21:14:17 +02:00
test_re.py [3.13] gh-91214: Skip tests failing on Solaris (GH-31978) (GH-138462) 2025-12-31 13:09:10 +02: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-148487: Fix issues in test_add_python_opts (#148507) (#148546) 2026-04-14 10:08:32 +00:00
test_repl.py [3.13] gh-144759: Fix undefined behavior from NULL pointer arithmetic in lexer (GH-144788) (#145355) 2026-02-28 13:49:37 +00:00
test_reprlib.py [3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +02:00
test_resource.py [3.13] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (GH-137507) 2025-08-07 09:37:02 +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 [3.13] gh-88375, gh-111788: Fix parsing errors and normalization in robotparser (GH-138502) (GH-138549) 2025-09-05 20:21:02 +00:00
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 bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01:00
test_secrets.py
test_select.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
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 [3.13] Add regression test for add() after remove() with hash collision in set (GH-143781) (GH-143859) 2026-01-15 10:04:34 +00: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 gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
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-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows (GH-146591) (GH-149065) 2026-04-27 22:54:45 +03: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-140170: Fix test_site with -s flag (GH-140179) (#140201) 2025-10-16 10:57:00 +00:00
test_slice.py GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py [3.13] gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (GH-136623) (#138087) 2025-08-23 14:27:47 +02:00
test_smtpnet.py [3.13] gh-70039: smtplib: store the server name in ._host in .connect() (GH-115259) (#148272) 2026-04-08 18:15:16 -04:00
test_socket.py [3.13] gh-145548: Don't use VMADDR_CID_LOCAL from socket (GH-145735) 2026-03-10 16:01:52 +01: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 [3.13] gh-144872: fix heap buffer overflow _PyTokenizer_ensure_utf8 (GH-144807) (#145441) 2026-03-02 23:00:59 +00:00
test_ssl.py [3.13] gh-148508: Add resilience to SSL preauth tests on iOS (GH-148536) (#148540) 2026-04-14 11:54:43 +08: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 bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
test_stat.py [3.13] gh-144050: Fix stat.filemode pure Python file type detection (GH-144059) (GH-144074) 2026-01-20 12:44:46 +00:00
test_statistics.py [3.13] gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531) (#141584) 2025-11-15 04:45:28 +00:00
test_str.py [3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026) 2025-06-30 11:40:06 +02: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 bpo-46307: Add string.Template.get_identifiers() method (GH-30493) 2022-01-11 11:15:42 -08:00
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-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139645) 2025-10-06 13:49:50 +03:00
test_strtod.py
test_struct.py [3.13] gh-145633: Fix struct.pack('f') on s390x (#146422) (#146461) 2026-03-26 11:45:10 +00:00
test_structseq.py [3.13] gh-145376: Fix GC tracking in structseq.__replace__ (GH-145820) (#145924) 2026-03-16 14:38:24 +05:30
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] gh-141473: Speed up subprocess test_communicate_timeout_large_input long tail (GH-149003) (#149005) 2026-04-26 04:27:03 +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-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
test_syntax.py [3.13] gh-130077: Properly match full soft keywords in the parser (GH-135317) (#135399) 2025-08-04 15:18:05 +01:00
test_sys.py [3.13] gh-143959: Make _datetime optional for test_sys (GH-144003) (#144144) 2026-01-22 11:15:00 +00:00
test_sys_setprofile.py [3.13] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140821) 2025-12-20 16:21:11 +02: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-146541: Allow building the Android testbed for 32-bit targets (GH-146542) (#148107) 2026-04-06 07:47:01 +08: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-141707: Skip TarInfo DIRTYPE normalization during GNU long name handling (GH-145818) 2026-03-17 10:51:43 +01:00
test_tcl.py [3.13] gh-65784: Add support for parametrized resource wantobjects in regrtests (GH-143570) (GH-143914) 2026-01-16 17:01:53 +00:00
test_tempfile.py [3.13] gh-66305: Fix a hang on Windows in the tempfile module (GH-144672) (GH-145169) 2026-02-24 11:37:52 +00: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 [3.13] gh-139065: Fix trailing space before long word in textwrap (GH-139070) (GH-139903) 2025-10-10 13:51:41 +00:00
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-87135: Hang non-main threads that attempt to acquire the GIL during finalization (GH-105805) (GH-137827) 2025-08-17 09:08:14 -07: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-143528: Fix test_time.test_thread_time() (GH-143558) (#143560) 2026-01-08 13:29:41 +00:00
test_timeit.py [3.13] gh-148254: Use singular "sec" in timeit verbose output (GH-148290) (#148304) 2026-04-09 15:06:27 +00:00
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-140576: Fixed crash produced by lexer in case of dedented zero byte (GH-140583) (#140762) 2025-10-29 14:33:55 +00: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-139933: correctly suggest attributes for classes with a custom __dir__ (GH-139950) (GH-145827) (GH-145833) 2026-03-11 22:02:01 +01: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 bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_turtle.py [3.13] gh-138772: Add tests for Turtle.dot() signature (GH-138773) (#140992) 2025-11-05 17:24:46 +02: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 [3.13] gh-148157: Check for _PyPegen_add_type_comment_to_arg fail in _PyPegen_name_default_pair (GH-148158) (#148163) 2026-04-06 12:13:32 +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-143636: fix a crash when calling `__replace__ on invalid SimpleNamespace` instances (GH-143655) (#145940) 2026-03-14 11:00:56 +00:00
test_typing.py [3.13] gh-146553: Fix infinite loop in typing.get_type_hints() on circular __wrapped__ (GH-148595) (#148896) 2026-04-23 02:55:40 +00:00
test_ucn.py [3.13] gh-80667: Fix lookup for Tangut ideographs in unicodedata (GH-144789) (GH-144871) (GH-144875) 2026-02-16 15:02:01 +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 gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 15:57:26 +02:00
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-88091: Fix unicodedata.decomposition() for Hangul Syllables (GH-144993) (GH-145190) 2026-02-25 00:27:40 +02:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_unpack.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_unpack_ex.py [3.13] Correct MAX_N in Lib/zipfile ZipExtFile (GH-144973) (GH-145023) 2026-02-19 23:11:16 +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-143925: Reject control characters in data: URL mediatypes (#144111) 2026-01-25 17:06:01 +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 [3.13] gh-140691: urllib.request: Close FTP control socket if data socket can't connect (GH-140835) (GH-141657) 2025-11-18 13:34:40 +01: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-135120: Add test.support.subTests() (GH-135121) (GH-135210) 2025-06-06 13:16:50 +00:00
test_userdict.py [3.13] gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +02:00
test_userlist.py [3.13] gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +02:00
test_userstring.py [3.13] gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) (GH-146296) 2026-03-22 18:06:01 +02: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-132710: only use stable _uuid.generate_time_safe() to deduce MAC address (GH-132901) (#134704) 2025-08-05 07:56:03 +00:00
test_venv.py [3.13] gh-145417: Do not preserve SELinux context when copying venv scripts (GH-145454) (#145550) 2026-03-05 17:44:29 +00:00
test_wait3.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wait4.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wave.py [3.13] gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH-136529) (GH-136607) 2025-07-13 06:13:01 +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] gh-137586: Open external osascript program with absolute path (GH-137584) (#148174) 2026-04-07 03:35:14 +00: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 [3.13] gh-142282 Fix winreg.QueryValueEx() under race condition (GH-142283) (GH-142456) 2025-12-09 16:46:24 +02: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 [3.13] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (GH-144371) (#145585) 2026-03-06 12:45:34 +00: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-148735: Fix a UAF in Element.findtext() (GH-148738) (#148923) 2026-04-25 10:38:14 +01: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_xpickle.py [3.13] gh-75572: Speed up test_xpickle (GH-144393) (GH-144404) 2026-02-03 10:40:48 +00:00
test_xxlimited.py bpo-45459: Add Py_buffer to limited API (GH-29991) 2022-02-02 07:03:10 -08:00
test_xxtestfuzz.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py [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
xpickle_worker.py [3.13] gh-75572: Speed up test_xpickle (GH-144393) (GH-144404) 2026-02-03 10:40:48 +00:00