cpython/Lib/test
Miss Islington (bot) da61baf992
[3.15] gh-152490: Fix TypeError when traceback.py formats SyntaxError(NotImplemented) (GH-152495) (#160009)
gh-152490: Fix TypeError when traceback.py formats SyntaxError(NotImplemented) (GH-152495)

Method traceback.TracebackException._format_syntax_error contains line `msg = self.msg or "<no detail available>"`.
Since 3.14, bool(NotImplemented) raises TypeError and hence so does `self.msg or ...`.  Catch it in a try statement.

---------
(cherry picked from commit 5503a5e099)

Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-10-21 01:47:29 -04:00
..
archivetestdata
audiodata
audit_test_data
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata [3.15] gh-158294: Avoid relying on SystemTap probe handler ordering (GH-158346) (#158383) 2026-09-29 11:47:55 +00:00
encoded_modules
leakers
libregrtest [3.15] gh-158445: Add C API tests on build information functions (#159515) 2026-10-16 11:15:23 +00:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support [3.15] gh-158681: Document that regrtest no longer supports test_main() (GH-158682) (#159575) 2026-10-16 20:56:56 +00:00
test_ast [3.15] gh-159320: Enable stack size detection on Android (GH-159321) (#159409) 2026-10-14 12:44:05 +00:00
test_asyncio [3.15] gh-158004: preserve asyncio.as_completed() items after anext cancellation (GH-158005) (#159877) 2026-10-20 19:09:17 +05:30
test_capi [3.15] gh-159739: Fix crash in _PyTuple_Resize() with an invalid size (GH-159804) (#159976) 2026-10-21 00:15:53 +00:00
test_cext [3.15] gh-157649: Use more warmups in test_cext to check for refleaks (#159374) 2026-10-14 00:09:55 +02:00
test_concurrent_futures [3.15] gh-154272: Skip more forkserver tests if the start method is unavailable (GH-154499) (GH-154505) 2026-07-23 01:46:41 +03:00
test_ctypes [3.15] gh-159739: Read resized ctypes scalars using their declared size (GH-159767) (#159898) 2026-10-20 11:12:58 -07:00
test_dataclasses [3.15] gh-158936: Resolve lazy imports consistently for dataclass annotations (GH-158939) (#158946) 2026-10-09 12:14:47 -07:00
test_doctest
test_email [3.15] gh-87720 Fix additional header refolding-quoting edge case (GH-134271) (#159069) 2026-10-09 15:35:44 -04:00
test_free_threading [3.15] gh-158197: Fix split dict iteration during concurrent deletion (gh-158686) (#159953) 2026-10-20 17:03:22 -07:00
test_future_stmt
test_gdb [3.15] gh-159914: Ignore gdb stderr in test_gdb.test_pretty_print (GH-159916) (#159939) 2026-10-20 20:37:05 +00:00
test_import [3.15] gh-155731: Clean up files left by test_import (GH-155735) (GH-155739) 2026-10-10 12:28:32 +03:00
test_importlib [3.15] gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set (GH-155001) (#155347) 2026-08-07 20:32:27 +03:00
test_inspect [3.15] gh-69370: Fix "python -m inspect --details" for unencodable paths (GH-155246) (GH-156605) 2026-10-10 12:35:15 +03:00
test_interpreters [3.15] gh-143376: validate usages of _interpchannels.ChannelID in _channelid_shared (GH-146574) (#159995) 2026-10-21 01:29:50 +00:00
test_io [3.15] gh-159739: Handle overlapping buffers in BytesIO.readinto (GH-159777) (#159902) 2026-10-20 11:13:39 -07:00
test_json [3.15] gh-159603: Use pthread_attr_get_np() on FreeBSD (#159604) (#159928) 2026-10-20 14:49:48 -05:00
test_lazy_import [3.15] gh-159538: Fix deep chain leak in test_deeply_dotted_name (GH-159576) (#159609) 2026-10-17 02:16:02 +00:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver [3.15] gh-154272: Skip forkserver tests when the start method is unavailable (GH-154274) (GH-154468) 2026-07-22 11:44:19 +00:00
test_multiprocessing_spawn
test_os [3.15] gh-152754: Fix crash when an os.scandir iterator is shared between threads (gh-153462) (gh-159365) 2026-10-13 16:05:35 -07:00
test_pathlib [3.15] Test that ValueError is raised when vfsopen is passed an invalid mode (GH-154008) (#154064) 2026-07-19 09:10:16 +00:00
test_peg_generator [3.15] gh-154592: Fix test_peg_generator in non-UTF-8 locales with a non-ASCII work dir (GH-154593) (GH-154598) 2026-07-28 14:51:49 +00:00
test_profiling [3.15] gh-154062: Stop normalizing differential flamegraph duration (GH-154082) (#158871) 2026-10-12 03:51:21 +01:00
test_pydoc [3.15] gh-69371: Fix pydoc for modules whose path contains undecodable bytes (GH-155239) (GH-156608) 2026-10-10 12:35:46 +03:00
test_pyrepl [3.15] gh-69605: fix PyREPL completions inserted for import statements with spaces (GH-148629) (#159989) 2026-10-20 18:49:23 -07:00
test_sqlite3 [3.15] gh-156100: Fix crashes in the sqlite3 Connection.autocommit setter (GH-156104) (GH-156151) 2026-10-10 12:31:48 +03:00
test_string [3.15] gh-153056: Fix a data race compiling the string.Template pattern in free-threading builds (GH-153057) (#153302) 2026-07-07 18:40:03 -07:00
test_tkinter [3.15] gh-159127: Fix tests depending on the layout of unmapped text widgets (GH-159128) (GH-159133) 2026-10-10 19:53:57 +00:00
test_tomllib gh-149231: tomllib: Limit the number of parts in a key (GH-149233) 2026-05-04 13:49:07 +02:00
test_tools
test_ttk [3.15] gh-154357: Fix tkinter, ttk and IDLE tests depending on the window manager (GH-154370) (#157063) 2026-10-03 21:38:47 +03:00
test_unittest [3.15] gh-153888: Resolve lazy imports before using them as a mock spec (GH-157768) (GH-158396) 2026-10-10 14:01:54 +03:00
test_warnings [3.15] gh-158973: Reset the warnings lock after fork in the child (gh-158974) (gh-159614) 2026-10-19 14:54:15 -07:00
test_zipfile [3.15] gh-156002: Keep reading through monkey-patched zipfile decompressors (GH-157180) (#157268) 2026-09-15 17:00:39 +03:00
test_zoneinfo [3.15] gh-154892: Fix PyLong_AsLong() error checks in _zoneinfo (GH-154901) (#155056) 2026-08-01 20:22:23 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata
typinganndata
wheeldata
xmltestdata
zipimport_data
.ruff.toml [3.15] Enable linting of lazy import tests (GH-156624) (#156655) 2026-08-30 15:38:41 +03:00
__init__.py Add __init__.py to test package. 1997-11-06 15:41:23 +00:00
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_code_definitions.py
_crossinterp_definitions.py
_isolated_sample.py [3.15] gh-75876: Run bigmem tests in a subprocess (GH-155302) (GH-159087) 2026-10-10 11:11:34 +03:00
_test_atexit.py
_test_eintr.py
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py [3.15] gh-155717: Determine multiprocessing's default start method lazily (GH-159254) (GH-159271) 2026-10-12 23:42:03 +00:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py [3.15] gh-149474: use Py_fopen in Binary{Reader,Writer} for audit hook and path-like support (GH-149524) (#149586) 2026-05-09 00:28:21 +00:00
autotest.py
bisect_cmd.py
clinic.test.c [3.15] gh-64502: Fix Argument Clinic support of optional groups with defaults (GH-155191) (GH-155209) 2026-10-10 09:07:10 +00:00
cov.py
curses_tests.py
datetimetester.py [3.15] gh-152204: Validate date and time fields in _pydatetime.date{time}.fromisoformat (GH-152205) (GH-156359) 2026-10-10 13:30:47 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py [3.15] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155164) 2026-10-10 12:25:02 +03:00
lock_tests.py
mapping_tests.py [3.15] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155164) 2026-10-10 12:25:02 +03:00
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mime.types2 [3.15] gh-93417: Improve test_mimetypes (GH-150725) (GH-153748) 2026-07-15 09:48:33 +00:00
mock_socket.py
mp_fork_bomb.py
mp_preload.py
mp_preload_flush.py
mp_preload_large_sysargv.py
mp_preload_main.py
mp_preload_sysargv.py
multibytecodec_support.py
NormalizationTest-3.2.0.txt
picklecommon.py
pickletester.py [3.15] gh-154848: Enforce frame boundaries in the C unpickler (GH-154893) (GH-154977) 2026-07-31 09:37:47 +00:00
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py [3.15] gh-158445: Add C API tests on build information functions (#159515) 2026-10-16 11:15:23 +00:00
randv2_32.pck
randv2_64.pck Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
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
test__colorize.py [3.15] gh-150994: _colorize: modernize typing imports (GH-151018) (#152041) 2026-06-24 03:27:00 +00:00
test__interpchannels.py
test__interpreters.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py [3.15] gh-153772: Make abc isinstance() tolerate instances without __class__ (GH-154149) (#156541) 2026-08-29 10:10:18 +03:00
test_abstract_numbers.py
test_android.py [3.15] gh-158536: Skip some Android logging tests on OS versions with aggressive "chatty" filtering (GH-158531) (#158537) 2026-10-06 16:47:00 +03:00
test_annotationlib.py [3.15] gh-152692: Fix annotationlib.type_repr() for bound built-in methods (GH-152693) (GH-159280) 2026-10-13 17:32:22 +02:00
test_apple.py
test_argparse.py [3.15] gh-155009: Fix argparse test on non-UTF-8 locales like Raspbian (GH-155227) (#155270) 2026-08-07 12:25:33 +00:00
test_array.py [3.15] gh-142083: Document the 'w' type code in the array.array docstring (#158040) (#158575) 2026-10-12 17:20:25 +00:00
test_asdl_parser.py
test_asyncgen.py
test_atexit.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_audit.py
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py [3.15] gh-149015: Fix clear_all_file_breaks for breakpoints sharing a line in bdb (GH-159748) (#159801) 2026-10-19 23:20:09 +00:00
test_bigaddrspace.py
test_bigmem.py [3.15] gh-75876: Correct the memory use declared by some bigmem tests (GH-155307) (#155312) 2026-08-08 04:34:08 +00:00
test_binascii.py gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077) 2026-05-04 12:40:52 +03:00
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py gh-146238: Add missing tests for 'e', 'Zf' and 'Zd' array type codes in test_buffer (#149345) 2026-05-06 15:14:49 +02:00
test_build_details.py [3.15] gh-159759: Fix libpython.static in PEP 739 build-details.json (GH-159766) (#159823) 2026-10-19 21:51:01 -07:00
test_builtin.py [3.15] Add tests for async comprehensions in different scopes (GH-156412) (#156794) 2026-09-05 16:03:28 +01:00
test_bytes.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_bz2.py [3.15] gh-150599: Prevent bz2 decompressor reuse after errors (GH-150600) 2026-06-07 17:48:30 +01:00
test_c_locale_coercion.py
test_c_stack_unwind.py [3.15] Rename fp unwind test module to C stack unwind (GH-149563) (#149565) 2026-05-08 14:24:49 +00:00
test_calendar.py [3.15] gh-153158: Remove the erroneous width argument of HTMLCalendar.formatmonthpage (GH-153159) (#155932) 2026-08-17 06:15:29 +00:00
test_call.py [3.15] gh-78526: Add tests for PEP 468 and PEP 520 (GH-155387) (#155676) 2026-08-27 15:57:37 +03:00
test_charmapcodec.py
test_class.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_clinic.py [3.15] gh-156219: Fix Argument Clinic for an optional argument with **kwds (GH-156220) (GH-156222) 2026-10-10 13:57:25 +03:00
test_cmath.py
test_cmd.py [3.15] gh-150922: Fix test_cmd libedit assertion in test_bang_completion_without_do_shell (GH-156623) (GH-157155) 2026-10-10 13:33:42 +03:00
test_cmd_line.py [3.15] gh-86427: Use the console code page for the stdio encoding on Windows (GH-155415) (GH-156602) 2026-10-10 12:34:51 +03:00
test_cmd_line_script.py [3.15] gh-141276: Avoid compiling zipimport source in get_filename (GH-153799) (#159729) 2026-10-19 18:55:41 +00:00
test_code.py [3.15] Don't require _testcapi for test_code (GH-152185) (#152202) 2026-06-25 14:02:49 +00:00
test_code_module.py [3.15] gh-69919: Catch all compile errors in the code module, pyrepl and IDLE (GH-157585) (#158025) 2026-10-09 17:17:29 -04:00
test_codeccallbacks.py [3.15] gh-159739: Bound encoding-name lookahead in surrogatepass (GH-159785) (#159911) 2026-10-20 18:25:38 +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 [3.15] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) (#156017) 2026-08-18 20:52:11 +01:00
test_codeop.py [3.15] Improved test coverage for codeop.py. (GH-154100) (#154938) 2026-07-31 12:32:31 +03:00
test_collections.py
test_colorsys.py [3.15] Improve colorsys coverage (GH-153982) (#154076) 2026-07-19 10:17:49 +00:00
test_compare.py
test_compile.py [3.15] gh-130279: Fix missing exception handlers for jumps in loops (GH-159460) (#159698) 2026-10-19 08:43:26 +00:00
test_compileall.py [3.15] gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set (GH-155001) (#155347) 2026-08-07 20:32:27 +03:00
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py [3.15] gh-155526: Don't check errno in abs(complex) (GH-155527) (#157341) 2026-09-15 16:45:12 +03:00
test_configparser.py [3.15] gh-156353: Fix configparser space delimiter parsing (GH-156382) (#156557) 2026-08-29 11:05:39 +00:00
test_contains.py
test_context.py [3.15] gh-155515: Use GC tracking for HAMT iterators (GH-155517) (#155697) 2026-08-17 03:58:10 +00:00
test_contextlib.py
test_contextlib_async.py
test_copy.py [3.15] gh-154594: Fix deepcopy memo lookup when __deepcopy__ returns None (GH-154595) (#159255) 2026-10-12 20:31:46 +00:00
test_copyreg.py
test_coroutines.py [3.15] Add tests for async comprehensions in different scopes (GH-156412) (#156794) 2026-09-05 16:03:28 +01:00
test_crossinterp.py [3.15] gh-149219: Test frozendict in Lib/test/test_crossinterp.py (GH-149220) (#150186) 2026-05-21 15:22:24 +00:00
test_csv.py [3.15] gh-98820: Fix quadratic time in csv.Sniffer for quoted fields (GH-154867) 2026-08-03 12:26:19 +00:00
test_curses.py [3.15] gh-156946: Unlink a curses panel before dropping its user pointer (GH-156947) (GH-157540) 2026-10-10 12:53:42 +03:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py [3.15] gh-155869: Fix data loss in dbm.dumb.reorganize() (GH-155872) (#155874) 2026-08-19 06:23:39 +03:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_decorators.py
test_defaultdict.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_deque.py [3.15] gh-159739: Preserve the full maxlen when copying deque subclasses (GH-159765) (#159896) 2026-10-20 11:18:12 -07:00
test_descr.py [3.15] gh-154211: Skip C-stack exhaustion tests when the C stack is huge (GH-154212) (GH-154216) 2026-07-20 06:35:33 +00:00
test_descrtut.py [3.15] gh-149189: Revert "Modern defaults for pprint (GH-149190)" (GH-150249) (#150268) 2026-05-22 20:49:36 +00:00
test_devpoll.py
test_dict.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_dictcomps.py
test_dictviews.py [3.15] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155164) 2026-10-10 12:25:02 +03:00
test_difflib.py [3.15] gh-71896: Add a docs warning about trailing newlines ignored by difflib.HtmlDiff (GH-153930) (GH-153965) 2026-07-18 14:08:50 +00:00
test_difflib_expect.html
test_dis.py [3.15] gh-130279: Fix missing exception handlers for jumps in loops (GH-159460) (#159698) 2026-10-19 08:43:26 +00:00
test_docxmlrpc.py
test_dtrace.py [3.15] gh-98894: Fix test_dtrace on Solaris (GH-154803) (#159602) 2026-10-17 02:54:35 +02:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py [3.15] gh-157384: Document and test PyImport_CreateModuleFromInitfunc() semantics (GH-157389) (#159791) 2026-10-19 22:54:26 +00:00
test_ensurepip.py
test_enum.py [3.15] gh-150285: Fix too long docstrings in some Python modules (GH-150366) (GH-150375) 2026-05-25 11:19:36 +03:00
test_enumerate.py [3.15] gh-153932: protect read of en_index during enumerate.reduce (GH-154118) (GH-154128) 2026-07-19 17:01:00 +02:00
test_eof.py
test_epoll.py [3.15] gh-154379: Fix test_epoll on Solaris (GH-154380) (GH-154382) 2026-07-21 16:44:29 +00:00
test_errno.py
test_except_star.py
test_exception_group.py [3.15] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155164) 2026-10-10 12:25:02 +03:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_extcall.py
test_external_inspection.py [3.15] gh-159620: Fix remote asyncio stacks stopping at async generators (GH-159623) (GH-159654) 2026-10-17 23:37:58 +00:00
test_faulthandler.py [3.15] Restore deferred backports for 3.15.1, including GH-158874 (#158882) 2026-10-11 15:42:59 +01:00
test_fcntl.py [3.15] Re-raise unexpected exceptions instead of swallowing them in various tests (GH-152019) (#152102) 2026-06-24 16:53:16 +00:00
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileutils.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py [3.15] gh-159739: Reject the minimum dynamic formatting width (GH-159780) (#159906) 2026-10-20 14:57:25 -07:00
test_fractions.py
test_frame.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_frozen.py
test_fstring.py [3.15] gh-157778: Include opening brace line in multiline f-string errors (GH-157779) (#158047) 2026-09-24 00:59:40 +00:00
test_ftplib.py [3.15] gh-87451: Apply CVE-2021-4189 PASV fix to ftplib.ftpcp() (GH-149648) (#149792) 2026-05-15 10:50:45 +00:00
test_funcattrs.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_functools.py [3.15] gh-154189: Fix use-after-free in functools.partial_vectorcall (GH-154508) (#154652) 2026-07-27 16:59:45 +02:00
test_gc.py [3.15] gh-158445: Add C API tests on build information functions (#159515) 2026-10-16 11:15:23 +00:00
test_gc_stats.py GH-148726: Add heap_size to generational GC (#149195) 2026-05-04 22:14:45 +01:00
test_generated_cases.py gh-143732: add specialization for FOR_ITER (GH-148745) 2026-05-04 17:29:10 +01:00
test_generator_stop.py
test_generators.py
test_genericalias.py [3.15] gh-150146: Fix NULL dereference in _Py_subs_parameters (GH-150147) (#150153) 2026-05-20 13:55:30 +00:00
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py [3.15] Add test coverage to check execution of GetoptError.__str__ (GH-153941) (#153997) 2026-07-19 09:09:28 +00:00
test_getpass.py
test_getpath.py [3.15] gh-106045: Fix venv path discovery for symlinked executables (GH-156483) (#160002) 2026-10-20 18:43:07 -07:00
test_gettext.py [3.15] gh-157451: Fix gettext.c2py() for unary "!" combined with a binary operator (GH-157453) (GH-157663) 2026-10-10 12:38:52 +03:00
test_glob.py
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py [3.15] gh-80198: Improve test_pwd and test_grp (GH-150380) (GH-150398) 2026-05-25 21:43:23 +03:00
test_gzip.py [3.15] gh-133998: Fix gzip file creation when time is out of range (GH-134278) (GH-150221) 2026-05-22 07:48:42 +00:00
test_hash.py
test_hashlib.py [3.15] gh-155835: fix digest_size and block_size data races on SHA-3 objects (GH-155838) (GH-157038) 2026-10-12 13:35:22 +02:00
test_heapq.py
test_hmac.py [3.15] gh-155426: correctly reject non-bytes keys in hmac.digest (GH-155427) (#159743) 2026-10-19 20:18:18 +00:00
test_html.py
test_htmlparser.py [3.15] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) (GH-153038) 2026-07-05 08:57:20 +00:00
test_http_cookiejar.py [3.15] gh-61366: Read session cookies written by curl and Wget (GH-11792) (GH-155603) 2026-10-10 12:27:51 +03:00
test_http_cookies.py [3.15] gh-149144: Use decodeURIComponent() for UTF-8 support in js_output() (GH-149157) (GH-149846) 2026-05-15 00:38:11 +02:00
test_httplib.py [3.15] gh-159044: Restore string conversion for HTTP tunnel header values (GH-159216) (GH-159382) 2026-10-13 23:57:20 +00:00
test_httpservers.py [3.15] gh-54930: Send a status line in error responses to malformed request lines (GH-152980) (GH-153092) 2026-07-05 11:22:09 +00:00
test_idle.py
test_imaplib.py [3.15] gh-155775: Do not consume the CAPABILITY response in imaplib (GH-155789) (GH-156585) 2026-10-10 12:34:00 +03:00
test_index.py
test_int.py
test_int_literal.py
test_ioctl.py
test_ipaddress.py [3.15] gh-88178: Fix exploded IPv6 addresses with a scope ID (GH-25824) (GH-155655) 2026-10-10 12:28:11 +03:00
test_isinstance.py [3.15] gh-154211: Skip C-stack exhaustion tests when the C stack is huge (GH-154212) (GH-154216) 2026-07-20 06:35:33 +00:00
test_iter.py
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_launcher.py [3.15] Re-raise unexpected exceptions instead of swallowing them in various tests (GH-152019) (#152102) 2026-06-24 16:53:16 +00:00
test_linecache.py [3.15] gh-157146: Let linecache read sources from zip archives on sys.path (GH-157147) (#157269) 2026-10-10 14:31:28 -07:00
test_list.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_listcomps.py [3.15] gh-150700: Fix class-scope inline comprehensions when nested scopes reference __class__ and friends (GH-150735) (#151211) 2026-06-09 16:33:04 -07:00
test_lltrace.py
test_locale.py
test_logging.py [3.15] gh-135683: Honor raiseExceptions when opening the file fails in FileHandler (GH-154542) (GH-157807) 2026-10-10 12:41:56 +03:00
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py [3.15] gh-159184: Do not compare set elements when marshalling a set (GH-159196) (#159205) 2026-10-11 23:27:49 +00:00
test_math.py [3.15] gh-152563, test_math: Enable fma test on musl 1.2.6 (GH-152564) (#155755) 2026-08-14 17:44:37 +09:00
test_math_integer.py [3.15] gh-153200: Fix math.isqrt() for int subclasses with overridden comparison operators (GH-153203) (GH-153223) 2026-07-06 19:17:26 +00:00
test_math_property.py
test_memoryview.py gh-148675: Remove F and D formats from array and memoryview (GH-149368) 2026-05-04 17:26:30 +02:00
test_metaclass.py
test_mimetypes.py [3.15] gh-159428: Don't read mimetypes.knownfiles by default on Windows (GH-159445) 2026-10-16 14:19:15 +00:00
test_minidom.py [3.15] gh-156658: Only XML white space characters are treated as white space (GH-156659) (GH-156825) 2026-10-10 09:53:39 +00:00
test_mmap.py [3.15] gh-157335: Fix out-of-bounds write in mmap.mmap.__setitem__ (GH-157438) (#158026) 2026-09-28 18:57:50 +03:00
test_modulefinder.py
test_monitoring.py [3.15] gh-158121: Preserve instruction events when line monitoring is disabled (GH-158456) (#159733) 2026-10-19 19:47:56 +00:00
test_msvcrt.py [3.15] gh-150436: Skip subprocess test on STATUS_DLL_INIT_FAILED (GH-150704) (#150713) 2026-06-04 08:46:08 +00:00
test_multibytecodec.py [3.15] gh-157325: Fix an OOB read in the hz incremental decoder on a trailing ~ (gh-157333) (GH-158163) 2026-10-10 13:35:11 +03:00
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py [3.15] gh-155468: Distinguish empty quoted tokens from EOF in netrc (GH-155471) (#156464) 2026-08-31 12:51:14 +03:00
test_ntpath.py [3.15] gh-102475: Fix os.path.realpath() for names which look like a drive (GH-155399) (GH-156593) 2026-10-10 09:52:20 +00:00
test_nturl2path.py [3.15] gh-156713: Use the filesystem encoding in nturl2path (GH-156717) (GH-157423) 2026-10-10 12:38:26 +03:00
test_numeric_tower.py
test_opcache.py gh-100239: specialize mixed int/float inplace binary ops (GH-149413) 2026-05-06 13:59:08 +01:00
test_opcodes.py
test_openpty.py
test_operator.py [3.15] gh-156762: Fix tp_clear slot signature for operator.methodcaller() (GH-156769) (#157448) 2026-09-15 16:43:57 +03:00
test_optimizer.py
test_optparse.py
test_ordered_dict.py [3.15] gh-152492 Allow OrderedDict.update to work with frozendict (GH-152494) (#152630) 2026-06-29 20:20:08 +00:00
test_osx_env.py
test_patma.py [3.15] gh-154775: Don't accept duplicate plus sign when matching complex number (GH-154776) (GH-154802) 2026-07-28 10:41:40 +02:00
test_pdb.py [3.15] gh-138641: Ignore set_trace() when we are already in pdb (GH-159918) (#159970) 2026-10-21 00:29:22 +00:00
test_peepholer.py [3.15] gh-148817: Fold long lists/sets of constant elements into constant tuples/frozensets (GH-149016) (#155897) 2026-08-19 06:33:24 +03:00
test_pep646_syntax.py
test_perf_profiler.py [3.15] gh-157247: Block perf trampoline activation when the main interpreter's JIT is enabled (GH-157258) (#157324) 2026-09-23 01:11:38 +01:00
test_perfmaps.py
test_pickle.py [3.15] gh-156106: Add tests for setting and deleting attributes defined in C (GH-156107) (GH-159086) 2026-10-09 21:19:04 +00:00
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py gh-148641: Implement PEP 829 - startup configuration files (#149109) 2026-05-03 17:17:29 +00:00
test_platform.py [3.15] gh-145177: Bump emscripten version to 4.0.19 (GH-150926) (#150939) 2026-06-05 06:25:21 +00:00
test_plistlib.py [3.15] gh-145856: Fix plistlib.dump() with skipkeys=True and sort_keys=True (GH-150109) (GH-157735) 2026-10-10 12:40:53 +03:00
test_poll.py
test_popen.py
test_poplib.py gh-148600: Add OpenSSL 4.0.0 support to test configurations (#149356) 2026-05-04 16:21:04 +03:00
test_positional_only_arg.py
test_posixpath.py
test_pow.py
test_pprint.py [3.15] gh-155596: Fix pprint expand mode ignoring width for nested values (GH-155926) (#157684) 2026-09-19 04:49:07 +00:00
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py [3.15] gh-80198: Improve test_pwd and test_grp (GH-150380) (GH-150398) 2026-05-25 21:43:23 +03:00
test_py_compile.py [3.15] gh-154948: Fix test_zipfile failure when SOURCE_DATE_EPOCH is set (GH-155001) (#155347) 2026-08-07 20:32:27 +03:00
test_pyclbr.py
test_pyexpat.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_pystats.py
test_queue.py [3.15] gh-156476: Ignore timeout in _PySimpleQueue.get() when block is false (GH-156477) (GH-156487) 2026-10-10 13:31:02 +03:00
test_quopri.py
test_raise.py
test_random.py [3.15] gh-154001: Avoid division by zero in binomialvariate (GH-154004) (GH-154050) 2026-07-19 09:28:18 +00:00
test_range.py
test_re.py [3.15] gh-156444: Fix a negated character set with IGNORECASE and LOCALE (GH-156445) (GH-156456) 2026-10-10 12:33:22 +03:00
test_readline.py [3.15] gh-123018: Keep the libedit history file header when truncating (GH-157165) (#157172) 2026-10-10 21:32:17 +00:00
test_regrtest.py [3.15] gh-132581: Report why the execution environment was altered (GH-155294) (GH-155986) 2026-10-10 12:30:44 +03:00
test_remote_pdb.py [3.15] gh-154470: Fix spurious ^J in pdb's colorized list command (GH-154473) (#157536) 2026-09-15 09:45:59 +03:00
test_repl.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_reprlib.py
test_resource.py [3.15] gh-154326: Fix test_fsize_not_too_big() on Solaris (GH-154329) (GH-154334) 2026-07-21 10:17:48 +03:00
test_richcmp.py
test_rlcompleter.py [3.15] gh-112821: Fix rlcompleter failures on objects with descriptors (GH-149577) (#149656) 2026-05-11 12:07:50 -04:00
test_robotparser.py [3.15] gh-153404: Silently ignore non-decimal digits in robots.txt Crawl-delay and Request-rate (GH-153405) (#153830) 2026-07-31 12:28:13 +03:00
test_runpy.py
test_samply_profiler.py [3.15] gh-121608: Fix test_samply_profiler: only check samply once (GH-153424) (#153457) 2026-07-10 02:49:38 +00:00
test_sax.py [3.15] gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGenerator (GH-156799) (GH-156858) 2026-10-10 12:38:13 +03:00
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py [3.15] gh-154007: Improve test coverage for the shlex module (GH-154009) (#154445) 2026-07-22 08:35:09 +00:00
test_shutil.py [3.15] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) (#158431) 2026-10-02 19:05:07 +03:00
test_signal.py
test_site.py [3.15] gh-156404: Restore the 'fullname' variable for .pth import lines (GH-156406) (#156431) 2026-08-27 13:49:56 +03:00
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py [3.15] gh-93251: Decode localized socket error messages from the locale encoding (GH-154683) (GH-154723) 2026-07-26 10:01:27 +00:00
test_socketserver.py
test_sort.py
test_source_encoding.py [3.15] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462) (GH-151470) 2026-06-14 12:58:37 +00:00
test_ssl.py [3.15] gh-155782: avoid a crash in ssl.SSLObject.group for session-less objects (GH-155829) (#159740) 2026-10-19 20:00:30 +00:00
test_stable_abi_ctypes.py [3.15] gh-149189: Revert "Modern defaults for pprint (GH-149190)" (GH-150249) (#150268) 2026-05-22 20:49:36 +00:00
test_startfile.py
test_stat.py
test_statistics.py
test_str.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_strftime.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py [3.15] gh-85943: Fix BytesWarning in the struct format cache under -bb (GH-153627) (GH-153834) 2026-07-17 08:23:01 +00:00
test_structseq.py
test_subclassinit.py
test_subprocess.py [3.15] gh-153970: Fix str() of CalledProcessError when returncode is not an integer (#153971) (#159084) 2026-10-09 22:18:22 +02:00
test_sundry.py
test_super.py
test_support.py [3.15] gh-158445: Add C API tests on build information functions (#159515) 2026-10-16 11:15:23 +00:00
test_symtable.py
test_syntax.py [3.15] gh-156091: Fix crash compiling deeply nested inlined comprehensions (GH-156957) (GH-156992) 2026-10-10 13:32:32 +03:00
test_sys.py [3.15] gh-128509: Add tests on sys._is_immortal() (GH-157376) (#157445) 2026-10-09 23:31:29 +02:00
test_sys_setprofile.py
test_sys_settrace.py GH-143732: SEND specialization (GH-148963) 2026-05-05 15:19:16 +01:00
test_sysconfig.py [3.15] gh-158893: Make os.strerror() thread-safe (#159120) 2026-10-10 22:08:49 +02:00
test_syslog.py [3.15] gh-158929: Fix subinterpreter thread safety issues in syslog (GH-159000) (GH-159125) 2026-10-10 16:12:13 +00:00
test_tabnanny.py [3.15] gh-157159: improve the tabnanny usage message (GH-157160) (#157163) 2026-09-08 08:36:24 +03:00
test_tarfile.py [3.15] gh-133998: Fix tarfile error on out-of-range mtime in streaming gzip mode (GH-151828) (#159158) 2026-10-11 12:26:07 +02:00
test_tcl.py [3.15] gh-75876: Correct the memory use declared by some bigmem tests (GH-155307) (#155312) 2026-08-08 04:34:08 +00:00
test_tempfile.py [3.15] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) (#158431) 2026-10-02 19:05:07 +03:00
test_termios.py [3.15] gh-154414: Skip test_tcsendbreak on DragonFly BSD (GH-154415) (GH-154426) 2026-07-22 06:30:21 +00:00
test_textwrap.py
test_thread.py
test_thread_local_bytecode.py [3.15] gh-129752: Don't update adaptive counters when TLBC=0 in free-threading. (gh-155497) (#155647) 2026-08-26 14:52:45 +09:00
test_threadedtempfile.py
test_threading.py
test_threading_local.py
test_threadsignals.py
test_time.py [3.15] gh-152849: Fix OverflowError message for out-of-range timestamps in the time module (GH-152850) (#153209) 2026-07-06 15:25:47 +00:00
test_timeit.py GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity (#144983) 2026-05-04 21:51:48 +00:00
test_timeout.py
test_tokenize.py [3.15] gh-151464: exclude '<>' token from tokenize output (GH-154854) (#158189) 2026-09-25 19:34:04 +00:00
test_trace.py
test_traceback.py [3.15] gh-152490: Fix TypeError when traceback.py formats SyntaxError(NotImplemented) (GH-152495) (#160009) 2026-10-21 01:47:29 -04:00
test_tracemalloc.py [3.15] gh-155725: Remove PyGILState_Ensure usage from tracemalloc (GH-156409) (#156628) 2026-08-31 09:53:56 +03:00
test_tstring.py [3.15] gh-155525: Fix quadratic f-string tokenization (GH-156756) (#157828) 2026-09-19 22:37:33 +00:00
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py [3.15] gh-158563: Fix various bugs in turtle's undo handling (GH-158564) (GH-158609) 2026-10-10 13:19:45 +03:00
test_type_aliases.py gh-149171: Make TypeAliasType __module__ writable (#149172) 2026-05-02 17:28:08 +00:00
test_type_annotations.py [3.15] gh-154902: Type-check the SET_ADD operand (#155071) 2026-08-04 13:03:28 +03:00
test_type_cache.py [3.15] gh-155503: Add more PyType C API tests (#155505) (#159085) 2026-10-09 20:33:40 +00:00
test_type_comments.py
test_type_params.py [3.15] gh-151665: Fix inspect.signature() on type alias and type parameter evaluators (#151787) 2026-06-21 15:08:37 -07:00
test_typechecks.py
test_types.py [3.15] gh-152405: Do not expose the internal mapping when rich-comparing MappingProxyType objects (GH-152483) (#153670) 2026-07-13 19:42:00 +00:00
test_typing.py [3.15] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155164) 2026-10-10 12:25:02 +03:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py [3.15] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) (#156017) 2026-08-18 20:52:11 +01:00
test_unpack.py
test_unpack_ex.py [3.15] Add tests for syntax error messages that had no test coverage (GH-153192) (GH-153196) 2026-07-06 14:20:55 +00:00
test_unparse.py [3.15] gh-152708: Fix AST generation asymmetry for unary positive in match statements (GH-152712) (#158079) 2026-09-24 23:51:39 +01:00
test_urllib.py [3.15] gh-62917: Add tests for urllib.request.urlcleanup() (GH-155446) (#155465) 2026-08-12 15:40:04 +03:00
test_urllib2.py [3.15] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) (#155968) 2026-08-19 05:15:34 +03:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py [3.15] gh-105708: 'V' could be case insensitive for IPvFuture hostnames (GH-105709) (#153138) 2026-07-05 10:52:46 -07:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py
test_venv.py [3.15] gh-109940: Respect VIRTUAL_ENV_DISABLE_PROMPT in activate.bat (GH-151215) (GH-151225) 2026-06-10 17:48:10 +01:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py [3.15] gh-157242: Add support.inject_memory_error() function (#159553) 2026-10-16 17:12:31 +00:00
test_weakset.py
test_webbrowser.py [3.15] gh-149496: Fix MacOSTest.test_default regression when BROWSER env var is set (GH-149579) (#149745) 2026-05-12 21:25:21 +00:00
test_winapi.py [3.15] gh-154137: Fix handle leak in test_winapi (GH-154201) (#154202) 2026-07-22 17:08:46 +02:00
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py [3.15] Backport GH-148874: Make sure that mngr.__exit__() is always called in a with statement (GH-150911) (GH-154830) 2026-08-03 16:23:34 +01:00
test_wmi.py
test_wsgiref.py [3.15] gh-67765: Add tests for wsgiref.validate (GH-112398) (#155622) 2026-08-27 15:57:16 +03:00
test_xml.py gh-139489: Add xml.is_valid_text() (GH-149412) 2026-05-06 14:40:10 +00:00
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py
test_xml_etree.py [3.15] gh-156658: Only XML white space characters are treated as white space (GH-156659) (GH-156825) 2026-10-10 09:53:39 +00:00
test_xml_etree_c.py [3.15] gh-83895: Accept input larger than 2 GiB in the C implementation of ElementTree (GH-156746) (GH-156771) 2026-10-09 18:30:52 +00:00
test_xmlrpc.py [3.15] gh-148954: Escape methodname in xmlrpc.client.dumps() to prevent XML injection (GH-148968) (GH-151033) 2026-06-07 10:52:40 +03:00
test_xpickle.py
test_xxlimited.py [3.15] gh-140550: Update xxlimited with 3.15 limited API (GH-142827) (GH-149785) 2026-05-14 00:00:29 +02:00
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py [3.15] gh-156568: Make zipapp archives executable with PathLike targets (gh-156569) (gh-159404) 2026-10-14 12:35:23 +01:00
test_zipfile64.py
test_zipimport.py [3.15] gh-141276: Avoid compiling zipimport source in get_filename (GH-153799) (#159729) 2026-10-19 18:55:41 +00:00
test_zipimport_support.py [3.15] gh-141276: Avoid compiling zipimport source in get_filename (GH-153799) (#159729) 2026-10-19 18:55:41 +00:00
test_zlib.py [3.15] gh-158169: Clear zlib.Decompress.unconsumed_tail at end of stream (GH-158177) (GH-158228) 2026-10-10 13:35:31 +03:00
test_zstd.py [3.15] gh-153037: Make ZstdFile.__next__ raise io.UnsupportedOperation on non-readable files (GH-153045) (#153638) 2026-07-12 19:51:38 -07:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py
xpickle_worker.py