cpython/Lib/test
Danny Lin aec0aed197
gh-51067: Add remove() and repack() to ZipFile (GH-134627)
The docs included in the commit do the best job of describing this.

Much discussion on the PR and issue.

thank you to to core team folks jaraco, emmatyping, gpshead, and all others who added their constructive comments along the way.

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2026-06-20 12:45:53 -07: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-60729: Add IEEE format wave audio support (GH-145931) 2026-03-18 12:46:26 +00:00
audit_test_data gh-138310: Adds sys.audit event for import_module (#138311) 2025-09-19 06:21:42 -07:00
certdata gh-107562: Update test certificates to expire far in the future (GH-125104) 2024-10-09 11:17:02 +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 gh-121921: Make bogus_code_obj.py crash the interpreter (#121922) 2024-07-18 04:02:08 -04:00
data gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) 2025-12-18 18:04:28 +01:00
decimaltestdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
dtracedata gh-98894: Restore function entry/exit DTrace probes (#142397) 2026-05-05 00:29:55 +00:00
encoded_modules
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest gh-150114: Fix get_process_memory_usage() on Windows (#150399) 2026-05-25 14:04:37 +00:00
mathdata gh-150534: Add C23 half-turn trigonometric *pi functions (GH-150555) 2026-06-06 10:19:45 +00: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 gh-134954: Hard-cap max file descriptors in subprocess test fd_status (#134955) 2025-05-31 07:29:03 -07:00
support gh-148853: Catch PermissionError in test in_systemd_nspawn_sync_suppressed() (#148854) 2026-06-15 16:25:08 +02:00
test_ast bpo-38131: Improve messages when generating AST nodes from objects with wrong field values (GH-17715) 2026-06-04 10:58:51 +00:00
test_asyncio gh-151522: Guard against None transport in slow-socket SSL test (#151523) 2026-06-15 21:51:39 -07:00
test_capi gh-141510 Add frozendict fast paths to abstract.c (#150692) 2026-06-19 08:41:00 +00:00
test_cext gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
test_concurrent_futures gh-101267: ProcessPoolExecutor no longer shares 1 BrokenProcessPool exception among all failed futures (GH-101268) 2026-06-13 01:23:39 -07:00
test_cppext gh-148690: Build Windows freethreaded binaries into separate directory and include python3t.dll on GIL-enabled (GH-149218) 2026-05-04 17:45:08 +01:00
test_ctypes gh-151422: Don't link libffi into _ctypes_test.so (#151423) 2026-06-16 06:16:16 +08:00
test_dataclasses gh-138991: Update dataclass documentation for new eq behavior in Python 3.13 (#139007) 2026-06-11 17:15:29 +00:00
test_doctest gh-141510, PEP 814: Add built-in frozendict type (#144757) 2026-02-17 10:54:41 +01:00
test_email gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) 2026-06-16 14:49:54 +03:00
test_free_threading gh-151218: Replace sys.flags in PyConfig_Set() (#151402) 2026-06-16 16:17:33 +00:00
test_future_stmt gh-143055: Fix crash in AST unparser when unparsing dict comprehension unpacking (#145556) 2026-03-09 10:37:23 -07:00
test_gdb Skip test_jit when the JIT backend is "interpreter" (GH-149423) 2026-05-06 09:20:33 +01:00
test_import gh-150633: Minor improvement of a newly added test (#151103) 2026-06-08 19:21:00 +00:00
test_importlib GH-83065: Fix import deadlock by implementing hierarchical module locking (GH-137196) 2026-04-28 01:06:23 -07:00
test_inspect gh-149083: use sentinel to fix _functools.reduce() signature (#149591) 2026-05-10 15:22:16 -07:00
test_interpreters tests: use errno.EBADF instead of hardcoded number in _close_file() (GH-148345) 2026-04-11 17:01:18 -07:00
test_io gh-143008: Fix Null pointer dereferences in TextIOWrapper underlying stream access (#145957) 2026-06-09 12:31:44 +02:00
test_json Skip test_highly_nested_objects_decoding during the PGO profile task. (GH-151460) 2026-06-14 12:29:26 +00:00
test_lazy_import gh-151510: Fix __lazy_import__ without frame (#151511) 2026-06-17 14:09:51 -04:00
test_module gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
test_multiprocessing_fork gh-117657: Skip test when running under TSan (GH-121549) 2024-07-09 14:12:45 -07:00
test_multiprocessing_forkserver gh-149879: Fix multiprocessing tests on Cygwin (#150031) 2026-05-19 00:45:35 +02:00
test_multiprocessing_spawn gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_os gh-151519: Check effective gid in _test_all_chown_common group-0 guard (#151521) 2026-06-16 18:05:21 +02:00
test_pathlib gh-86533: Make Path.mkdir parent_mode tests umask-independent (#150040) 2026-05-19 01:19:06 +00:00
test_peg_generator gh-142349: Fix build errors from PEP 810 (#144726) 2026-02-12 08:18:36 +00:00
test_profiling gh-150966: Fix live profiling error tests (GH-151020) 2026-06-17 15:17:16 +02:00
test_pydoc gh-150285: Wrap long single-line summary in text output in pydoc (GH-151081) 2026-06-10 13:44:35 +03:00
test_pyrepl gh-151390: Colorize match + and match - in the REPL (#151391) 2026-06-14 19:06:30 +03:00
test_sqlite3 gh-150913: Fix sqlite3.Blob validation for empty slice assignment (GH-150915) 2026-06-04 16:41:47 +03:00
test_string GH-132661: Add `string.templatelib.convert()` (#135217) 2025-07-15 11:56:42 +02:00
test_tkinter gh-151678: Add tests for tkinter widget virtual events (GH-151793) 2026-06-20 14:31:40 +00:00
test_tomllib gh-149231: tomllib: Limit the number of parts in a key (GH-149233) 2026-05-04 13:49:07 +02:00
test_tools gh-130197: Test pygettext's --version CLI option (#133022) 2026-06-14 19:17:45 +00:00
test_ttk gh-151678: Add tests for tkinter widget virtual events (GH-151793) 2026-06-20 14:31:40 +00:00
test_unittest gh-120665: make unittest loaders avoid loading test cases that are abstract base classes (#120666) 2026-06-17 07:48:09 -04:00
test_warnings gh-143231: Add the module attribute to warnings.WarningMessage (GH-149298) 2026-05-03 09:35:47 +00:00
test_zipfile gh-51067: Add remove() and repack() to ZipFile (GH-134627) 2026-06-20 12:45:53 -07:00
test_zoneinfo gh-145883: Fix two heap-buffer-overflows in _zoneinfo (#145885) 2026-04-04 13:29:17 +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 gh-126946: Improve error message in getopt.do_longs based on existing comment (GH-126871) 2024-11-26 10:54:02 +02:00
typinganndata gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwardrefs (#136319) 2025-07-06 16:44:20 -07:00
wheeldata gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml gh-145239: Accept unary plus literal pattern (#148566) 2026-04-23 22:07:28 +03:00
__init__.py
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_code_definitions.py gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVarCounts() (gh-135438) 2025-06-13 16:47:49 -06:00
_crossinterp_definitions.py gh-87859: Track Code Object Local Kinds For Arguments (gh-132980) 2025-04-29 02:21:47 +00:00
_test_atexit.py gh-142881: Fix concurrent and reentrant call of atexit.unregister() (GH-142901) 2026-01-12 10:45:10 +02:00
_test_eintr.py gh-137397: Skip test_os_open on NetBSD due to indefinite hang (#137398) 2025-08-05 10:32:21 +02:00
_test_embed_structseq.py gh-148014: Accept a function name in -X presite option (#148015) 2026-04-07 14:05:39 +00: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 gh-149879: Fix multiprocessing resource tracker tests on Cygwin (#150440) 2026-05-26 04:23:52 +02: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 GH-60729: Add IEEE format wave audio support (GH-145931) 2026-03-18 12:46:26 +00:00
audit-tests.py gh-149474: use Py_fopen in Binary{Reader,Writer} for audit hook and path-like support (#149524) 2026-05-09 01:01:35 +01: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 gh-144545: Improve handling of default values in Argument Clinic (GH-146016) 2026-03-17 12:16:35 +02:00
cov.py gh-148014: Accept a function name in -X presite option (#148015) 2026-04-07 14:05:39 +00:00
curses_tests.py
datetimetester.py gh-151770: Fix datetime.fromisoformat() on an out-of-range month w/ a 24:00 time (#151771) 2026-06-20 17:33:16 +01:00
dis_module.py
empty.vbs
exception_hierarchy.txt gh-142349: Implement PEP 810 - Explicit lazy imports (#142351) 2026-02-12 00:15:33 +00: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 gh-138584: Increase test coverage for collections.UserList (#138590) 2025-09-07 10:53:22 +02:00
lock_tests.py gh-134322: Fix repr(threading.RLock) (#134389) 2025-05-22 16:46:57 +00:00
mapping_tests.py gh-141510, PEP 814: Add built-in frozendict type (#144757) 2026-02-17 10:54:41 +01:00
memory_watchdog.py gh-150114: Use get_process_memory_usage() in memory watchdog (#150402) 2026-05-25 21:15:12 +00:00
mime.types
mime.types2 gh-93417: Improve test_mimetypes (GH-150725) 2026-06-01 23:02:40 +03: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 gh-135335: Simplify preload regression test using __main__ (GH-138686) 2025-11-23 15:37:15 -08:00
mp_preload_large_sysargv.py gh-144503: Pass sys.argv to forkserver as real argv elements (GH-148194) 2026-04-06 22:41:02 -07:00
mp_preload_main.py gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) 2025-09-07 07:49:54 +00:00
mp_preload_sysargv.py gh-143706: Fix sys.argv not set during multiprocessing forkserver __main__ preload (#143717) 2026-01-12 15:47:21 -08:00
multibytecodec_support.py gh-101828: Fix jisx0213 codecs removing null characters (gh-139340) 2025-10-14 22:55:00 +09:00
NormalizationTest-3.2.0.txt gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) 2025-12-18 18:04:28 +01:00
picklecommon.py gh-141510, PEP 814: Add frozendict support to pickle (#144967) 2026-02-21 11:07:55 +01:00
pickletester.py gh-148914: Fix memoization of in-band PickleBuffer in the Python implementation (GH-149052) 2026-05-02 12:04:05 +03: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 gh-120449: fix `test_pyclbr` introspection for mangled names (GH-120450) 2024-06-18 14:29:43 +00:00
pythoninfo.py gh-146410: Add --pythoninfo option to regrtest (#146413) 2026-03-26 10:56:38 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314) 2025-05-03 07:54:33 +00:00
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
relimport.py
seq_tests.py gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) 2026-03-22 16:22:25 +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 gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) 2026-03-22 16:22:25 +02:00
test___all__.py gh-137282: Fix TypeError in tab completion and dir() of concurrent.futures (GH-137214) 2025-07-31 16:17:27 +00:00
test__colorize.py gh-137855: Lazy import inspect module in dataclasses (#144387) 2026-04-25 22:57:38 -07:00
test__interpchannels.py gh-140652: Fix a crash in _interpchannels.list_all() after closing a channel (ПР-143743) 2026-02-18 14:54:48 +02:00
test__interpreters.py GH-137630: Convert `_interpreters` to use Argument Clinic (#137631) 2025-08-12 16:23:13 +01:00
test__locale.py gh-149879: Fix test__locale on Cygwin (#150248) 2026-05-22 21:31:12 +02:00
test__opcode.py gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700) 2025-02-07 22:39:54 +00:00
test__osx_support.py gh-136677: Introduce executable specific linker flags to configure (#137296) 2026-02-24 22:52:02 +00:00
test_abc.py gh-149609: Raise deprecation warnings for abc.{abstractclassmethod,abstractstaticmethod,abstractproperty} (#149636) 2026-05-31 07:26:52 +00:00
test_abstract_numbers.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_android.py gh-144415: Android testbed fixes (#142912) 2026-02-03 16:37:34 +08:00
test_annotationlib.py gh-141388: Improve docs/tests for non-function callables as annotate functions (#142327) 2026-05-02 18:21:59 -07:00
test_apple.py gh-126925: Modify how iOS test results are gathered (#127592) 2024-12-09 13:28:57 +08:00
test_argparse.py gh-149614 - Restore deepcopiability of argparse.ArgumentParser instances (#149617) 2026-05-11 15:28:23 +00:00
test_array.py gh-80480: Remove deprecated 'u' array type code (#149535) 2026-06-01 11:57:55 +00:00
test_asdl_parser.py gh-131421: Fix ASDL tests (#133408) 2025-05-04 23:46:21 +00:00
test_asyncgen.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_atexit.py gh-140080: Clear atexit callbacks when memory allocation fails during finalization (GH-140103) 2025-10-15 09:49:55 -04:00
test_audit.py gh-138310: Adds sys.audit event for import_module (#138311) 2025-09-19 06:21:42 -07:00
test_augassign.py
test_base64.py gh-148153: Do not use assert for parameter validation in base64 (GH-148154) 2026-04-06 13:47:27 +03:00
test_baseexception.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_bdb.py gh-125422: Don't set the caller's f_trace if it's botframe (#125427) 2024-10-15 10:51:37 -04:00
test_bigaddrspace.py
test_bigmem.py GH-125174: Make immortality "sticky" (GH-131355) 2025-03-17 17:22:35 +00:00
test_binascii.py gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077) 2026-05-04 12:40:52 +03:00
test_binop.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_bisect.py gh-145269: simplify bisect.bisect doc example (#145270) 2026-02-28 09:09:39 +00:00
test_bool.py gh-131586: Avoid refcount contention in some "special" calls (#131588) 2025-03-26 14:38:47 -04:00
test_buffer.py gh-80480: Remove deprecated 'u' array type code (#149535) 2026-06-01 11:57:55 +00:00
test_build_details.py gh-143181: Fix 'overriden' -> 'overridden' in c-api/module.rst (#143182) 2025-12-27 02:23:57 -05:00
test_builtin.py gh-85989: Add skip_if_double_rounding to test.support (#150219) 2026-05-28 13:42:39 +02:00
test_bytes.py gh-151295: Fix use-after-free in bytes.join()/bytearray.join() via re-entrant __buffer__ (GH-151296) 2026-06-11 07:51:43 +00:00
test_bz2.py gh-150599: Prevent bz2 decompressor reuse after errors (#150600) 2026-06-07 08:19:05 -07:00
test_c_locale_coercion.py gh-149879: Fix test_c_locale_coercion on Cygwin (#150250) 2026-05-22 15:47:38 +02:00
test_c_stack_unwind.py Rename fp unwind test module to C stack unwind (#149563) 2026-05-08 14:58:38 +01:00
test_calendar.py gh-148352: Add more colour to calendar CLI output (#148354) 2026-05-04 15:14:57 +03:00
test_call.py GH-139914: Handle stack growth direction on HPPA (GH-140028) 2025-11-17 14:41:22 +01:00
test_charmapcodec.py
test_class.py gh-136535: Tests: Correct Py_TPFLAGS_MANAGED_DICT in test_class.py (gh-136538) 2025-10-24 20:20:09 +09:00
test_clinic.py gh-144545: Improve handling of default values in Argument Clinic (GH-146016) 2026-03-17 12:16:35 +02:00
test_cmath.py gh-148868: Increase test coverage for cmath.isinf (#148869) 2026-04-27 09:22:20 +02:00
test_cmd.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_cmd_line.py gh-151253: Dump the Python path configuration on _PyCodec_InitRegistry() failure (#151250) 2026-06-10 18:43:38 +02:00
test_cmd_line_script.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_code.py gh-148871: extend and improve LOAD_COMMON_CONSTANT (GH-148971) 2026-05-02 19:59:51 +01:00
test_code_module.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_codeccallbacks.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00: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 gh-62259: Add support of multi-byte encodings in the XML parser (GH-149860) 2026-05-26 19:40:25 +00:00
test_codeop.py gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382) 2025-05-10 15:00:43 +03:00
test_collections.py gh-143586: Add Counter comparison tests to enforce missing element semantics (gh-143587) 2026-01-10 00:17:57 -06: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 gh-148871: extend and improve LOAD_COMMON_CONSTANT (GH-148971) 2026-05-02 19:59:51 +01:00
test_compileall.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_compiler_assemble.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_compiler_codegen.py gh-150027: Avoid copying during construction of frozenset objects (GH-150028) 2026-05-19 13:57:37 -04:00
test_complex.py gh-143231: Do not swallow not matched warnings in assertWarns*() (GH-149229) 2026-05-03 10:24:57 +00:00
test_configparser.py gh-148370: prevent quadratic behavior in configparser.ParsingError.combine (#148452) 2026-04-14 00:32:54 +02:00
test_contains.py gh-95144: Improve error message of ... in None (GH-119888) 2024-07-12 16:34:17 +00:00
test_context.py gh-142829: Fix use-after-free in Context.__eq__ via re-entrant ContextVar.set (#142905) 2026-01-09 17:57:34 +05:30
test_contextlib.py gh-125862: Keep ContextDecorator open across generator/coroutine execution (GH-136212) 2026-04-28 05:26:38 +00:00
test_contextlib_async.py gh-125862: Keep ContextDecorator open across generator/coroutine execution (GH-136212) 2026-04-28 05:26:38 +00:00
test_copy.py gh-141510: Fix copy.deepcopy() for recursive frozendict (#145027) 2026-02-21 15:30:40 +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 gh-143939: Fix assignment to _PyThreadStateImpl.generator_return_kind (gh-143951) 2026-01-20 17:51:55 +00:00
test_crossinterp.py gh-149219: Test frozendict in Lib/test/test_crossinterp.py (#149220) 2026-05-21 12:28:38 +03:00
test_csv.py gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106) 2026-04-11 15:18:02 -07:00
test_curses.py gh-151744: Add curses.nofilter() (GH-151747) 2026-06-19 17:49:26 +00:00
test_datetime.py gh-143959: Fix test_datetime if _datetime is unavailable (GH-145248) 2026-03-22 16:15:35 +02:00
test_dbm.py gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) 2025-07-07 15:14:17 +03: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 Revert "gh-66234: Add flag to disable the use of mmap in dbm.gnu (GH-135005)" (GH-136989) 2025-09-20 11:01:44 +03: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-135386: Skip readonly tests for the root user (GH-138058) 2025-08-22 16:22:14 +03:00
test_decimal.py gh-141510: support frozendict's in the C decimal module (gh-145165) 2026-02-27 07:02:39 +09:00
test_decorators.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_defaultdict.py gh-149534: Fix unification of defaultdict and frozendict with | (#149539) 2026-06-01 16:26:49 +03:00
test_deque.py gh-150750: Fix a race condition in deque.index with free-threading (#150779) 2026-06-04 13:31:31 +00:00
test_descr.py gh-146615: Fix crash in __get__() for METH_METHOD descriptors with invalid type argument (GH-146634) 2026-03-31 10:48:02 +03:00
test_descrtut.py gh-149189: Revert "Modern defaults for pprint (#149190)" (#150249) 2026-05-22 23:22:03 +03:00
test_devpoll.py gh-146205: Check the errno with != 0 in close impls in select module (#146206) 2026-03-20 14:44:01 +01:00
test_dict.py gh-149807: Fix hash(frozendict): compute (key, value) pair hash (#149841) 2026-05-20 13:22:57 +02:00
test_dictcomps.py Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_dictviews.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_difflib.py gh-144384: Lazily import _colorize (#149318) 2026-05-06 16:07:43 +00:00
test_difflib_expect.html gh-95953: Add a css class to changed lines of difflib.HtmlDiff make_table (#139226) 2025-09-22 13:19:37 +00:00
test_dis.py GH-150478: Add "show_jit" option to dis.dis to show jit entry points (GH-150554) 2026-06-01 17:52:40 +01: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 gh-151496: Use process groups in test_dtrace (#151512) 2026-06-17 10:58:22 +02:00
test_dynamic.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_dynamicclassattribute.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
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 gh-149879: Fix test_embed on Cygwin (#150441) 2026-05-26 16:33:08 +00:00
test_ensurepip.py gh-146310: Fix ensurepip to treat empty WHEEL_PKG_DIR as unset (#146357) 2026-03-27 20:48:07 +00:00
test_enum.py gh-139398: [Enum] Add supported sunder names to __dir__ for REPL completions (GH-139985) 2026-05-28 12:55:38 -07:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
test_eof.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_epoll.py gh-146205: Check the errno with != 0 in close impls in select module (#146206) 2026-03-20 14:44:01 +01:00
test_errno.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_except_star.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +00:00
test_exception_group.py GH-146096: Fix segfault in BaseExceptionGroup repr (#146141) 2026-03-19 11:25:15 +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 gh-150988: Fix refleak in OSError when attrs are set before super().__init__() (#150990) 2026-06-10 12:27:11 +00:00
test_extcall.py gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call (GH-146472) 2026-03-29 11:58:52 +03:00
test_external_inspection.py gh-149584: Fix excessive overhead in the Tachyon profiler regarding the cache behavior (#149649) 2026-05-20 04:32:08 -07:00
test_faulthandler.py gh-151278: Fix test_faulthandler on UBSan (#151279) 2026-06-10 21:39:03 +02:00
test_fcntl.py gh-124621: Emscripten: Support pyrepl in browser (GH-136931) 2025-07-22 12:13:38 +02:00
test_file_eintr.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_filecmp.py gh-122400: Handle ValueError in filecmp (GH-122401) 2024-07-30 08:50:30 +00:00
test_fileinput.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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-135552: Make the GC clear weakrefs later (GH-136189) 2025-08-07 16:32:17 -07:00
test_float.py gh-143006: Fix and optimize mixed comparison of float and int (GH-143084) 2026-01-09 19:06:45 +02:00
test_flufl.py gh-125331: Allow the parser to activate future imports on the fly (#125482) 2025-02-14 04:54:56 +00:00
test_fnmatch.py gh-133306: Use \z instead of \Z in fnmatch.translate() and glob.translate() (GH-133338) 2025-05-03 17:58:21 +03:00
test_fork1.py gh-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror (GH-136796) 2025-08-26 15:33:21 +02:00
test_format.py gh-119949: Refactor test_exc() helper in test_format.py (GH-135452) 2026-05-24 10:24:59 +00:00
test_fractions.py gh-87790: support thousands separators for formatting fractional part of Fraction (#132204) 2025-07-07 11:16:31 +03:00
test_frame.py gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} (#130708) 2025-04-01 10:18:42 -07:00
test_frozen.py
test_fstring.py gh-151238: Check for _get_resized_exprs failure in _PyPegen_{joined,template}_str (#151259) 2026-06-11 15:26:46 +01:00
test_ftplib.py gh-149879: Fix test_ftplib on Cygwin (#150431) 2026-05-26 00:09:41 +02:00
test_funcattrs.py gh-115231: Fill __module__ for built-in staticmethods (#115232) 2026-02-02 12:34:02 +01:00
test_functools.py gh-149537: Remove kw parameters from python version of reduce (#149538) 2026-05-08 18:34:48 +03:00
test_gc.py GH-148726: Add heap_size to generational GC (#149195) 2026-05-04 22:14:45 +01:00
test_gc_stats.py GH-148726: Add heap_size to generational GC (#149195) 2026-05-04 22:14:45 +01:00
test_generated_cases.py GH-150516: Reduce the work done to spill and reload the stack around calls (GH-151587) 2026-06-18 15:14:30 +01:00
test_generator_stop.py
test_generators.py gh-120321: Add gi_state, cr_state, and ag_state attributes (gh-144409) 2026-02-03 13:06:32 -05:00
test_genericalias.py gh-150146: Fix NULL dereference in _Py_subs_parameters (#150147) 2026-05-20 16:27:55 +03: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 gh-74453: Deprecate os.path.commonprefix (#144436) 2026-02-05 22:37:05 +02:00
test_genexps.py GH-127682: Only call __iter__ once in generator expressions. (GH-132351) 2025-04-11 09:37:22 +01:00
test_getopt.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test_getpass.py gh-138577: Fix keyboard shortcuts in getpass with echo_char (#141597) 2026-03-30 11:11:13 +02:00
test_getpath.py gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (#135831) 2025-07-04 23:44:37 +10:00
test_gettext.py gh-130655: gettext: Add fallback testcase (#136857) 2025-07-20 14:08:13 +02:00
test_glob.py GH-137466: Remove deprecated and undocumented glob.glob0() and glob1() (#137467) 2025-08-06 17:13:58 +01:00
test_global.py gh-58749: Remove incorrect language spec claims about the global statement (GH-126523) 2024-11-12 10:11:40 +10:00
test_grammar.py Add Emscripten test skips for recently added tests. (#143551) 2026-01-09 05:47:38 +08:00
test_graphlib.py gh-130914: Make graphlib.TopologicalSorter.prepare() idempotent (#131317) 2025-03-18 16:28:00 -05:00
test_grp.py gh-149879: Fix test_grp on Cygwin (#150495) 2026-05-26 21:16:16 +00:00
test_gzip.py gh-91372: Add mtime to gzip.open() (GH-32310) 2026-05-22 15:14:25 +03:00
test_hash.py
test_hashlib.py gh-145028: Fix blake2 tests in test_hashlib when it is missing due to build config (GH-145029) 2026-02-20 20:57:29 -08:00
test_heapq.py gh-110067: Make max heap methods public and add missing ones (GH-130725) 2025-05-05 17:52:49 +02:00
test_hmac.py gh-145200: Fix EVP_MAC_CTX leak in hashlib HMAC on init failure (GH-145201) 2026-04-11 15:10:43 -07:00
test_html.py
test_htmlparser.py gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904) 2025-11-19 13:55:10 +02:00
test_http_cookiejar.py gh-135120: Add test.support.subTests() (GH-135121) 2025-06-06 13:52:48 +02:00
test_http_cookies.py gh-149144: Use decodeURIComponent() for UTF-8 support in js_output() (GH-149157) 2026-05-14 23:10:39 +02:00
test_httplib.py gh-146211: Reject CR/LF in HTTP tunnel request headers (#146212) 2026-04-10 15:21:42 +00:00
test_httpservers.py gh-149879: Fix test_httpservers on Cygwin (#150417) 2026-05-25 19:50:35 +00:00
test_idle.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_imaplib.py gh-91099: fix[imaplib]: call Exception with string instance (#31823) 2026-06-02 16:42:04 -04:00
test_index.py
test_int.py gh-142554: avoid divmod crashes due to bad _pylong.int_divmod (#142673) 2025-12-14 09:38:23 +01:00
test_int_literal.py
test_ioctl.py gh-149879: Fix test_termios and test_ioctl on Cygwin (#150412) 2026-05-25 19:06:28 +02:00
test_ipaddress.py gh-141497: Make ipaddress.IP{v4,v6}Network.hosts() always returning an iterator (GH-141547) 2025-11-17 19:29:06 +02:00
test_isinstance.py gh-143460: Skip infinite recusion tests for infinite stack size (#143606) 2026-01-09 16:11:37 +00:00
test_iter.py Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_iterlen.py
test_itertools.py gh-146613: Fix re-entrant use-after-free in itertools._grouper (#147962) 2026-04-02 19:04:58 +05:30
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-146205: Check the errno with != 0 in close impls in select module (#146206) 2026-03-20 14:44:01 +01:00
test_launcher.py gh-122941: Fix test_launcher sporadic failures via py.ini isolation (GH-145090) 2026-03-04 18:06:49 +00:00
test_linecache.py gh-122255: Synchronize warnings in C and Python implementations of the warnings module (GH-122824) 2025-11-14 16:49:28 +02:00
test_list.py gh-141367: Use actual SPECIALIZATION_THRESHOLD value in specialization related test (GH-141417) 2025-11-11 20:16:46 +00:00
test_listcomps.py gh-150700: Fix class-scope inline comprehensions when nested scopes reference __class__ and friends (#150735) 2026-06-09 15:22:13 -07:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py gh-140924: In locale module, add missing names to __all__ (GH-140925) 2026-05-11 17:21:03 +03:00
test_logging.py gh-84649: Use statx() in TimedRotatingFileHandler if available (ПР-150968) 2026-06-06 11:49:07 +03:00
test_long.py gh-71810: Fix corner case (length==0) for int.to_bytes() (#138739) 2025-09-11 12:30:53 +02:00
test_longexp.py
test_lzma.py gh-115988: Add ARM64 and RISCV BCJ filters constants in lzma module (GH-115989) 2026-05-28 08:05:03 -07:00
test_mailbox.py Move root user checks to test.support (#146195) 2026-04-02 15:50:38 +00:00
test_marshal.py gh-148653: Fix reference leaks in test_marshal introduced in gh-148698 (GH-148725) 2026-04-18 12:11:14 +00:00
test_math.py gh-150534: Add C23 half-turn trigonometric *pi functions (GH-150555) 2026-06-06 10:19:45 +00:00
test_math_integer.py gh-81313: Add the math.integer module (PEP-791) (GH-133909) 2025-10-31 16:13:43 +02:00
test_math_property.py gh-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01:00
test_memoryview.py gh-148675: Remove F and D formats from array and memoryview (GH-149368) 2026-05-04 17:26:30 +02:00
test_metaclass.py gh-131290: ensure that test files can be executed as standalone scripts (#131371) 2025-04-12 07:46:19 +00:00
test_mimetypes.py gh-92455: Respect case-sensitive mimetype suffixes (GH-148782) 2026-06-15 15:05:29 +00:00
test_minidom.py gh-142145: Avoid timing measurements in quadratic behavior test (gh-143105) 2025-12-24 08:01:45 -05:00
test_mmap.py gh-151021: Fix mmap empty searches past the end (GH-151023) 2026-06-07 16:01:24 +03:00
test_modulefinder.py gh-84530: fix namespace package support in modulefinder (#29196) 2025-12-09 15:50:50 +00:00
test_monitoring.py gh-142186: Allow all PEP-669 events to be per-code object and disableable (GH-146182) 2026-04-22 09:08:23 +01:00
test_msvcrt.py gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (#150704) 2026-06-01 14:50:15 +00:00
test_multibytecodec.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_multiprocessing_main_handling.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_named_expressions.py gh-100746: Improve test_named_expressions.py (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py gh-139633: Run netrc file permission check only once per parse (GH-139634) 2026-03-30 22:05:18 +03:00
test_ntpath.py gh-74453: Deprecate os.path.commonprefix (#144436) 2026-02-05 22:37:05 +02:00
test_nturl2path.py GH-125866: Deprecate nturl2path module (#131432) 2025-03-19 19:33:01 +00: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 gh-100239: specialize mixed int/float inplace binary ops (GH-149413) 2026-05-06 13:59:08 +01:00
test_opcodes.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_openpty.py
test_operator.py gh-133167: Fix compilation process with --enable-optimizations and --without-docstrings (#133187) 2025-04-30 16:41:50 +03: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 gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_ordered_dict.py gh-145056: Fix merging of collections.OrderedDict and frozendict (GH-146466) 2026-03-30 22:06:44 +03:00
test_osx_env.py
test_patma.py gh-141510 Document and test frozendict class matching behaviour (#150799) 2026-06-18 14:53:09 +02:00
test_pdb.py gh-148615: Handle -- separator in pdb argument parsing (#148624) 2026-05-05 21:22:58 -07:00
test_peepholer.py gh-148871: Add CONSTANT_EMPTY_TUPLE to LOAD_COMMON_CONSTANT (GH-149688) 2026-05-21 15:54:46 +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 gh-150389: Make perf profiler tests resilient (#150437) 2026-05-27 13:22:56 +01:00
test_perfmaps.py GH-126910: Add gdb support for unwinding JIT frames (#146071) 2026-05-02 13:42:03 +00:00
test_pickle.py gh-149189: Revert "Modern defaults for pprint (#149190)" (#150249) 2026-05-22 23:22:03 +03:00
test_picklebuffer.py
test_pickletools.py gh-149026: Add colour to pickletools CLI output (#149027) 2026-04-29 18:33:05 +03:00
test_pkg.py GH-65961: Stop setting __cached__ on modules (GH-142165) 2025-12-11 11:44:46 -08:00
test_pkgutil.py gh-148641: Implement PEP 829 - startup configuration files (#149109) 2026-05-03 17:17:29 +00:00
test_platform.py gh-145177: Bump Emscripten to 6.0.0 (#151611) 2026-06-19 07:29:33 +08:00
test_plistlib.py gh-141510: Support frozendict in plistlib (#145590) 2026-03-31 15:45:23 +03:00
test_poll.py gh-142434: Use ppoll() if available in select.poll (#143529) 2026-01-15 13:49:46 +01:00
test_popen.py gh-131234: Improve test_popen with more asserts (#131235) 2025-03-14 11:38:31 +00:00
test_poplib.py gh-148600: Add OpenSSL 4.0.0 support to test configurations (#149356) 2026-05-04 16:21:04 +03:00
test_positional_only_arg.py gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382) 2025-05-10 15:00:43 +03:00
test_posixpath.py gh-71189: Support all-but-last mode in os.path.realpath() (GH-117562) 2025-07-30 10:19:19 +03: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-149189: Revert "Modern defaults for pprint (#149190)" (#150249) 2026-05-22 23:22:03 +03:00
test_print.py gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) 2025-02-25 23:04:27 +02:00
test_profile.py gh-138122: Implement PEP 799 (#138142) 2025-08-27 17:52:50 +01:00
test_property.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_pstats.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_pty.py gh-140482: Avoid changing terminal settings in test_pty (gh-142202) 2025-12-03 15:48:44 -05:00
test_pulldom.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_pwd.py gh-80198: Improve test_pwd and test_grp (GH-150380) 2026-05-25 16:17:38 +03:00
test_py_compile.py gh-118158: Fix missing newline in py_compile CLI error output (#149008) 2026-06-16 09:41:52 -07:00
test_pyclbr.py gh-145035: Allows removing the _pyrepl module to completely disable the modern REPL (GH-145159) 2026-03-10 14:58:32 +01:00
test_pyexpat.py gh-150397: Fix pyexpat bigmem test (#151329) 2026-06-11 16:45:44 +02:00
test_pystats.py gh-131253: free-threaded build support for pystats (gh-137189) 2025-11-03 11:36:37 -08:00
test_queue.py gh-140025: Fix queue.SimpleQueue.__sizeof__() to return correct size (#143137) 2026-01-08 12:40:25 +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 gh-140530: fix a reference leak in an error path for raise exc from cause (#140908) 2025-11-09 13:41:08 +01:00
test_random.py gh-149221:Fix binomialvariate Function for random module (gh-149222) 2026-05-02 07:55:43 -05:00
test_range.py GH-141312: Allow only integers to longrangeiter_setstate state (GH-141317) 2025-11-14 14:52:01 +00:00
test_re.py gh-80480: Remove deprecated 'u' array type code (#149535) 2026-06-01 11:57:55 +00:00
test_readline.py gh-48752: Add readline.get_pre_input_hook() function (#141586) 2025-12-05 13:18:54 +01:00
test_regrtest.py gh-150046: Fix test_add_python_opts to ignore PYTHON* env vars (#150089) 2026-05-28 18:48:51 +02:00
test_remote_pdb.py gh-143874: Use self.message instead of raw print in _exec_in_closure() (#143875) 2026-01-19 16:11:07 -08:00
test_repl.py gh-140287: Handle PYTHONSTARTUP script exceptions in the asyncio REPL (#140288) 2026-04-25 15:24:40 +01:00
test_reprlib.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_resource.py gh-149879: Fix test_resource on Cygwin (#149903) 2026-05-15 23:09:36 +00:00
test_richcmp.py gh-126146: Remove `__cmp__` method from tests (#126147) 2024-10-30 00:47:26 +02:00
test_rlcompleter.py gh-139819: rlcompleter – avoid suggesting attributes not accessible on instances (GH-139820) 2026-06-09 11:00:23 -07:00
test_robotparser.py gh-79638: Test other HTTP error codes besides 403 in test_robotparser (#149569) 2026-05-08 20:24:34 +00:00
test_runpy.py gh-149117: Set ImportError.name on errors from runpy.run_module/run_path (gh-149159) 2026-05-02 12:27:23 +10:00
test_samply_profiler.py gh-150723: Fix perf jitdump files on macOS (#150728) 2026-06-03 01:15:34 +01:00
test_sax.py gh-76007: Deprecate VERSION in xml.etree.ElementTree & version in xml.sax.expatreader & xml.sax.handler (#142898) 2025-12-18 14:22:23 +00: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 gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_script_helper.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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 gh-141510: Add frozendict fast-path to the set type (#144912) 2026-02-18 15:25:47 +01:00
test_setcomps.py Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_shelve.py gh-137829: Fix shelve tests for backend compatibility (#137879) 2026-03-01 16:48:13 +01:00
test_shlex.py gh-119670: Add force keyword only argument to shlex.quote (#148846) 2026-06-04 11:06:02 +02:00
test_shutil.py gh-149835: Use realpath() instead of abspath() in shutil.move() (GH-149986) 2026-06-06 13:04:23 +03:00
test_signal.py gh-149879: Fix test_signal on Cygwin (#149896) 2026-05-15 21:32:10 +02:00
test_site.py gh-149671: Restore compatibility with setuptools -nspkg.pth files in site module (#151319) 2026-06-15 08:29:52 +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 gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (#136623) 2025-08-22 11:45:01 +00:00
test_smtpnet.py gh-70039: smtplib: store the server name in ._host in .connect() (#115259) 2026-04-08 17:46:25 -04:00
test_socket.py gh-143988: Fix re-entrant mutation crashes in socket sendmsg/recvmsg_into (#143987) 2026-06-10 13:03:49 +00:00
test_socketserver.py gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions (#140740) 2025-10-29 08:33:04 +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-151461: Fix encoding-related exception handling in file tokenizer (GH-151462) 2026-06-14 12:33:03 +00:00
test_ssl.py gh-150898: Assume OpenSSL supports keylogging (#150870) 2026-06-09 16:37:38 +02:00
test_stable_abi_ctypes.py gh-149189: Revert "Modern defaults for pprint (#149190)" (#150249) 2026-05-22 23:22:03 +03:00
test_startfile.py
test_stat.py gh-144050: Fix stat.filemode pure Python file type detection (GH-144059) 2026-01-20 14:05:42 +02:00
test_statistics.py gh-85989: Add skip_if_double_rounding to test.support (#150219) 2026-05-28 13:42:39 +02:00
test_str.py gh-145118: Add frozendict support to str.maketrans() (gh-145129) 2026-02-23 16:04:16 -06:00
test_strftime.py gh-133940: test_strftime incorrectly calculates expected week (GH-134281) 2025-05-19 17:54:48 -07:00
test_string_literals.py gh-131649: fix test_string_literals SyntaxWarning (#131650) 2025-03-26 15:01:18 +01:00
test_stringprep.py
test_strptime.py gh-149879: Fix test_strptime on Cygwin (#150438) 2026-05-26 04:25:07 +02:00
test_strtod.py gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_struct.py gh-148675: Add Zd/Zf formats to array, ctypes, memoryview, struct (#148676) 2026-05-04 16:14:23 +02:00
test_structseq.py gh-145376: Fix GC tracking in structseq.__replace__ (#145820) 2026-03-13 15:42:19 +00: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 gh-150436: Check returncode in Win32ProcessTestCase (#150972) 2026-06-05 15:24:46 +00:00
test_sundry.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_super.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_support.py gh-146004: fix test_args_from_interpreter_flags on windows (#146580) 2026-03-29 09:38:45 +05:30
test_symtable.py gh-149530: Remove symtable.Class.get_methods deprecated method (#149531) 2026-05-09 08:33:09 +00:00
test_syntax.py gh-145241: specialize SyntaxError for single trailing-comma with item (#145282) 2026-02-28 02:24:06 +00:00
test_sys.py gh-151218: Replace sys.flags in PyConfig_Set() (#151402) 2026-06-16 16:17:33 +00:00
test_sys_setprofile.py gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) 2025-10-31 10:09:22 +00:00
test_sys_settrace.py GH-143732: SEND specialization (GH-148963) 2026-05-05 15:19:16 +01:00
test_sysconfig.py gh-150208: Avoid double-quoting string values in sysconfigdata (#150209) 2026-05-25 13:30:07 +01: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 gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_tarfile.py gh-107398: Fix tarfile stream mode exception when process the file with the gzip extra field (GH-126304) 2026-05-21 19:12:09 +00:00
test_tcl.py gh-124111: Keep tests passing for Tcl prior to 9.0 (GH-150102) 2026-05-19 21:27:44 +01:00
test_tempfile.py gh-150368: Change Windows user group to secure identifier in test_tempfile (#150369) 2026-06-01 11:35:48 +00:00
test_termios.py gh-149879: Fix test_termios and test_ioctl on Cygwin (#150412) 2026-05-25 19:06:28 +02:00
test_textwrap.py gh-139065: Fix trailing space before long word in textwrap (GH-139070) 2025-10-10 16:29:18 +03:00
test_thread.py gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (#143601) 2026-01-09 16:08:40 +01:00
test_thread_local_bytecode.py gh-144289: Remove ENABLE_SPECIALIZATION_FT (gh-144290) 2026-01-27 17:52:50 -05:00
test_threadedtempfile.py gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) 2025-05-08 15:57:30 +03:00
test_threading.py gh-124397: Add free-threading support for iterators. (gh-148894) 2026-05-01 16:31:00 -05:00
test_threading_local.py gh-127190: Fix local_setattro() error handling (#127366) 2024-11-28 17:35:48 +01: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 GH-70647: Remove support for %d (and deprecate for %e) without year in strptime() (GH-144570) 2026-04-14 17:15:27 -07:00
test_timeit.py GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity (#144983) 2026-05-04 21:51:48 +00:00
test_timeout.py gh-132535: Fix resource warnings in test_timeout (GH-132572) 2025-04-16 10:20:07 +03:00
test_tokenize.py gh-148991: Add colour to tokenize CLI output (#148992) 2026-04-26 22:14:33 +03:00
test_trace.py gh-137838: Fix JIT trace buffer overrun by increasing possible exit stubs (gh-138177) 2025-09-09 09:51:08 +09:00
test_traceback.py gh-151128: Improve SyntaxError message for cross language keywords (GH-151129) 2026-06-15 20:55:57 +03:00
test_tracemalloc.py gh-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror (GH-136796) 2025-08-26 15:33:21 +02:00
test_tstring.py gh-132661: Disallow Template/str concatenation after PEP 750 spec update (#135996) 2025-07-21 08:44:26 +02: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 gh-139951: Tests on tuple GC tracking (#140575) 2025-10-28 10:55:41 +01:00
test_turtle.py gh-138772: Add tests for Turtle.dot() signature (GH-138773) 2025-09-25 16:46:12 +03:00
test_type_aliases.py gh-149171: Make TypeAliasType __module__ writable (#149172) 2026-05-02 17:28:08 +00:00
test_type_annotations.py gh-149805: Fix SystemError when compiling __classdict__ class annotation (#149806) 2026-06-02 10:17:03 +01:00
test_type_cache.py gh-148450: abc.register needs to update type_version when tp_flags is changed (#148623) 2026-05-23 13:55:44 +05:30
test_type_comments.py gh-148157: Check for _PyPegen_add_type_comment_to_arg fail in _PyPegen_name_default_pair (#148158) 2026-04-06 12:56:36 +01:00
test_type_params.py gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188) 2026-02-24 12:44:57 -08:00
test_typechecks.py
test_types.py gh-143636: fix a crash when calling `__replace__ on invalid SimpleNamespace` instances (#143655) 2026-03-14 09:58:15 +00:00
test_typing.py gh-132467: Document and test that generic aliases are not classes (#133504) 2026-06-03 13:35:25 +00:00
test_ucn.py gh-80667: Fix Tangut ideographs names in unicodedata (GH-144789) 2026-02-16 13:31:18 +02: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-127146: Emscripten clean up test suite (#127984) 2024-12-17 07:48:23 +00:00
test_unicode_identifiers.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_unicodedata.py gh-149079: Fix O(n^2) canonical ordering in unicodedata.normalize() (GH-149080) 2026-06-02 11:39:50 +02:00
test_unpack.py gh-122239: Add actual count in unbalanced unpacking error message when possible (#122244) 2024-09-10 16:07:30 +01:00
test_unpack_ex.py gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call (GH-146472) 2026-03-29 11:58:52 +03:00
test_unparse.py gh-143055: Fix crash in AST unparser when unparsing dict comprehension unpacking (#145556) 2026-03-09 10:37:23 -07:00
test_urllib.py gh-143925: Reject control characters in data: URL mediatypes 2026-01-20 20:45:58 +00:00
test_urllib2.py gh-124098: Fix incorrect inclusion of handler methods without protocol prefix in OpenerDirector (GH-136873) 2025-12-18 13:50:05 +01:00
test_urllib2_localnet.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urllib2net.py gh-140691: urllib.request: Close FTP control socket if data socket can't connect (GH-140835) 2025-11-05 11:52:11 +01:00
test_urllib_response.py gh-128734: Fix ResourceWarning in urllib tests (GH-128735) 2025-01-12 12:53:17 +02:00
test_urllibnet.py GH-43374: Revert "GH-43374: Fix urlretrieve reporthook to report actual bytes r… (#143711) 2026-01-12 19:03:42 +00:00
test_urlparse.py gh-144148: Update the urllib.parse documentation (GH-144497) 2026-02-05 16:32:17 +02:00
test_userdict.py gh-145056: Add support for merging collections.UserDict and frozendict (GH-146465) 2026-03-30 22:07:28 +03:00
test_userlist.py gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) 2026-03-22 16:22:25 +02:00
test_userstring.py gh-145144: Add more tests for UserList, UserDict, etc (GH-145145) 2026-03-22 16:22:25 +02:00
test_utf8_mode.py GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712) 2025-07-15 10:45:41 +01:00
test_utf8source.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_uuid.py gh-148740: Fix uuid CLI with custom UUIDs for UUIDv3/v5 namespaces (#148741) 2026-04-29 15:44:22 +02:00
test_venv.py gh-109940: Respect VIRTUAL_ENV_DISABLE_PROMPT in activate.bat (GH-151215) 2026-06-10 09:48:16 +01: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 gh-117716: Fix wave RIFF padding for data chunks (GH-145237) 2026-04-15 14:21:43 +02:00
test_weakref.py gh-80384: Check that callback is callable at weak reference creation (GH-151145) 2026-06-10 13:34:55 +03:00
test_weakset.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_webbrowser.py gh-149496: Fix MacOSTest.test_default regression when BROWSER env var is set (GH-149579) 2026-05-08 20:33:05 +00:00
test_winapi.py gh-135852: Remove out of tree pywin32 dependency for NTEventLogHandler (GH-137860) 2025-12-31 12:50:50 +02:00
test_winconsoleio.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_winreg.py gh-142282 Fix winreg.QueryValueEx() under race condition (GH-142283) 2025-12-09 12:09:07 +00:00
test_winsound.py gh-131453: Add additional constants to winsound module (GH-131454) 2025-03-20 16:35:52 +00:00
test_with.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_wmi.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_wsgiref.py gh-146292: Add colour to http.server logs (GH-146293) 2026-04-08 14:10:05 +02:00
test_xml.py gh-139489: Add xml.is_valid_text() (GH-149412) 2026-05-06 14:40:10 +00:00
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) 2025-01-07 12:40:41 +02:00
test_xml_etree.py gh-150560: Fix crash in XML parser on invalid XML with multi-byte encoding (GH-150568) 2026-05-30 00:23:32 +03:00
test_xml_etree_c.py gh-127146: Emscripten: more regular stack overflow skips (#136708) 2025-07-16 14:02:25 +00:00
test_xmlrpc.py gh-148954: Escape methodname in xmlrpc.client.dumps() to prevent XML injection (GH-148968) 2026-06-06 21:38:15 +00:00
test_xpickle.py gh-75572: Speed up test_xpickle (GH-144393) 2026-02-02 20:00:12 +02:00
test_xxlimited.py gh-140550: Update xxlimited with 3.15 limited API (GH-142827) 2026-05-13 18:35:50 +02:00
test_xxtestfuzz.py
test_yield_from.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_zipapp.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_zipfile64.py gh-51067: Add remove() and repack() to ZipFile (GH-134627) 2026-06-20 12:45:53 -07:00
test_zipimport.py gh-144278: Enable overriding sys.implementation's name and cache_tag when building sysmodule.c (GH-144293) 2026-02-10 00:01:17 +00:00
test_zipimport_support.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_zlib.py gh-76007: Deprecate zlib.__version__ attribute (#140130) 2025-10-15 13:18:48 +02:00
test_zstd.py gh-136394: Fix race condition in test_zstd (GH-136432) 2025-07-10 08:47:27 -04:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py
xpickle_worker.py gh-75572: Speed up test_xpickle (GH-144393) 2026-02-02 20:00:12 +02:00