cpython/Lib/test
Jason R. Coombs ec4021c6d7
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Ubuntu SSL tests with AWS-LC (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
gh-120492: Sync importlib_metadata 8.2.0 (#124033)
* Sync with importlib_metadata 8.2.0

Removes deprecated behaviors, including support for `PackageMetadata.__getitem__` returning None for missing keys and Distribution subclasses not implementing abstract methods.
Prioritizes valid dists to invalid dists when retrieving by name (python/cpython/#120492). Adds SimplePath to `importlib.metadata.__all__`.

* Add blurb
2025-08-15 14:19:23 -07:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-137341: Remove more word duplications (GH-137342) 2025-08-03 19:41:12 +03: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-129033: Remove dead code in test.support.has_no_debug_ranges() (#137379) 2025-08-04 16:48:24 +02:00
test_ast gh-137308: Replace a single docstring with pass in -OO mode (#137318) 2025-08-02 11:57:01 +00:00
test_asyncio gh-135444: fix asyncio.DatagramTransport.sendto to account for datagram header size when data cannot be sent (#135445) 2025-07-30 23:41:28 +05:30
test_capi gh-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +00:00
test_cext gh-111506: Add _Py_OPAQUE_PYOBJECT to hide PyObject layout & related API (GH-136505) 2025-07-12 09:55:12 +02:00
test_concurrent_futures gh-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +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-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_dataclasses gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (take 2) (GH-137047) 2025-08-12 13:16:54 +02: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-134759: fix UnboundLocalError in email.message.Message.get_payload (#136071) 2025-07-12 13:30:09 +00:00
test_free_threading gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) 2025-08-13 14:15:12 -04:00
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 Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07:00
test_importlib gh-120492: Sync importlib_metadata 8.2.0 (#124033) 2025-08-15 14:19:23 -07:00
test_inspect gh-136571: Convert more code in datetime to Argument Clinic (GH-136573) 2025-08-09 18:25:49 +00:00
test_interpreters gh-136285: Improve pickle protocol testing in test_interpreters (#136286) 2025-07-06 07:35:30 +00:00
test_json gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib GH-128520: pathlib ABCs: tweak protocol for virtual path strings (#134104) 2025-07-27 12:47:15 +01:00
test_peg_generator gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_pydoc Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07:00
test_pyrepl gh-137179: Fix flaky test_history_survive_crash test (gh-137180) 2025-07-29 14:25:50 -04:00
test_sqlite3 Add test for opening an SQLite with bytes path (GH-136331) 2025-08-11 09:16:54 +03:00
test_string GH-132661: Add `string.templatelib.convert()` (#135217) 2025-07-15 11:56:42 +02:00
test_tkinter gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_tomllib
test_tools gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_ttk gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +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-125854: Improve error messages for invalid category in the warnings module (GH-137750) 2025-08-14 14:59:04 +03:00
test_zipfile gh-136170: Revert adding ZipFile.data_offset (GH-136950) 2025-07-21 23:16:30 +00:00
test_zoneinfo gh-136297: Fix hypothesis and subTest usage in test_zoneinfo_property.py (#136384) 2025-07-08 07:51:36 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata
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-135335: flush stdout/stderr in forkserver after preloading modules (#135338) 2025-06-18 14:17:02 +02:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 21:23:38 +01:00
autotest.py
bisect_cmd.py
clinic.test.c GH-137623: Begin enforcing docstring length in Argument Clinic (#137624) 2025-08-12 20:17:35 +00:00
cov.py
curses_tests.py
datetimetester.py gh-136571: Convert more code in datetime to Argument Clinic (GH-136573) 2025-08-09 18:25:49 +00:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00: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
multibytecodec_support.py
pickletester.py gh-135241: Make unpickling of booleans in protocol 0 more strict (GH-135242) 2025-08-14 22:22:37 +03:00
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07: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
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-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test__interpchannels.py gh-134939: Add the concurrent.interpreters Module (gh-133958) 2025-06-11 17:35:48 -06: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
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
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-124666: Improve thread cleanup in test_android (#131427) 2025-03-19 06:30:22 +08:00
test_annotationlib.py gh-137226: Fix behavior of ForwardRef.evaluate with type_params (#137227) 2025-08-13 06:47:47 -07:00
test_apple.py
test_argparse.py GH-130645: Default to color help in argparse (#136809) 2025-07-20 14:55:44 -07:00
test_array.py Revert "gh-128942: make array module thread safe (#128943)" (#130707) 2025-02-28 16:57:48 -05: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
test_audit.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 21:23:38 +01:00
test_augassign.py
test_base64.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +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
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_bufio.py gh-133982: Update test_bufio to use self.open (gh-133983) 2025-05-21 16:40:50 +02:00
test_build_details.py Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07:00
test_builtin.py gh-136438: Make sure test_builtins pass with all optimization levels (#136474) 2025-07-10 11:57:29 +03:00
test_bytes.py gh-91153: prevent a crash in bytearray.__setitem__(ind, ...) when ind.__index__ has side-effects (#132379) 2025-07-12 13:37:52 +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
test_calendar.py gh-131146: Fix month names in a "standalone form" in calendar module (GH-131147) 2025-07-31 14:06:33 +02:00
test_call.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_charmapcodec.py
test_class.py Skip test as cpython_only that checks whether setattr interns the attribute or not (#134972) 2025-05-31 13:38:05 +02:00
test_clinic.py Exclude _testclinic_depr.c.h from c-analyzer (GH-137086) 2025-07-24 15:50:01 -05:00
test_cmath.py
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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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-58124: Avoid CP_UTF8 in UnicodeDecodeError (#137415) 2025-08-06 14:35:27 +02: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-137463: Update validate_abstract_methods in test_collections.py (#137464) 2025-08-07 09:10:56 +03:00
test_colorsys.py
test_compare.py
test_compile.py gh-137288: Fix bug where boolean expressions are not associated with the correct exception handler (#137310) 2025-08-05 19:25:57 +01: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_cprofile.py gh-135429: Fix the argument mismatch in lsprof throw event (#135442) 2025-06-12 14:46:47 -07:00
test_crossinterp.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_csv.py gh-132813: Improve error messages for incorrect types and values of csv.Dialog attributes (GH-133241) 2025-06-02 23:35:41 +03: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 gh-66234: Add flag to disable the use of mmap in dbm.gnu (GH-135005) 2025-06-02 21:08:26 +03:00
test_dbm_ndbm.py
test_dbm_sqlite3.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_decimal.py gh-87790: support thousands separators for formatting fractional part of Decimal (#132202) 2025-07-07 11:16:27 +03: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-127146: Emscripten: more regular stack overflow skips (#136708) 2025-07-16 14:02:25 +00:00
test_descrtut.py
test_devpoll.py
test_dict.py gh-132617: Fix dict.update() mutation check (gh-134815) 2025-06-16 12:55:20 -04: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-133722: Add Difflib theme to _colorize and 'color' option to difflib.unified_diff (#133725) 2025-08-08 18:34:02 +03:00
test_difflib_expect.html gh-134580: Modernizing difflib.HtmlDiff for HTML Output (#134581) 2025-05-28 03:46:41 +03:00
test_dis.py gh-137681: Always initialize exception handler for new instruction (#137655) 2025-08-13 08:58:26 -07: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-133711: Enable UTF-8 mode by default (PEP 686) (#133712) 2025-07-15 10:45:41 +01:00
test_ensurepip.py
test_enum.py gh-107538: [Enum] fix handling of inverted/negative values (GH-132273) 2025-07-10 16:49:09 -07:00
test_enumerate.py
test_eof.py
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-74185: repr() of ImportError now contains attributes name and path (#136770) 2025-08-14 15:14:00 +02:00
test_extcall.py
test_external_inspection.py gh-135953: Implement sampling tool under profile.sample (#135998) 2025-07-10 18:44:24 +01:00
test_faulthandler.py gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED in faulthandler (#134047) 2025-05-18 10:16:10 +02:00
test_fcntl.py gh-124621: Emscripten: Support pyrepl in browser (GH-136931) 2025-07-22 12:13:38 +02:00
test_file.py gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k (GH-118144) 2025-03-07 11:36:12 -08:00
test_file_eintr.py
test_filecmp.py
test_fileinput.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_fileio.py gh-133982: Use implementation-specific open in test_fileio.OtherFileTests (GH-135364) 2025-06-30 17:56:11 -04: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
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
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-137314: Fix incorrect treatment of format specs in raw fstrings (#137328) 2025-08-03 17:10:51 +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-125028: Prohibit placeholders in partial keywords (GH-126062) 2025-05-08 10:53:53 +03:00
test_gc.py GH-135552: Add tests to check weakref clearing (GH-136304) 2025-08-07 17:45:33 -07:00
test_generated_cases.py gh-136438: Make sure test_generated_cases pass with all optimization levels (#136594) 2025-07-21 15:25:25 +03: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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_genericclass.py
test_genericpath.py gh-71189: Support all-but-last mode in os.path.realpath() (GH-117562) 2025-07-30 10:19:19 +03: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-77065: Add optional keyword-only argument echo_char for getpass.getpass (#130496) 2025-05-06 14:56:20 +03: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
test_grammar.py gh-135028: Increase parser MAXSTACK for nested parenthesis (#135031) 2025-06-03 08:40:45 +02: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-91349: Adjust default compression level to 6 (down from 9) in gzip and tarfile (GH-131470) 2025-07-20 09:43:40 -07: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-136912: fix handling of OverflowError in hmac.digest (#136917) 2025-07-26 08:22:06 +00:00
test_html.py
test_htmlparser.py gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665) 2025-08-14 18:13:22 +00: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-131178: add E2E mockless tests for http.server command-line interface (#134279) 2025-05-24 13:48:50 +02:00
test_idle.py gh-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +00:00
test_imaplib.py
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_io.py GH-135552: Make the GC clear weakrefs later (GH-136189) 2025-08-07 16:32:17 -07:00
test_ioctl.py gh-134744: Fix fcntl error handling (#134748) 2025-05-27 15:09:46 +02:00
test_ipaddress.py gh-115766: Fix IPv4Interface.is_unspecified (GH-137326) 2025-08-11 15:04:47 +02: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
test_largefile.py
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-132554: "Virtual" iterators (GH-132555) 2025-05-27 15:59:45 +01:00
test_listcomps.py Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_lltrace.py
test_locale.py gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300) 2025-08-01 17:43:53 +03:00
test_logging.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_long.py
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-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03: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-135853: add math.fmax and math.fmin (#135888) 2025-07-12 11:31:10 +00:00
test_math_property.py
test_memoryio.py Revert "gh-135410: use a critical section around StringIO.__next__ (#135412)" (#135439) 2025-06-13 07:32:27 +09:00
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-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00: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 Revert "gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303)" (#136991) 2025-07-22 16:39:50 +03:00
test_modulefinder.py
test_monitoring.py gh-137200: support frame lineno setter with BRANCH_LEFT and BRANCH_RIGHT events (GH-137229) 2025-07-31 14:22:22 +01:00
test_msvcrt.py
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-71189: Support all-but-last mode in os.path.realpath() (GH-117562) 2025-07-30 10:19:19 +03: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-134282: Always borrow references LOAD_CONST (GH-134284) 2025-05-20 11:24:11 -04: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-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_ordered_dict.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_os.py gh-127146: Emscripten: Make os.umask() actually work (#136706) 2025-07-16 15:33:15 +02: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 Add classmethod to setUpClass in test_pdb (#133840) 2025-05-10 14:10:58 -04:00
test_peepholer.py gh-134280: Disable constant folding for ~ with a boolean argument (GH-134982) 2025-07-01 20:24:04 +03: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
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-136066: simplify platform._platform() (#136069) 2025-06-29 09:56:52 +02:00
test_plistlib.py
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_posix.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +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
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 Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07: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-105456: Remove 3 deprecated sre_* modules (#135994) 2025-07-01 17:31:07 +02:00
test_pyexpat.py gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED in pyexpat (#135346) 2025-07-01 10:54:08 +02: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
test_random.py gh-135376: Fix and improve test_random (GH-135377) 2025-06-18 18:26:01 +03:00
test_range.py
test_re.py gh-105456: Remove 3 deprecated sre_* modules (#135994) 2025-07-01 17:31:07 +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-135494: Fix python -m test --pgo -x test_re (#135713) 2025-06-24 12:21:35 +02:00
test_remote_pdb.py gh-136438: Make sure test_remote_pdb pass with all optimization levels (GH-136788) 2025-07-20 10:57:54 +02:00
test_repl.py gh-137576: Fix for Basic REPL showing incorrect code in tracebacks with PYTHONSTARTUP (#137625) 2025-08-14 20:58:11 +03:00
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: Support large limit values in getrlimit() and setrlimit() (GH-137338) 2025-08-07 11:06:37 +03:00
test_richcmp.py
test_rlcompleter.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_robotparser.py
test_runpy.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_sample_profiler.py gh-135953: Profile a module or script with sampling profiler (#136777) 2025-08-11 12:36:43 +01: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-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00: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-131178: Add tests for site command-line interface (GH-133582) 2025-08-15 14:00:43 -04:00
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py gh-107545: Fix misleading setsockopt() error messages (GH-107546) 2025-08-05 10:16:14 +00:00
test_socketserver.py
test_sort.py
test_source_encoding.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_ssl.py gh-137583: Only lock the SSL context, not the SSL socket (GH-137588) 2025-08-10 14:47:11 +00:00
test_stable_abi_ctypes.py gh-108512: Add and use new replacements for PySys_GetObject() (GH-111035) 2025-05-28 20:11:09 +03: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-136028: Fix parsing month names containing "İ" (U+0130) in strptime() (GH-136029) 2025-06-27 16:47:03 +03: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-121249: unconditionally support complex types in struct (GH-132864) 2025-05-02 18:24:52 +02:00
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 Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07:00
test_symtable.py gh-121914: Change the names of the symbol tables for lambda and genexpr (GH-135288) 2025-07-13 21:09:42 +03:00
test_syntax.py gh-135422: Fix regression in SyntaxError messages after #134036 (#135423) 2025-06-30 21:52:26 +03:00
test_sys.py gh-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +00:00
test_sys_setprofile.py gh-122029: Do not unpack method for legacy tracing anymore (#130898) 2025-03-11 14:04:22 -04:00
test_sys_settrace.py gh-130080: fix warnings in tests (#131400) 2025-03-18 12:33:46 +00:00
test_sysconfig.py gh-133742: Fix test_sysconfig and test_build_details for relocated directories (#136987) 2025-07-22 11:53:05 +00:00
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-75989: TarFile.extractall and TarFile.extract now overwrite symlinks when extracting hardlinks (GH-137316) 2025-08-06 14:59:22 +02:00
test_tcl.py
test_tempfile.py gh-136156: Remove tempfile test_link_tmpfile() (#136534) 2025-07-11 16:45:31 +02: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-130167: Improve the error case for `textwrap.dedent` (#132666) 2025-04-19 16:18:03 +01: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-134170: Add colorization to unraisable exceptions (#134183) 2025-08-04 14:35:00 +00:00
test_threading_local.py
test_threadsignals.py
test_time.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_timeit.py gh-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03: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-134752: Improve speed of test_tokenize.StringPrefixTest.test_prefixes. (#134766) 2025-05-27 04:49:28 -04:00
test_trace.py
test_traceback.py gh-137078: Fix keyword typo recognition when executed over files (#137079) 2025-08-15 15:14:13 +00:00
test_tracemalloc.py gh-131566: Skip test_tracemalloc_track_race under TSAN (gh-131567) 2025-03-22 11:46:36 -04: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
test_turtle.py
test_type_aliases.py gh-126085: Add tp_iter to TypeAliasType to allow star unpacking (#127981) 2025-03-04 11:34:59 -08:00
test_type_annotations.py gh-130821: Add type information to error messages for invalid return type (GH-130835) 2025-08-14 11:04:41 +03: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
test_typechecks.py
test_types.py gh-136492: Add FrameLocalsProxyType to types (GH-136546) 2025-07-20 20:49:00 +02:00
test_typing.py gh-137191: Fix how type parameters are collected from Protocol and Generic bases with parameters (#137281) 2025-08-03 10:40:55 +03: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
test_unicode_identifiers.py
test_unicodedata.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-132661: Disallow Template/str concatenation after PEP 750 spec update (#135996) 2025-07-21 08:44:26 +02: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-125866: Support complete "file:" URLs in urllib (#132378) 2025-04-14 01:49:02 +01:00
test_urllib_response.py
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-89083: Add CLI tests for UUIDv{6,7,8} (#136548) 2025-07-12 14:06:15 +02:00
test_venv.py Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) 2025-07-22 12:50:13 -07:00
test_wait3.py
test_wait4.py
test_wave.py gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH-136529) 2025-07-13 08:49:12 +03: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-134357: Remove unused imports in tests (#134340) 2025-05-25 20:09:02 +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
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
test_xml_etree.py gh-135640: Adds more type checking to ElementTree (GH-135643) 2025-07-03 10:48:47 +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
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-71339: Use new assertion methods in tests (GH-129046) 2025-05-22 13:17:22 +03:00
test_zipimport_support.py
test_zlib.py gh-134635: add zlib.{adler32,crc32}_combine to combine checksums (#134650) 2025-05-27 10:48:34 +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