cpython/Lib/test
Miss Islington (bot) 4af98bdb94
Some checks failed
Tests / Change detection (push) Has been cancelled
Lint / lint (push) Has been cancelled
Reusable Docs / Docs (push) Has been cancelled
Reusable Docs / Doctest (push) Has been cancelled
Reusable Docs / Check EPUB (push) Has been cancelled
Tail calling interpreter / x86_64-unknown-linux-gnu/gcc-free-threading (push) Has been cancelled
Tail calling interpreter / x86_64-unknown-linux-gnu/gcc (push) Has been cancelled
Tail calling interpreter / aarch64-unknown-linux-gnu/gcc (push) Has been cancelled
Verify bundled wheels / verify (push) Has been cancelled
Verify bundled libexpat / verify (push) Has been cancelled
Tests / Docs (push) Has been cancelled
Tests / Check if the ABI has changed (push) Has been cancelled
Tests / Check if Autoconf files are up to date (push) Has been cancelled
Tests / Check if generated files are up to date (push) Has been cancelled
Tests / C API Docs (push) Has been cancelled
Tests / (push) Has been cancelled
Tests / -1 (push) Has been cancelled
Tests / -2 (push) Has been cancelled
Tests / -3 (push) Has been cancelled
Tests / -4 (push) Has been cancelled
Tests / -5 (push) Has been cancelled
Tests / -6 (push) Has been cancelled
Tests / Windows MSI (push) Has been cancelled
Tests / Windows MSI-1 (push) Has been cancelled
Tests / Windows MSI-2 (push) Has been cancelled
Tests / -7 (push) Has been cancelled
Tests / -8 (push) Has been cancelled
Tests / -9 (push) Has been cancelled
Tests / -10 (push) Has been cancelled
Tests / -11 (push) Has been cancelled
Tests / -12 (push) Has been cancelled
Tests / -13 (push) Has been cancelled
Tests / -14 (push) Has been cancelled
Tests / Ubuntu (installed) (push) Has been cancelled
Tests / Ubuntu SSL tests (push) Has been cancelled
Tests / Ubuntu SSL tests-1 (push) Has been cancelled
Tests / Ubuntu SSL tests-2 (push) Has been cancelled
Tests / Ubuntu SSL tests-3 (push) Has been cancelled
Tests / Ubuntu SSL tests-4 (push) Has been cancelled
Tests / Ubuntu SSL tests-5 (push) Has been cancelled
Tests / Android (aarch64) (push) Has been cancelled
Tests / Android (x86_64) (push) Has been cancelled
Tests / iOS (push) Has been cancelled
Tests / Emscripten (push) Has been cancelled
Tests / WASI (push) Has been cancelled
Tests / Hypothesis tests on Ubuntu (push) Has been cancelled
Tests / Address sanitizer (push) Has been cancelled
Tests / Sanitizers (push) Has been cancelled
Tests / Sanitizers-1 (push) Has been cancelled
Tests / Sanitizers-2 (push) Has been cancelled
Tests / Sanitizers-3 (push) Has been cancelled
Tests / Cross build Linux (push) Has been cancelled
Tests / CIFuzz (push) Has been cancelled
Tests / CIFuzz-1 (push) Has been cancelled
Tests / CIFuzz-2 (push) Has been cancelled
Tests / CIFuzz-3 (push) Has been cancelled
Tests / All required checks pass (push) Has been cancelled
Reusable Docs / Check for removed HTML IDs (push) Has been cancelled
[3.15] gh-160427: Return None from TextIOWrapper.buffer when detached (GH-160802) (#161449)
gh-154523 turned the buffer member descriptor into a getter that raises
ValueError when the buffer is NULL, and the backport shipped in 3.14.9
and 3.15.1. That made hasattr(stream, "buffer") raise after detach().
Restore the old member descriptor result (None) while keeping the
critical section.
(cherry picked from commit 3422197f54)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
2026-11-05 14:29:49 -08:00
..
archivetestdata
audiodata
audit_test_data
certdata [3.15] gh-160040: Distrust compromised eMudhra intermediate CA keys (CVE-2026-115557) (GH-160042) (#160568) 2026-10-24 00:17:15 -07:00
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest
mathdata
regrtestdata/import_from_tests
subprocessdata
support [3.15] gh-157354: Honor --with-<name>-sanitizer=no and --without-<name>-sanitizer in configure (GH-157355) (#160655) 2026-10-25 15:52:10 +00:00
test_ast [3.15] gh-152631: Fix ast.parse on lazy imports with older feature_version (GH-152632) (#160681) 2026-10-25 21:24:25 +00:00
test_asyncio [3.15] gh-155233: Fix asyncio.Barrier reusing a cancelled task's index (alternative to GH-155235) (GH-158957) (#161410) 2026-11-05 13:00:47 +01:00
test_capi [3.15] gh-159136: Avoid stop-the-world when setting function name attributes (gh-159269) (gh-159725) 2026-10-29 15:17:50 -07:00
test_cext [3.15] gh-161185: Fix strict aliasing issue in Py_SETREF() macros family (#161186) (#161360) 2026-11-04 22:10:34 +00:00
test_concurrent_futures
test_ctypes
test_dataclasses
test_doctest
test_email
test_free_threading [3.15] gh-159136: Avoid stop-the-world when setting function name attributes (gh-159269) (gh-159725) 2026-10-29 15:17:50 -07:00
test_future_stmt
test_gdb
test_import [3.15] gh-159652: Fix import lock leak when the C stack is nearly exhausted (GH-159660) (GH-160779) 2026-10-27 22:17:27 +00:00
test_importlib [3.15] gh-159963: Don't hold parent package import locks while a submodule executes (GH-159965) (#160630) 2026-10-25 00:56:52 +00:00
test_inspect
test_interpreters
test_io [3.15] gh-160427: Return None from TextIOWrapper.buffer when detached (GH-160802) (#161449) 2026-11-05 14:29:49 -08:00
test_json
test_lazy_import [3.15] gh-161229: Accept None for globals and locals in __lazy_import__() (GH-161231) (#161315) 2026-11-04 14:28:37 +00:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_os [3.15] gh-161179: Fix function names in os.{spawnve,preadv}() and tkinter.wm_attributes() error messages (GH-161180) (#161210) 2026-11-02 21:45:28 +00:00
test_pathlib
test_peg_generator
test_profiling [3.15] gh-161233: Fix TypeError when timer=None was passed to cProfile.Profile (GH-161234) (#161237) 2026-11-03 08:57:35 +00:00
test_pydoc [3.15] gh-161414: Remove the backquote from the pydoc symbols (GH-161416) (#161438) 2026-11-05 21:39:17 +00:00
test_pyrepl [3.15] gh-157928: Have PyREPL detect OSC sequences (GH-157932) (#160928) 2026-10-29 21:55:39 +00:00
test_sqlite3 [3.15] gh-139105: Correct the EOF key shown on Windows in sqlite3's .help (GH-139106) (#160927) 2026-10-30 09:37:42 +00:00
test_string
test_tkinter [3.15] gh-161179: Fix function names in os.{spawnve,preadv}() and tkinter.wm_attributes() error messages (GH-161180) (#161210) 2026-11-02 21:45:28 +00:00
test_tomllib
test_tools
test_ttk
test_unittest
test_warnings
test_zipfile [3.15] gh-161094: Fix zipfile.is_zipfile() raising ValueError on file-like objects (GH-161095) (#161120) 2026-11-01 19:38:25 +00:00
test_zoneinfo [3.15] gh-161096: Reject invalid TZif abbreviation block sizes in zoneinfo (GH-161097) (#161122) 2026-11-01 19:27:38 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata
typinganndata
wheeldata [3.15] gh-160824: Update bundled setuptools in Lib/test/wheeldata to 84.2.1 (GH-161418) (#161426) 2026-11-05 14:42:35 +00:00
xmltestdata
zipimport_data
.ruff.toml
__init__.py
__main__.py
_code_definitions.py
_crossinterp_definitions.py
_isolated_sample.py
_test_atexit.py
_test_eintr.py
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py [3.15] gh-161098: Unlink the new ShareableList block if packing a value fails (GH-161099) (#161132) 2026-11-01 20:45:19 +00:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py
autotest.py
bisect_cmd.py
clinic.test.c
cov.py
curses_tests.py
datetimetester.py [3.15] gh-160806: Fix precision loss in _pydatetime.timedelta with large float arguments (GH-160807) (#160889) 2026-10-29 14:17:35 +00:00
dis_module.py
empty.vbs
exception_hierarchy.txt Docs: correct built-in exception, function, and dictionary descriptions (GH-160979) 2026-10-31 05:50:08 +00:00
fork_wait.py
levenshtein_examples.json
list_tests.py
lock_tests.py
mapping_tests.py
mime.types
mime.types2
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
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py
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
test__colorize.py
test__interpchannels.py
test__interpreters.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py [3.15] gh-159739: Keep the instance type alive during ABC subclass checks (GH-160198) (#160489) 2026-10-24 13:44:26 -07:00
test_abstract_numbers.py
test_android.py
test_annotationlib.py
test_apple.py
test_argparse.py
test_array.py
test_asdl_parser.py
test_asyncgen.py
test_atexit.py
test_audit.py
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_build_details.py
test_builtin.py [3.15] gh-150868: Fix sum() deallocating a float subclass as an exact float (GH-151063) (#161048) 2026-11-01 21:27:29 +01:00
test_bytes.py [3.15] gh-158928: Fix overflow in bytearray.__init__ from an iterator (GH-158947) (#161448) 2026-11-05 14:14:18 -08:00
test_bz2.py [3.15] gh-160310: Fix quadratic one-shot decompress() with many members (GH-160311) (#161037) 2026-10-31 22:49:54 +00:00
test_c_locale_coercion.py
test_c_stack_unwind.py
test_calendar.py
test_call.py
test_charmapcodec.py
test_class.py
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py
test_code.py
test_code_module.py
test_codeccallbacks.py
test_codecencodings_cn.py [3.15] gh-160518: Fix hz encoder dropping half of the ~~ escape (GH-160519) (#161002) 2026-11-01 08:07:35 +00:00
test_codecencodings_hk.py
test_codecencodings_iso2022.py [3.15] gh-160187: Reject ISO-2022 designations into the wrong G set (GH-160188) (#161064) 2026-11-01 13:05:24 -08:00
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py [3.15] gh-161102: Fix idna incremental decoder after leading empty labels (GH-161103) (#161130) 2026-11-01 20:47:08 +00:00
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py
test_compileall.py
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py
test_configparser.py [3.15] gh-161108: Make configparser clear() linear time (GH-161109) (#161134) 2026-11-01 20:58:02 +00:00
test_contains.py
test_context.py
test_contextlib.py
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py
test_crossinterp.py
test_csv.py
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py [3.15] gh-131323: Add comprehensive key-value type documentation to dbm module (GH-137972) (#159648) 2026-10-25 16:11:04 +02:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py [3.15] gh-131323: Add comprehensive key-value type documentation to dbm module (GH-137972) (#159648) 2026-10-25 16:11:04 +02:00
test_decimal.py [3.15] gh-161389: Fix crash when passing invalid flags and traps to decimal.Context (GH-161393) (#161404) 2026-11-05 10:56:33 +00:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_devpoll.py
test_dict.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py [3.15] gh-161270: Fix always-skipped InitConfigTests in test_embed (GH-161278) (#161369) 2026-11-05 00:51:37 +00:00
test_ensurepip.py
test_enum.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
test_exception_group.py [3.15] gh-159294: Fix crash when creating an ExceptionGroup fails with MemoryError (GH-159295) (#160504) 2026-10-23 23:18:58 +01:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py [3.15] gh-160773: Fix use-after-free in OSError.__str__ (GH-160822) (#160884) 2026-10-29 11:59:21 +00:00
test_extcall.py
test_external_inspection.py [3.15] gh-159398: Validate strings read from the remote process in _remote_debugging (GH-159402) (#160963) 2026-10-30 11:04:21 +00:00
test_faulthandler.py
test_fcntl.py
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
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py [3.15] gh-160491: Fix location of invalid escapes in f-strings and t-strings (GH-160493) (#160530) 2026-10-23 16:20:45 -07:00
test_ftplib.py [3.15] gh-131178: Add tests for ftplib command-line interface (GH-161080) (#161154) 2026-11-02 08:43:47 +00:00
test_funcattrs.py [3.15] gh-159136: Avoid stop-the-world when setting function name attributes (gh-159269) (gh-159725) 2026-10-29 15:17:50 -07:00
test_functools.py
test_gc.py
test_gc_stats.py
test_generated_cases.py
test_generator_stop.py
test_generators.py
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py [3.15] gh-161086: Honor --fast and --best for file arguments in gzip CLI (GH-161087) (#161118) 2026-11-01 19:25:13 +00:00
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py [3.15] gh-160300: Reject cookies with a negative version in http.cookiejar (GH-160301) (#160645) 2026-10-25 00:43:27 -07:00
test_http_cookies.py
test_httplib.py
test_httpservers.py
test_idle.py
test_imaplib.py [3.15] gh-161336: fix host mismatch in the test_imaplib (GH-161349) (#161424) 2026-11-05 17:30:26 +00:00
test_index.py
test_int.py
test_int_literal.py
test_ioctl.py
test_ipaddress.py [3.15] gh-161100: Fix IPv6Interface.is_unspecified for IPv4-mapped addresses (GH-161101) (#161136) 2026-11-01 22:10:07 +00:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_launcher.py
test_linecache.py
test_list.py
test_listcomps.py
test_lltrace.py
test_locale.py
test_logging.py
test_long.py
test_longexp.py
test_lzma.py [3.15] gh-160310: Fix quadratic one-shot decompress() with many members (GH-160311) (#161037) 2026-10-31 22:49:54 +00:00
test_mailbox.py
test_marshal.py
test_math.py
test_math_integer.py
test_math_property.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py
test_modulefinder.py
test_monitoring.py
test_msvcrt.py
test_multibytecodec.py [3.15] gh-160185: Fix CJK StreamWriter.reset() not returning to ASCII (GH-160186) (#161067) 2026-11-01 09:23:22 -08:00
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py
test_ntpath.py [3.15] gh-160506: Fix ntpath.realpath() for broken links via directory links (GH-160507) (#161026) 2026-10-31 19:42:19 +00:00
test_nturl2path.py
test_numeric_tower.py
test_opcache.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optimizer.py
test_optparse.py
test_ordered_dict.py
test_osx_env.py
test_patma.py
test_pdb.py
test_peepholer.py
test_pep646_syntax.py
test_perf_profiler.py [3.15] gh-161288: Fix perf trampoline crash on UBSan builds (GH-161294) (#161348) 2026-11-05 00:51:22 +01:00
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py
test_platform.py
test_plistlib.py [3.15] gh-161106: Use repeat counts in plistlib binary writer struct formats (GH-161107) (#161138) 2026-11-01 21:39:08 +00:00
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pyexpat.py [3.15] gh-159739: Handle pyexpat configuration changes during callbacks (GH-160399) (#160475) 2026-10-24 13:42:35 -07:00
test_pystats.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py [3.15] gh-158095: Fix reference cycles in re scanners (GH-158100) (#161246) 2026-11-03 11:27:15 +01:00
test_readline.py
test_regrtest.py
test_remote_pdb.py
test_repl.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_samply_profiler.py [3.15] gh-161288: Fix perf trampoline crash on UBSan builds (GH-161294) (#161348) 2026-11-05 00:51:22 +01:00
test_sax.py
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
test_shutil.py [3.15] gh-161112: Fix shutil.make_archive() adding a zip archive to itself (GH-161113) (#161140) 2026-11-01 21:40:19 +00:00
test_signal.py
test_site.py
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py [3.15] gh-160561: Fix race in test_socket testFromFdError (GH-160930) (#160955) 2026-10-30 08:28:24 +01:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py [3.15] gh-160040: Distrust compromised eMudhra intermediate CA keys (CVE-2026-115557) (GH-160042) (#160568) 2026-10-24 00:17:15 -07:00
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.py
test_str.py
test_strftime.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structseq.py
test_subclassinit.py
test_subprocess.py
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py
test_sys.py [3.15] gh-160388: Load the copied library in the deleted-mapping test (GH-160396) (#160515) 2026-10-23 16:01:20 -07:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py [3.15] gh-161323: Refuse drive-relative paths in tarfile extraction filters (GH-161334) (#161355) 2026-11-04 21:56:56 +00:00
test_tcl.py
test_tempfile.py
test_termios.py
test_textwrap.py
test_thread.py
test_thread_local_bytecode.py
test_threadedtempfile.py
test_threading.py
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py
test_tstring.py
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py
test_type_aliases.py
test_type_annotations.py
test_type_cache.py
test_type_comments.py
test_type_params.py
test_typechecks.py
test_types.py
test_typing.py
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py
test_unpack.py
test_unpack_ex.py
test_unparse.py
test_urllib.py
test_urllib2.py [3.15] gh-59515: Support multiple challenges in urllib Digest Auth (GH-160828) (#161160) 2026-11-02 08:46:21 +00:00
test_urllib2_localnet.py [3.15] gh-53852 Proxy Auth failure to raise 407 instead of 401 (GH-160917) (#160919) 2026-10-29 21:03:18 +00:00
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py
test_venv.py
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py
test_winapi.py
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py
test_wsgiref.py
test_xml.py
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xpickle.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile64.py
test_zipimport.py [3.15] gh-155152: Improve performance of concatenated zstd frames in zipimport (GH-155154) (#160565) 2026-10-24 14:55:06 -07:00
test_zipimport_support.py
test_zlib.py
test_zstd.py [3.15] gh-160310: Fix quadratic one-shot decompress() with many members (GH-160311) (#161037) 2026-10-31 22:49:54 +00:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py
xpickle_worker.py