cpython/Lib/test
Ken Jin 4fa80ce74c
gh-139109: A new tracing JIT compiler frontend for CPython (GH-140310)
This PR changes the current JIT model from trace projection to trace recording. Benchmarking: better pyperformance (about 1.7% overall) geomean versus current https://raw.githubusercontent.com/facebookexperimental/free-threading-benchmarking/refs/heads/main/results/bm-20251108-3.15.0a1%2B-7e2bc1d-JIT/bm-20251108-vultr-x86_64-Fidget%252dSpinner-tracing_jit-3.15.0a1%2B-7e2bc1d-vs-base.svg, 100% faster Richards on the most improved benchmark versus the current JIT. Slowdown of about 10-15% on the worst benchmark versus the current JIT. **Note: the fastest version isn't the one merged, as it relies on fixing bugs in the specializing interpreter, which is left to another PR**. The speedup in the merged version is about 1.1%. https://raw.githubusercontent.com/facebookexperimental/free-threading-benchmarking/refs/heads/main/results/bm-20251112-3.15.0a1%2B-f8a764a-JIT/bm-20251112-vultr-x86_64-Fidget%252dSpinner-tracing_jit-3.15.0a1%2B-f8a764a-vs-base.svg

Stats: 50% more uops executed, 30% more traces entered the last time we ran them. It also suggests our trace lengths for a real trace recording JIT are too short, as a lot of trace too long aborts https://github.com/facebookexperimental/free-threading-benchmarking/blob/main/results/bm-20251023-3.15.0a1%2B-eb73378-CLANG%2CJIT/bm-20251023-vultr-x86_64-Fidget%252dSpinner-tracing_jit-3.15.0a1%2B-eb73378-pystats-vs-base.md .

This new JIT frontend is already able to record/execute significantly more instructions than the previous JIT frontend. In this PR, we are now able to record through custom dunders, simple object creation, generators, etc. None of these were done by the old JIT frontend. Some custom dunders uops were discovered to be broken as part of this work gh-140277

The optimizer stack space check is disabled, as it's no longer valid to deal with underflow.

Pros:
* Ignoring the generated tracer code as it's automatically created, this is only additional 1k lines of code. The maintenance burden is handled by the DSL and code generator.
* `optimizer.c` is now significantly simpler, as we don't have to do strange things to recover the bytecode from a trace.
* The new JIT frontend is able to handle a lot more control-flow than the old one.
* Tracing is very low overhead. We use the tail calling interpreter/computed goto interpreter to switch between tracing mode and non-tracing mode. I call this mechanism dual dispatch, as we have two dispatch tables dispatching to each other. Specialization is still enabled while tracing.
* Better handling of polymorphism. We leverage the specializing interpreter for this.

Cons:
* (For now) requires tail calling interpreter or computed gotos. This means no Windows JIT for now :(. Not to fret, tail calling is coming soon to Windows though https://github.com/python/cpython/pull/139962

Design:
* After each instruction, the `record_previous_inst` function/label is executed. This does as the name suggests.
* The tracing interpreter lowers bytecode to uops directly so that it can obtain "fresh" values at the point of lowering.
* The tracing version behaves nearly identical to the normal interpreter, in fact it even has specialization! This allows it to run without much of a slowdown when tracing. The actual cost of tracing is only a function call and writes to memory.
* The tracing interpreter uses the specializing interpreter's deopt to naturally form the side exit chains. This allows it to side exit chain effectively, without repeating much code. We force a re-specializing when tracing a deopt.
* The tracing interpreter can even handle goto errors/exceptions, but I chose to disable them for now as it's not tested.
* Because we do not share interpreter dispatch, there is should be no significant slowdown to the original specializing interpreter on tailcall and computed got with JIT disabled. With JIT enabled, there might be a slowdown in the form of the JIT trying to trace.
* Things that could have dynamic instruction pointer effects are guarded on. The guard deopts to a new instruction --- `_DYNAMIC_EXIT`.
2025-11-13 18:08:32 +00:00
..
archivetestdata
audiodata
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
crashers gh-121921: Make bogus_code_obj.py crash the interpreter (#121922) 2024-07-18 04:02:08 -04:00
data
decimaltestdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
dtracedata
encoded_modules
leakers
libregrtest gh-136702: Clear codec caches for refleak tests; use test.support helpers (GH-141345) 2025-11-10 14:42:18 +01:00
mathdata gh-101410: Customize error messages for 1-arg math functions (#129497) 2025-04-22 11:29:20 +02:00
regrtestdata/import_from_tests
subprocessdata gh-134954: Hard-cap max file descriptors in subprocess test fd_status (#134955) 2025-05-31 07:29:03 -07:00
support gh-140748: socket_helper.transient_internet: Unwrap UrlError.__cause__ (GH-140749) 2025-10-30 12:14:17 +01:00
test_ast gh-139109: A new tracing JIT compiler frontend for CPython (GH-140310) 2025-11-13 18:08:32 +00:00
test_asyncio gh-103847: fix cancellation safety of asyncio.create_subprocess_exec (#140805) 2025-11-12 10:47:38 +05:30
test_capi gh-139109: A new tracing JIT compiler frontend for CPython (GH-140310) 2025-11-13 18:08:32 +00:00
test_cext gh-140550: Initial implementation of PEP 793 – PyModExport (GH-140556) 2025-11-05 12:31:42 +01:00
test_concurrent_futures gh-139462: Make the ProcessPoolExecutor BrokenProcessPool exception report which child process terminated (GH-139486) 2025-11-11 22:09:58 +00:00
test_cppext gh-135906: Test the internal C API in test_cext (#136247) 2025-07-11 16:48:43 +02:00
test_ctypes gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_dataclasses gh-137530: generate an __annotate__ function for dataclasses __init__ (GH-137711) 2025-11-10 14:57:11 +01:00
test_doctest gh-136914: Fix support of cached functions and properties in DocTest's lineno computation (GH-136930) 2025-07-25 12:46:12 +03:00
test_email gh-136702: Clear codec caches for refleak tests; use test.support helpers (GH-141345) 2025-11-10 14:42:18 +01:00
test_free_threading gh-116738: use PyMutex in lzma module (#140711) 2025-11-12 02:01:55 +05:30
test_future_stmt gh-133581: Improve AST unparsing of t-strings (#133635) 2025-05-08 06:13:57 -07:00
test_gdb gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_import gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_importlib gh-138044: Remove deprecated parameter alias for importlib.resources.files (#138059) 2025-10-04 14:53:43 +01:00
test_inspect gh-131116: Fix inspect.getdoc() to work with cached_property objects (GH-131165) 2025-11-12 10:07:21 +00:00
test_interpreters gh-126016: Fix flaky test by allowing the SIGINT return code (GH-139219) 2025-09-23 16:09:19 +02:00
test_io gh-141311: Avoid assertion in BytesIO.readinto() (GH-141333) 2025-11-12 11:57:05 +02:00
test_json gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906) 2025-11-08 12:07:27 +02: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
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_os gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH-140667) 2025-10-27 21:42:32 +02:00
test_pathlib GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (#133831) 2025-10-17 21:57:51 +00:00
test_peg_generator gh-133951: Fix purelib packages not found in test_peg_generator TestCParser (GH-139607) 2025-10-06 14:40:48 +02:00
test_profiling gh-140741: Fix test added in gh-140745 (#140760) 2025-10-29 16:10:58 +00:00
test_pydoc gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels (#136479) 2025-10-12 15:17:41 -07:00
test_pyrepl gh-139246: zero-width word paste can be wrong in default repl (GH-139254) 2025-10-30 16:14:06 +01:00
test_sqlite3 gh-133390: sqlite3 CLI completion for tables, columns, indices, triggers, views, functions, schemata (GH-136101) 2025-10-24 08:26:36 +02:00
test_string GH-132661: Add `string.templatelib.convert()` (#135217) 2025-07-15 11:56:42 +02:00
test_tkinter gh-140481: Improve error message when trying to iterate a Tk widget, image or font (GH-140501) 2025-10-30 13:11:56 +02:00
test_tomllib gh-118761: Improve import time of tomllib (#128907) 2025-01-16 18:48:42 -08:00
test_tools gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_ttk gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_unittest gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_warnings gh-135801: Improve filtering by module in warn_explicit() without module argument (GH-140151) 2025-10-30 15:55:39 +02:00
test_zipfile gh-137589: Zipfile tests: close file objects (GH-138080) 2025-10-08 14:29:37 +02:00
test_zoneinfo gh-137976: Explicitly exclude localtime from available_timezones (#138012) 2025-09-18 17:32:14 +01:00
tkinterdata
tokenizedata
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
.ruff.toml Update pre-commit hooks (#137591) 2025-08-10 22:32:50 +00:00
__init__.py
__main__.py
_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
_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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
_test_gc_fast_cycles.py gh-133532: Run GC fast cycles test in subprocess. (gh-133533) 2025-05-08 04:38:57 +00:00
_test_monitoring_shutdown.py
_test_multiprocessing.py gh-98896: resource_tracker: use json&base64 to allow arbitrary shared memory names (GH-138473) 2025-11-12 13:35:01 +01:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py gh-138310: Adds sys.audit event for import_module (#138311) 2025-09-19 06:21:42 -07:00
autotest.py
bisect_cmd.py
clinic.test.c gh-111489: Remove _PyTuple_FromArray() alias (#139973) 2025-10-11 22:58:14 +02:00
cov.py
curses_tests.py
datetimetester.py gh-67795: Accept any real numbers as timestamp and timeout (GH-139224) 2025-09-23 21:31:42 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
mp_preload_flush.py gh-135335: flush stdout/stderr in forkserver after preloading modules (#135338) 2025-06-18 14:17:02 +02:00
mp_preload_main.py gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) 2025-09-07 07:49:54 +00:00
multibytecodec_support.py gh-101828: Fix jisx0213 codecs removing null characters (gh-139340) 2025-10-14 22:55:00 +09:00
pickletester.py gh-136327: Fix inconsistent `TypeError` messages regarding invalid values after * and ** (#136395) 2025-10-24 19:12:49 +00:00
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py gh-140702: Log color and GHA env vars in test.pythoninfo (#140747) 2025-10-29 13:29:10 +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
relimport.py
seq_tests.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py gh-127971: fix off-by-one read beyond the end of a string during search (#132574) 2025-07-13 15:33:34 +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-133346: add tests for _colorize.Theme (#139687) 2025-10-26 12:07:31 +00:00
test__interpchannels.py gh-123828: Fix data race in _interpchannels._waiting_release (GH-124107) 2025-10-01 11:34:47 +00: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-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04: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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_abc.py gh-130095: Mark _py_abc tests as not thread-safe (gh-130131) 2025-02-14 16:21:45 -05: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 Make Android streams respect the unbuffered (-u) option (#138806) 2025-09-18 11:41:21 +01:00
test_annotationlib.py gh-141174: Improve annotationlib._Stringifier test coverage (#141220) 2025-11-10 06:56:45 -08: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-139946: Colorize error and warning messages in argparse (#140695) 2025-11-04 16:31:35 +00:00
test_array.py gh-140474: Fix memory leak in array.array (GH-140478) 2025-10-23 05:49:27 -04: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 Remove duplicated tests in test_base64 (gh-125346) (GH-141153) 2025-11-06 16:48:58 +00: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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +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
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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_build_details.py gh-136264: Fix `--relative-paths` for PEP 739's build-details.json (#138510) 2025-09-08 10:14:05 +01:00
test_builtin.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_bytes.py gh-139871: Add bytearray.take_bytes([n]) to efficiently extract bytes (GH-140128) 2025-11-13 13:19:44 +00:00
test_bz2.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_c_locale_coercion.py gh-74857, PEP 538: Coerce POSIX locale to UTF-8 based locale (#139238) 2025-09-23 19:20:59 +02:00
test_calendar.py gh-140212: Add html for year-month option in Calendar (#140230) 2025-10-31 17:28:53 +02:00
test_call.py GH-137573: Add test to check that the margin used for overflow protection is larger than the stack space used by the interpreter (GH-137724) 2025-09-23 15:47:27 +02: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-139946: Colorize error and warning messages in argparse (#140695) 2025-11-04 16:31:35 +00:00
test_cmath.py gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) 2024-09-08 16:01:54 +03: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-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +00:00
test_cmd_line_script.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_code.py gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVarCounts() (gh-135438) 2025-06-13 16:47:49 -06: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
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-136702: Clear codec caches for refleak tests; use test.support helpers (GH-141345) 2025-11-10 14:42:18 +01: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-138682: Add symmetric difference to Counter (gh-138766) 2025-09-26 00:04:49 -05:00
test_colorsys.py
test_compare.py
test_compile.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_compileall.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -07:00
test_complex.py 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 (#128973) 2025-03-27 21:06:52 +02:00
test_configparser.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_contains.py
test_context.py gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_contextlib.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_contextlib_async.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_copy.py GH-130397: remove special-casing of C stack depth for WASI (#134469) 2025-05-22 14:08:44 -07:00
test_copyreg.py
test_coroutines.py gh-130821: Add type information to error messages for invalid return type (GH-130835) 2025-08-14 11:04:41 +03:00
test_crossinterp.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_csv.py gh-138621: Increase test coverage for csv.DictReader and csv.Sniffer (GH-138622) 2025-11-12 00:32:26 +00:00
test_curses.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_datetime.py
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
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
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-76007: Deprecate __version__ attribute in decimal (#140302) 2025-10-26 12:01:04 +01:00
test_decorators.py
test_defaultdict.py
test_deque.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_descr.py gh-119494: Fix error messages for deleting/setting type attributes (#119495) 2025-09-18 22:08:49 +01:00
test_descrtut.py
test_devpoll.py
test_dict.py gh-140551: Fix dict crash if clear is called at lookup stage (#140558) 2025-10-29 14:36:23 +05:30
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-138669: Increase test coverage for difflib (GH-138670) 2025-09-12 11:33:38 +02: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-136438: Make sure test_dis pass with all optimization levels (GH-136593) 2025-08-19 10:48:35 +02:00
test_docxmlrpc.py
test_dtrace.py
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
test_embed.py gh-89745: Remove test_embed.test_init_read_set() (#139500) 2025-10-02 16:52:10 +02:00
test_ensurepip.py gh-139823: Check if zlib is available in ensurepip (GH-139954) 2025-10-13 16:01:06 +02:00
test_enum.py gh-140766: [Enum] add show_flag_values and bin to enum.__all__ (GH-140765) 2025-10-30 10:32:55 -07:00
test_enumerate.py
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
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-130397: remove special-casing of C stack depth for WASI (#134469) 2025-05-22 14:08:44 -07:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-140193: Forward port test_exec_set_nomemory_hang from 3.13 (GH-140187) 2025-11-11 11:27:56 -08:00
test_extcall.py gh-136327: Fix inconsistent `TypeError` messages regarding invalid values after * and ** (#136395) 2025-10-24 19:12:49 +00:00
test_external_inspection.py gh-138709: Fix race condition in test_external_inspection (#139209) 2025-09-21 18:32:03 +01:00
test_faulthandler.py gh-137725: Convert faulthandler to Argument Clinic (#137726) 2025-08-16 15:16:04 +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
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
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-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +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-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02: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-139516: Fix lambda colon start format spec in f-string in tokenizer (#139657) 2025-10-07 17:28:15 +01:00
test_ftplib.py gh-131888: fix ResourceWarning in test_ftplib (#131889) 2025-04-02 14:30:19 +02:00
test_funcattrs.py gh-58211: Add tests for the __self__ attribute of builtins functions (#113575) 2025-04-12 12:02:43 +00:00
test_functools.py gh-140873: Add support of non-descriptor callables in functools.singledispatchmethod() (GH-140884) 2025-11-13 19:48:52 +02:00
test_gc.py GH-139951: Fix major GC performance regression (GH-140262) 2025-10-21 15:22:15 +01:00
test_generated_cases.py gh-135755: Make Py_TAIL_CALL_INTERP macro private (#138981) 2025-09-18 14:33:07 +02:00
test_generator_stop.py
test_generators.py GH-127682: Only call __iter__ once in generator expressions. (GH-132351) 2025-04-11 09:37:22 +01:00
test_genericalias.py gh-140808: Remove __class_getitem__ from mailbox._ProxyFile (#140838) 2025-11-02 13:56:59 -08:00
test_genericclass.py
test_genericpath.py gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) 2025-10-31 14:49:51 +01: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-138514: getpass: restrict echo_char to a single ASCII character (#138591) 2025-09-16 16:21:55 +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 gh-138372: Fix SyntaxWarning for erroneous t-string subscription (#138375) 2025-09-02 18:13:12 +01:00
test_graphlib.py gh-130914: Make graphlib.TopologicalSorter.prepare() idempotent (#131317) 2025-03-18 16:28:00 -05:00
test_grp.py
test_gzip.py GH-139946: Colorize error and warning messages in argparse (#140695) 2025-11-04 16:31:35 +00:00
test_hash.py
test_hashlib.py gh-137412: fix default_builtin_hashes values in test_hashlib.py (#137413) 2025-08-07 15:31:56 -07: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-137371: refactor and fortify test.support.hashlib_helper (#137375) 2025-09-10 09:14:38 +02:00
test_html.py
test_htmlparser.py gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) 2025-10-31 17:44:02 +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-92936: allow double quote in cookie values (#113663) 2025-08-08 12:07:15 -07:00
test_httplib.py gh-131724: Add a new max_response_headers param to HTTP/HTTPSConnection (GH-136814) 2025-07-20 13:53:54 +00:00
test_httpservers.py gh-70765: fix an HTTP/0.9 flaky test post GH-139514 (#139610) 2025-10-05 16:51:16 +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-76007: Deprecate __version__ attribute in imaplib (#140299) 2025-10-20 15:20:44 +03:00
test_index.py
test_int.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_int_literal.py
test_ioctl.py gh-134744: Fix fcntl error handling (#134748) 2025-05-27 15:09:46 +02:00
test_ipaddress.py gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_isinstance.py GH-130397: remove special-casing of C stack depth for WASI (#134469) 2025-05-22 14:08:44 -07:00
test_iter.py Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_iterlen.py
test_itertools.py gh-93096: Load doctests in test_itertools (#131133) 2025-03-12 08:40:59 +01:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.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_launcher.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_linecache.py gh-133253: making linecache thread-safe (#133305) 2025-05-09 12:15:16 +05:30
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 Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_lltrace.py
test_locale.py gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) 2025-09-29 17:32:38 +02:00
test_logging.py gh-138162: Fix logging.LoggerAdapter with merge_extra=True and without the extra argument (GH-140511) 2025-10-30 12:52:02 +02: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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_mailbox.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_marshal.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_math.py gh-120950: Fix overflow in math.log() with large int-like argument (GH-121011) 2025-11-12 00:27:13 +02: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
test_memoryview.py gh-133454: Reduce the number of threads in test_racing_getbuf_and_releasebuf (GH-133458) 2025-05-23 19:58:34 +03: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-87710: Update mime type for `.ai` (#141239) 2025-11-12 16:22:01 +02:00
test_minidom.py gh-63882: Break down and tests in test_minidom (#133026) 2025-05-05 16:07:24 +00:00
test_mmap.py gh-116738: make mmap module thread-safe (#139237) 2025-10-09 12:00:47 +05:30
test_modulefinder.py
test_monitoring.py gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) 2025-10-31 10:09:22 +00:00
test_msvcrt.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_multibytecodec.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py gh-135815: skip netrc security checks if os.getuid is missing (#135816) 2025-06-22 19:48:06 +00:00
test_ntpath.py gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) 2025-10-31 14:49:51 +01:00
test_nturl2path.py GH-125866: Deprecate nturl2path module (#131432) 2025-03-19 19:33:01 +00:00
test_numeric_tower.py
test_opcache.py gh-139525: Don't specialize functions which have a modified vectorcall (#139524) 2025-10-03 09:58:32 -07:00
test_opcodes.py
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
test_optparse.py gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_ordered_dict.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_osx_env.py
test_patma.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_pdb.py gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess (#139185) 2025-09-24 11:46:05 +08:00
test_peepholer.py gh-138679: Opcodes which consume no inputs should indicate they produced the val… (#138678) 2025-09-08 13:53:12 -07:00
test_pep646_syntax.py
test_perf_profiler.py gh-137291: Support perf profiler with an evaluation hook (#137292) 2025-08-07 14:54:12 -07:00
test_perfmaps.py gh-136459: Add perf trampoline support for macOS (#136461) 2025-07-22 16:47:24 +01:00
test_pickle.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_picklebuffer.py
test_pickletools.py gh-139646: fix typo in pickletools error message (#139647) 2025-10-06 10:52:45 +00:00
test_pkg.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_pkgutil.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_platform.py gh-131178: Fix test_unknown_flag for platform CLI (#137816) 2025-09-05 16:59:46 +05:30
test_plistlib.py gh-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +02:00
test_poll.py
test_popen.py gh-131234: Improve test_popen with more asserts (#131235) 2025-03-14 11:38:31 +00:00
test_poplib.py gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +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
test_pprint.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02: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-139184: Set O_CLOEXEC for master_fd when calling os.forkpty() (#139408) 2025-10-10 10:56:10 +02: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
test_py_compile.py
test_pyclbr.py gh-139289: Lazy import rlcompleter to fix the refleak (#139305) 2025-09-26 22:17:02 +08:00
test_pyexpat.py gh-140593: Fix a memory leak in function my_ElementDeclHandler of pyexpat (#140602) 2025-10-26 13:45:32 +00: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-133454: Mark test_queue tests with many threads as bigmem (gh-134575) 2025-06-02 23:25:32 +03:00
test_quopri.py
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-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror (GH-136796) 2025-08-26 15:33:21 +02:00
test_range.py
test_re.py gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) 2025-11-04 12:54:28 +02:00
test_readline.py gh-133711: Fix test_readline.test_nonascii() for UTF-8 Mode (#134841) 2025-05-28 17:43:52 +02:00
test_regrtest.py gh-139208: Fix regrtest --fast-ci --verbose (#139240) 2025-09-23 16:09:01 +02:00
test_remote_pdb.py gh-139940: Handle RuntimeError when attaching to a non-existing process in pdb. (#139941) 2025-10-28 23:12:12 -07:00
test_repl.py gh-140438: properly run the asyncio REPL tests (#140298) 2025-10-23 20:53:23 +05:30
test_reprlib.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_resource.py gh-137044: Fix test_resource on 32-bit Linux (GH-137941) 2025-08-19 15:22:30 +03:00
test_richcmp.py gh-126146: Remove `__cmp__` method from tests (#126147) 2024-10-30 00:47:26 +02:00
test_rlcompleter.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_robotparser.py gh-88375, gh-111788: Fix parsing errors and normalization in robotparser (GH-138502) 2025-09-05 18:58:42 +03:00
test_runpy.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_samply_profiler.py gh-136459: Add perf trampoline support for macOS (#136461) 2025-07-22 16:47:24 +01:00
test_sax.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_sched.py
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
test_selectors.py
test_set.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_setcomps.py Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_shelve.py gh-99631: Add custom loads and dumps support for the shelve module (#118065) 2025-07-12 14:27:32 +02:00
test_shlex.py gh-138804: Check type in shlex.quote (GH-138809) 2025-09-12 14:26:21 -04:00
test_shutil.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_signal.py gh-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +00:00
test_site.py gh-140170: Fix test_site with -s flag (GH-140179) 2025-10-16 12:49:08 +03:00
test_slice.py
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
test_socket.py gh-100218: correctly set errno when socket.if_{nametoindex,indextoname} raise OSError (#140905) 2025-11-09 13:45:38 +01: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
test_source_encoding.py gh-63161: Fix PEP 263 support (GH-139481) 2025-10-10 12:51:19 +00:00
test_ssl.py gh-139504: Catch BrokenPipeError in ssl test_client_sigalgs_mismatch() (#139505) 2025-10-02 18:08:29 +02:00
test_stable_abi_ctypes.py gh-140550: Initial implementation of PEP 793 – PyModExport (GH-140556) 2025-11-05 12:31:42 +01:00
test_startfile.py
test_stat.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_statistics.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_str.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02: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-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) 2025-10-06 11:38:01 +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-140260: fix data race in _struct module initialization with subinterpreters (#140909) 2025-11-13 16:31:31 +05:30
test_structseq.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_subclassinit.py
test_subprocess.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_sundry.py
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-55258: Skip tests of stdout status on mobile platforms (#140401) 2025-10-22 07:12:26 +08:00
test_symtable.py gh-135801: Add the module parameter to compile() etc (GH-139652) 2025-11-13 13:21:32 +02:00
test_syntax.py gh-138944: Fix SyntaxError message for invalid syntax following valid import-as statement (#138945) 2025-10-26 22:35:21 +00:00
test_sys.py gh-139109: A new tracing JIT compiler frontend for CPython (GH-140310) 2025-11-13 18:08:32 +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-137838: Fix JIT trace buffer overrun by increasing possible exit stubs (gh-138177) 2025-09-09 09:51:08 +09:00
test_sysconfig.py GH-78870: copy test from GH-20439 (#139884) 2025-10-10 05:52:13 +00:00
test_syslog.py
test_tabnanny.py gh-76007: Deprecate __version__ attribute (#138675) 2025-09-29 12:03:23 +03:00
test_tarfile.py gh-57911: Fix failing symlink test in tarfile (GH-138626) 2025-09-08 15:42:54 +02:00
test_tcl.py
test_tempfile.py gh-69528: Distinguish between file modes "wb+" and "rb+" (GH-137834) 2025-10-21 20:33:30 +03:00
test_termios.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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
test_thread_local_bytecode.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01: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-140067: Fix memory leak in sub-interpreter creation (#140111) (#140261) 2025-10-18 16:36:58 +05:30
test_threading_local.py gh-127190: Fix local_setattro() error handling (#127366) 2024-11-28 17:35:48 +01:00
test_threadsignals.py
test_time.py gh-79922: Remove always false test skips in test_time (#136202) 2025-10-27 15:09:25 +00:00
test_timeit.py gh-139374: colorize traceback when using timeit command-line interface (#139375) 2025-09-28 11:49:18 +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-140576: Fixed crash produced by lexer in case of dedented zero byte (#140583) 2025-10-29 13:27:35 +00: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-139707: Better ModuleNotFoundError message for missing stdlib modules (GH-140219) 2025-10-21 09:12:04 +02: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
test_tty.py
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-139817: Attribute __qualname__ is added to TypeAliasType (#139919) 2025-10-15 09:08:17 -07:00
test_type_annotations.py gh-138349: Fix crash when combining module-level annotation and listcomp (#138363) 2025-09-10 15:18:39 +02:00
test_type_cache.py gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043) 2025-04-25 15:01:48 +03:00
test_type_comments.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_type_params.py gh-128404: remove asyncio from test_type_params (#128436) 2025-01-03 07:50:24 +00:00
test_typechecks.py
test_types.py gh-133210: Fix test_types with --without-doc-strings (#139548) 2025-10-03 21:52:45 +00:00
test_typing.py gh-140348: Fix using | on unusual objects plus Unions (#140383) 2025-11-03 06:50:37 -08:00
test_ucn.py gh-131807: fix ResourceWarning in test_ucn.py (#131808) 2025-03-28 15:55:40 +01:00
test_unary.py
test_unicode_file.py
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
test_unicodedata.py gh-129117: Add unicodedata.isxidstart() function (#140269) 2025-10-30 10:18:12 +00: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
test_unparse.py gh-138774: use value to ast.unparse code when str is None in ast.Interpolation (#139415) 2025-10-23 13:56:05 +00:00
test_urllib.py GH-137059: url2pathname(): fix support for drive letter in netloc (#137060) 2025-07-27 11:44:41 +00:00
test_urllib2.py gh-127591: Fix altering environment in test_urllib2 (unsetting no_proxy) (GH-132584) 2025-04-16 13:05:54 +03: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-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urlparse.py gh-135120: Add test.support.subTests() (GH-135121) 2025-06-06 13:52:48 +02:00
test_userdict.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_userlist.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_userstring.py
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
test_uuid.py GH-139946: Colorize error and warning messages in argparse (#140695) 2025-11-04 16:31:35 +00:00
test_venv.py gh-139308: Skip test_special_chars_csh on NetBSD due to csh variable expansion issue (#139341) 2025-10-04 13:56:43 +00:00
test_wait3.py
test_wait4.py
test_wave.py gh-75593: Add support of bytes and path-like paths in wave.open() (GH-140951) 2025-11-12 10:20:55 +02:00
test_weakref.py GH-135552: Add tests to check weakref clearing (GH-136304) 2025-08-07 17:45:33 -07: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-139946: Colorize error and warning messages in argparse (#140695) 2025-11-04 16:31:35 +00:00
test_winapi.py
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-140826: Compare winreg.HKEYType by the internal handle value (GH-140843) 2025-11-03 10:14:22 +02: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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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-140601: Refactor ElementTree.iterparse() tests (GH-141499) 2025-11-13 13:37:01 +02: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
test_xxlimited.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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
test_zipimport.py gh-61206: Support zstandard compression in the zipimport module (GH-138254) 2025-09-01 17:14:23 -07: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