cpython/Lib/test
Eric Snow cb35c11d82
gh-132775: Add _PyPickle_GetXIData() (gh-133107)
There's some extra complexity due to making sure we we get things right when handling functions and classes defined in the __main__ module.  This is also reflected in the tests, including the addition of extra functions in test.support.import_helper.
2025-04-30 17:34:05 -06:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-127945: add test_ctypes to free-threading TSAN CI (#132727) 2025-04-21 22:56:56 +05:30
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
support gh-132775: Add _PyPickle_GetXIData() (gh-133107) 2025-04-30 17:34:05 -06:00
test_ast gh-133194: Add CHECK_VERSION to new PEP758 grammar (#133195) 2025-04-30 13:39:26 +03:00
test_asyncio gh-133016: Fix a reference to removed asyncio.futures.TimeoutError (#133019) 2025-04-26 18:57:08 +00:00
test_capi gh-130317: Skip test_pack_unpack_roundtrip_for_nans() on x86 (#133155) 2025-04-30 12:01:06 +02:00
test_cext gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
test_concurrent_futures gh-132097: skip tests raising an explicit SIGSEV when UB sanitizer is on (#132398) 2025-04-12 09:18:58 +02:00
test_cppext gh-127906: Add missing sys import to test_cppext (#132902) 2025-04-25 10:19:26 +02:00
test_ctypes gh-121249: adjust formatting codes for complex types in struct/ctypes (#132827) 2025-04-23 15:38:24 +02:00
test_dataclasses gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_doctest gh-128816: Fix warnings in test_doctest (GH-128817) 2025-01-15 15:05:59 +02:00
test_email gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03:00
test_free_threading gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_future_stmt
test_gdb gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_import gh-132825: Enhance unhashable error messages for dict and set (#132828) 2025-04-23 17:10:09 +02:00
test_importlib gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} (#130708) 2025-04-01 10:18:42 -07:00
test_inspect gh-127604: Add C stack dumps to faulthandler (#128159) 2025-04-21 20:48:02 +01:00
test_interpreters gh-132781: Cleanup Code Related to NotShareableError (gh-132782) 2025-04-25 14:43:38 -06:00
test_json gh-131952: Add colour to the `json` module CLI (#132126) 2025-04-19 18:11:21 +00:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib GH-128520: pathlib ABCs tests: use explicit text encoding (#133105) 2025-04-28 20:18:56 +01:00
test_peg_generator gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
test_pydoc gh-132261: Store annotations at hidden internal keys in the class dict (#132345) 2025-04-10 21:13:26 -07:00
test_pyrepl gh-133054: Skip test_pyrepl tests when cannot use pyrepl is reported (#133055) 2025-04-28 19:09:28 +03:00
test_sqlite3 gh-129928: Raise more accurate exception for incorrect sqlite3 UDF creation (#129941) 2025-02-11 08:26:01 +01:00
test_string gh-133213: Add tests for string.templatelib.TemplateIter (#133215) 2025-04-30 22:38:25 +03:00
test_tkinter gh-120220: Deprecate legacy methods for tracing variables in Tkinter (GH-120223) 2025-04-29 20:26:51 +03:00
test_tomllib gh-118761: Improve import time of tomllib (#128907) 2025-01-16 18:48:42 -08:00
test_tools gh-130453: pygettext: Allow specifying multiple keywords with the same function name (GH-131380) 2025-04-10 11:06:40 +00:00
test_ttk
test_unittest gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_warnings gh-128384: Fix for unreliable warnings unit tests. (gh-132611) 2025-04-16 13:13:23 -07:00
test_zipfile gh-117779: Fix reading duplicated entries in zipfile by name (GH-129254) 2025-04-08 13:56:42 +03:00
test_zoneinfo gh-128438: Use EnvironmentVarGuard in test_zoneinfo.py (#131870) 2025-04-27 13:29:37 +02:00
tkinterdata
tokenizedata
tracedmodules
translationdata
typinganndata gh-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -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 gh-132661: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +02:00
__init__.py
__main__.py
_code_definitions.py gh-87859: Track Code Object Local Kinds For Arguments (gh-132980) 2025-04-29 02:21:47 +00: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-129205: Modernize test_eintr (#129316) 2025-01-27 18:04:45 +01:00
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py gh-132719: Skip multiprocessing test if missing ctypes (#132846) 2025-04-23 20:33:15 +02:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py GH-115322: fix ctypes call_function audit hook on 32-bit platforms (GH-132496) 2025-04-14 06:22:29 +00:00
autotest.py
bisect_cmd.py
clinic.test.c gh-132987: Support __index__() for "k" and "K" formats in PyArg_Parse (GH-132988) 2025-04-26 17:14:18 +03:00
cov.py
curses_tests.py
datetimetester.py gh-89157: Make C and Python implementation of datetime.date.fromisoformat consistent (#131007) 2025-04-24 17:16:07 +03: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-115942: Add locked to several multiprocessing locks (#115944) 2025-04-08 11:14:12 +03:00
mapping_tests.py gh-111178: Skip tests which require deep stack if UBsan (#131669) 2025-03-24 15:33:56 +01:00
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965) 2025-04-25 18:13:47 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +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-117657: Skip some tests when running with TSAN (gh-131555) 2025-03-21 15:16:08 -04:00
test__interpreters.py gh-132775: Cleanup Related to crossinterp.c Before Further Changes (gh-132974) 2025-04-28 11:55:15 -06: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-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01: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
test_android.py gh-124666: Improve thread cleanup in test_android (#131427) 2025-03-19 06:30:22 +08:00
test_annotationlib.py typing, annotationlib: clean tests (#133087) 2025-04-28 08:38:11 -07:00
test_apple.py
test_argparse.py
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
test_asyncgen.py gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_atexit.py
test_audit.py GH-115322: Add missing audit hooks (GH-115624) 2025-04-13 21:46:20 +00:00
test_augassign.py
test_base64.py
test_baseexception.py
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
test_binop.py
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
test_bufio.py
test_build_details.py GH-107956: install build-details.json (PEP 739) (#130069) 2025-02-13 13:58:00 +00:00
test_builtin.py gh-130070: Fix exec(<string>, closure=<non-None>) unexpected path (#130071) 2025-04-17 10:14:55 +03:00
test_bytes.py gh-131015: Add test for bytes formatting errors (#131881) 2025-04-05 10:30:16 +02:00
test_bz2.py gh-132983: Introduce compression package and move _compression module (GH-133018) 2025-04-27 14:41:30 -07:00
test_c_locale_coercion.py
test_calendar.py
test_call.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_charmapcodec.py
test_class.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_clinic.py gh-132753: Argument Clinic: Fix support of c_default for the bool converter (GH-132754) 2025-04-20 23:21:29 +00:00
test_cmath.py
test_cmd.py
test_cmd_line.py gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043) 2025-04-25 15:01:48 +03:00
test_cmd_line_script.py gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (#116049) 2025-02-13 01:07:37 +00:00
test_code.py gh-132775: Add _PyCode_GetVarCounts() (gh-133128) 2025-04-30 18:19:20 +00:00
test_code_module.py gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661) 2025-02-28 13:15:55 -05:00
test_codeccallbacks.py
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-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_codeop.py gh-128016: Improved invalid escape sequence warning message (#128020) 2025-01-15 18:00:54 +01:00
test_collections.py gh-71339: Use assertIsSubclass() and assertNotIsSubclass() in test_collections (GH-128824) 2025-01-20 11:16:32 +02:00
test_colorsys.py
test_compare.py
test_compile.py gh-132435: Test syntax warnings in a finally block (GH-132436) 2025-04-13 20:44:00 +00:00
test_compileall.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_compiler_assemble.py
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-130941: Fix configparser parsing values with allow_no_value and interpolation set (GH-130949) 2025-04-16 12:39:11 +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
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_cprofile.py gh-132737: Support profiling modules that require __main___ (#132738) 2025-04-24 14:41:01 -04:00
test_crossinterp.py gh-132775: Add _PyPickle_GetXIData() (gh-133107) 2025-04-30 17:34:05 -06:00
test_csv.py
test_curses.py gh-91221: fix test_curses.test_use_default_colors for xterm-256color (#132990) 2025-04-26 10:38:27 +00:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py gh-53032: support IEEE 754 contexts in the decimal module (#122003) 2025-04-28 15:05:56 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_descrtut.py
test_devpoll.py
test_dict.py gh-116436: Improve error message when TypeError occurs during dict update (#116443) 2025-04-29 22:18:06 -07:00
test_dictcomps.py
test_dictviews.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_difflib.py
test_difflib_expect.html gh-131204: Fix difflib.HtmlDiff may not use monospaced font (#131221) 2025-03-14 10:45:33 +00:00
test_dis.py gh-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -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
test_eintr.py
test_embed.py gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_ensurepip.py
test_enum.py gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790) 2025-04-24 23:13:54 -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
test_except_star.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +00:00
test_exception_group.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-132449: Improve syntax error messages for keywords with typos (#132450) 2025-04-22 11:01:55 +02:00
test_extcall.py
test_external_inspection.py gh-91048: Refactor _testexternalinspection and add Windows support (#132852) 2025-04-25 14:12:16 +01:00
test_faulthandler.py gh-127604: Add C stack dumps to faulthandler (#128159) 2025-04-21 20:48:02 +01:00
test_fcntl.py [tests] fix test_fcntl issue when run in a ChromeOS linux runtime (GH-133053) 2025-04-27 13:28:23 -07: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
test_fileio.py
test_fileutils.py
test_finalization.py
test_float.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_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-74598: add fnmatch.filterfalse for excluding names matching a patern (#121185) 2025-04-08 10:11:25 +00:00
test_fork1.py
test_format.py gh-130928: Fix error message during bytes formatting for the 'i' flag (#130967) 2025-03-24 22:07:03 +03:00
test_fractions.py gh-130104: Call __rpow__ in ternary pow() if necessary (GH-130251) 2025-04-16 18:32:41 +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-132661: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +02: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-133167: Fix compilation process with --enable-optimizations and --without-docstrings (#133187) 2025-04-30 16:41:50 +03:00
test_gc.py
test_generated_cases.py Get rid of ERROR_IF's "label" parameter (GH-132654) 2025-04-29 17:21:53 -07: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-132168: Add __class_getitem__ to ctypes.py_object (#132169) 2025-04-06 22:05:19 +01:00
test_genericclass.py
test_genericpath.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08: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
test_getpath.py GH-128469: Revert "warn when libpython was loaded from outside the build directory (#128645)" (#129506) 2025-01-31 11:17:37 +00:00
test_gettext.py gh-130320: gettext: Test fallback translations (GH-130321) 2025-04-10 14:56:21 +03:00
test_glob.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_global.py
test_grammar.py gh-132661: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +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-130806: Emit ResourceWarning if GzipFile unclosed (#130905) 2025-03-13 11:20:05 +01:00
test_hash.py
test_hashlib.py gh-132993: expose HASHLIB_GIL_MINSIZE to private extension modules (#132999) 2025-04-27 22:20:15 +00:00
test_heapq.py
test_hmac.py gh-132993: expose HASHLIB_GIL_MINSIZE to private extension modules (#132999) 2025-04-27 22:20:15 +00:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_http_cookies.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_httplib.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_httpservers.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_idle.py
test_imaplib.py gh-55454: Add IMAP4 IDLE support to imaplib (#122542) 2025-02-06 19:15:11 -08:00
test_index.py
test_int.py GH-114911: use time.perf_counter in Stopwatch (GH-131469) 2025-04-28 13:55:08 +02:00
test_int_literal.py
test_io.py gh-132952: Speed up startup by importing _io instead of io (#132957) 2025-04-28 08:38:56 -07:00
test_ioctl.py gh-132742: Fix newly added tcflush() tests on Android (GH-133070) 2025-04-28 21:41:09 +03:00
test_ipaddress.py gh-130607: Extend and cleanup IPv6 tests (GH-121518) 2025-02-28 11:31:30 +01:00
test_isinstance.py gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158) 2025-03-13 08:28:15 +08:00
test_iter.py
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-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021) 2025-03-10 17:59:23 +00:00
test_linecache.py gh-60115: Support frozen modules for linecache.getline() (#131638) 2025-04-02 19:50:01 -04:00
test_list.py gh-132713: Fix repr(list) race condition (#132801) 2025-04-22 22:09:35 +02:00
test_listcomps.py
test_lltrace.py
test_locale.py gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04:00
test_logging.py gh-115032: Deprecate support for custom logging handlers with 'strm' argument. (GH-115314) 2025-04-27 22:18:14 +01:00
test_long.py Remove duplicated dict keys in test_{embed,long}.py fixtures (#128727) 2025-01-20 13:50:10 +01:00
test_longexp.py
test_lzma.py gh-132987: Support __index__() in the lzma module (GH-133099) 2025-04-29 14:14:33 +00: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-101410: Customize error messages for 1-arg math functions (#129497) 2025-04-22 11:29:20 +02:00
test_math_property.py
test_memoryio.py
test_memoryview.py
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-129965: Add more missing MIME types (#132845) 2025-04-28 15:30:35 +00:00
test_minidom.py gh-63882: Implement some test_minidom tests (#132879) 2025-04-26 23:03:48 +03:00
test_mmap.py gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303) 2025-04-08 22:08:00 +03:00
test_modulefinder.py
test_monitoring.py Remove print from test_monitoring.py (#131200) 2025-03-13 22:54:17 +03: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
test_ntpath.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08: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 Revert gh-127266: avoid data races when updating type slots (gh-131174) (gh-133129) 2025-04-28 23:38:29 -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
test_ordered_dict.py
test_os.py gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04: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-133153: Use rlcompleter for pdb's interact command (#133176) 2025-04-30 18:19:13 -04:00
test_peepholer.py gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} (#130708) 2025-04-01 10:18:42 -07:00
test_pep646_syntax.py
test_perf_profiler.py gh-132553: Build the perf tool without buildid cache (GH-132663) 2025-04-18 14:26:59 +02:00
test_perfmaps.py
test_pickle.py gh-131178: Add tests for pickle command-line interface (#131275) 2025-04-06 11:50:32 -04: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-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04: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
test_posix.py
test_posixpath.py gh-132185: Speed up expanduser() test with large password database (GH-132231) 2025-04-12 16:17:52 +00:00
test_pow.py
test_pprint.py
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
test_pstats.py
test_pty.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_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py gh-131591: Allow pdb to attach to a running process (#132451) 2025-04-25 01:43:23 +01:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291) 2025-02-21 11:33:10 -06:00
test_range.py
test_re.py GH-114911: use time.perf_counter in Stopwatch (GH-131469) 2025-04-28 13:55:08 +02:00
test_readline.py gh-126895: Fix readline module in free-threaded build (#131208) 2025-03-17 11:57:11 -04:00
test_regrtest.py gh-131290: ensure that test files can be executed as standalone scripts (#131371) 2025-04-12 07:46:19 +00:00
test_remote_pdb.py gh-131591: Add tests for _PdbClient (#132976) 2025-04-30 14:09:41 +01:00
test_repl.py gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_sax.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py gh-132825: Enhance unhashable error messages for dict and set (#132828) 2025-04-23 17:10:09 +02:00
test_setcomps.py
test_shelve.py
test_shlex.py gh-118761: Optimise import time for `shlex` (#132036) 2025-04-24 16:10:46 +01:00
test_shutil.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test_signal.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08:00
test_site.py gh-132952: Speed up startup by importing _io instead of io (#132957) 2025-04-28 08:38:56 -07:00
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py gh-132987: Support __index__() in the socket module (GH-133093) 2025-04-29 19:27:07 +03:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py gh-132987: Support __index__() in the ssl.SSLContext.options setter (GH-133098) 2025-04-29 16:28:47 +03:00
test_stable_abi_ctypes.py gh-132639: Adds PyLong_AsNativeBytes, PyLong_FromNativeBytes and PyLong_FromUnsignedNativeBytes to the limited API (GH-132640) 2025-04-21 15:59:03 +01:00
test_startfile.py
test_stat.py
test_statistics.py
test_str.py gh-120608: Make reversed iterator work with free-threading (#120971) 2025-03-12 12:39:52 +01:00
test_strftime.py
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-131434: Improve error reporting for incorrect format in strptime() (GH-131568) 2025-04-09 13:26:50 +03:00
test_strtod.py
test_struct.py gh-121249: adjust formatting codes for complex types in struct/ctypes (#132827) 2025-04-23 15:38:24 +02:00
test_structseq.py
test_subclassinit.py
test_subprocess.py gh-124986: Fix test_no_leaking in test_subprocess on NetBSD and FreeBSD (GH-132476) 2025-04-14 09:15:12 +03:00
test_sundry.py
test_super.py GH-129386: Use symbolic constants for specialization tests (GH-129415) 2025-01-29 10:49:58 -08:00
test_support.py gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_symtable.py
test_syntax.py gh-133197: Improve error message for ft"" and bt"" cases (#133202) 2025-04-30 19:20:44 +03:00
test_sys.py gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043) 2025-04-25 15:01:48 +03: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-127405: Add ABIFLAGS to sysconfig variables on Windows (GH-131799) 2025-04-11 16:19:03 +01:00
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-131492, gh-131461: handle exceptions in GzipFile constructor while owning resources (#131462) 2025-03-20 17:06:21 +00:00
test_tcl.py
test_tempfile.py gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372) 2025-03-05 00:06:07 +02:00
test_termios.py gh-132742: Fix newly added tcflush() tests on Android (GH-133070) 2025-04-28 21:41:09 +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
test_threading.py gh-87135: test_threading: Wait on thread, not an Event it sets (GH-133198) 2025-04-30 15:14:24 +02:00
test_threading_local.py
test_threadsignals.py
test_time.py gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568) 2025-04-09 13:26:50 +03:00
test_timeit.py gh-131178: Update help message for timeit CLI (#131326) 2025-03-30 14:19:38 +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-129958: Properly disallow newlines in format specs in single-quoted f-strings (GH-130063) 2025-04-18 14:30:04 +02:00
test_trace.py gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133) 2025-02-20 10:13:44 -05:00
test_traceback.py gh-132308: prevent TracebackException swallowing attributes of a falsey Exception or ExceptionGroup (#132363) 2025-04-19 09:49:18 +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: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +02:00
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py gh-126349: test_turtle: Add cleanup to avoid reference leaks (GH-129079) 2025-01-21 11:28:34 +01:00
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-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -07: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
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-132747: Fix NULL dereference when calling a method's __get__ manually (#132772) 2025-04-21 14:09:34 -07:00
test_typing.py typing, annotationlib: clean tests (#133087) 2025-04-28 08:38:11 -07: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 gh-129569: The function unicodedata.normalize() always returns built-in str (#129570) 2025-02-21 14:51:13 +01:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-132661: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +02:00
test_urllib.py GH-90812: Add test for urlopen() of file URI for UNC path (#132489) 2025-04-15 19:16:34 +01: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 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-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_userdict.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01: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
test_utf8source.py
test_uuid.py gh-130843: expose 48-bit timestamp for UUIDv7 (#131838) 2025-03-31 14:32:54 +02:00
test_venv.py gh-130486: Fix test_venv fails from within venv (GH-130487) 2025-03-04 07:48:07 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py gh-131254: ensure that BROWSER is not set for test_webbrowser on macOS (#131276) 2025-03-16 15:39:30 +01:00
test_winapi.py
test_winconsoleio.py
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-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
test_wmi.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_wsgiref.py
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-131938: Update exception message for Element.remove() when an element is not found (#131972) 2025-04-04 15:04:07 +00:00
test_xml_etree_c.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_xmlrpc.py
test_xxlimited.py
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-132933: zipapp - apply the filter when creating the list of files to add (gh-132934) 2025-04-29 15:14:46 +01:00
test_zipfile64.py
test_zipimport.py gh-127146: Update test skips for Emscripten 4.0.1 (#129375) 2025-01-28 01:05:21 +00:00
test_zipimport_support.py
test_zlib.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py