cpython/Lib/test
Miss Islington (bot) 16fde763e5
[3.13] gh-127586: multiprocessing.Pool does not properly restore blocked signals (try 2) (GH-128011) (#128298)
gh-127586: multiprocessing.Pool does not properly restore blocked signals (try 2) (GH-128011)

Correct pthread_sigmask in resource_tracker to restore old signals

Using SIG_UNBLOCK to remove blocked "ignored signals" may accidentally
cause side effects if the calling parent already had said signals
blocked to begin with and did not intend to unblock them when
creating a pool. Use SIG_SETMASK instead with the previous mask of
blocked signals to restore the original blocked set.
(cherry picked from commit aeb9b65aa2)

Co-authored-by: Stephen Hansen <stephen.paul.hansen@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2024-12-29 11:02:53 -08:00
..
archivetestdata gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) 2024-03-22 20:08:00 +02:00
audiodata
certdata [3.13] gh-118658: Modify cert generation script to extract cert3.pem (GH-124598) (GH-124972) 2024-10-08 13:37:30 +02:00
cjkencodings
configdata
crashers [3.13] gh-108297: Update crashers README for test_crashers removal (#121476) 2024-07-08 16:54:51 +10:00
data
decimaltestdata [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
dtracedata
encoded_modules
leakers
libregrtest [3.13] gh-109413: Enable mypy's disallow_any_generics setting when checking libregrtest (GH-127033) (#127034) 2024-11-24 08:40:14 +00:00
mathdata [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
regrtestdata/import_from_tests
subprocessdata
support [3.13] GH-126789: fix some sysconfig data on late site initializations 2024-11-17 00:32:22 +00:00
test_ast [3.13] gh-126105: Fix crash in ast module, when ._fields is deleted (GH-126115) (#126130) 2024-10-29 16:07:32 +00:00
test_asyncio [3.13] gh-127655: Ensure _SelectorSocketTransport.writelines pauses the protocol if needed (GH-127656) (#127663) 2024-12-06 10:42:23 +05:30
test_capi [3.13] gh-125608: Trigger dictionary watchers when inline values change (GH-125611) (GH-125982) 2024-10-25 14:35:04 +00:00
test_cext [3.13] gh-127906: Backport test_cext changes from the main branch (#127923) 2024-12-13 15:04:08 +00:00
test_concurrent_futures [3.13] gh-88110: Clear concurrent.futures.thread._threads_queues after fork to avoid joining parent process' threads (GH-126098) (GH-127163) 2024-11-22 17:08:18 +00:00
test_cppext [3.13] gh-127906: Test the limited C API in test_cppext (GH-127916) (#127919) 2024-12-13 14:12:07 +00:00
test_ctypes [3.13] gh-126742: Avoid checking for library filename in test_ctypes (GH-128034) (#128056) 2024-12-18 08:49:13 +00:00
test_dataclasses [3.13] gh-123935: Fix typo in _get_slots in dataclasses.py (GH-123941) (#123991) 2024-12-03 17:17:25 +01:00
test_doctest GH-111744: Make breakpoint() enter the debugger immediately (GH-118579) 2024-05-05 07:05:01 -07:00
test_email [3.13] gh-124452: Fix header mismatches when folding/unfolding with email message (GH-125919) (#126917) 2024-11-17 15:06:18 -05:00
test_free_threading [3.13] gh-127316: fix incorrect assertion in setting __class__ in free-threading (GH-127399) (#127422) 2024-11-29 16:36:44 +00:00
test_future_stmt [3.13] gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (#126155) 2024-10-30 00:36:06 +00:00
test_gdb [3.13] gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) (#123601) 2024-09-02 23:10:52 +09:00
test_import [3.13] gh-128030: Avoid error from PyModule_GetFilenameObject for non-module (GH-128047) (#128114) 2024-12-20 08:46:54 +00:00
test_importlib [3.13] GH-126606: don't write incomplete pyc files (GH-126627) (GH-126809) 2024-11-13 14:49:09 -08:00
test_inspect [3.13] gh-70764: inspect.getclosurevars now identifies global variables with LOAD_GLOBAL (GH-120143) (#126459) 2024-11-06 00:18:32 +00:00
test_interpreters [3.13] gh-126914: Store the Preallocated Thread State's Pointer in a PyInterpreterState Field (gh-127114) 2024-12-02 18:41:57 +00:00
test_json [3.13] gh-125660: Reject invalid unicode escapes for Python implementation of JSON decoder (GH-125683) (GH-125694) 2024-10-21 16:07:56 +03:00
test_module [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
test_multiprocessing_fork [3.13] gh-117657: Skip test when running under TSan (GH-121549) (GH-121553) 2024-07-09 21:37:30 +00:00
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib [3.13] GH-125069: Fix inconsistent joining in WindowsPath(PosixPath(...)) (GH-125156) (#125409) 2024-10-13 18:12:57 +00:00
test_peg_generator [3.13] gh-125811: Remove DeprecationWarnings in test_peg_generator (GH-125812) (#125831) 2024-10-22 09:06:26 +00:00
test_pydoc [3.13] gh-120590: Fix test_pydoc in the refleak hunting mode (GH-120615) (GH-120669) 2024-06-18 09:54:55 +00:00
test_pyrepl [3.13] gh-125666: Avoid PyREPL exiting when a null byte is in input (GH-125732) (#126023) 2024-12-02 15:04:51 +01:00
test_sqlite3 [3.13] add missing gc_collect() calls in sqlite3 tests (GH-127446) (#127500) 2024-12-02 15:19:21 +01:00
test_tkinter [3.13] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120938) 2024-06-24 09:45:45 +00:00
test_tomllib
test_tools [3.13] gh-126807: pygettext: Do not attempt to extract messages from function definitions. (GH-126808) (GH-126846) 2024-11-14 22:43:33 +00:00
test_ttk [3.13] gh-86673: Loosen test_ttk.test_identify() requirements (GH-125335) (#125390) 2024-10-13 08:04:22 +00:00
test_unittest [3.13] gh-104745: Limit starting a patcher more than once without stopping it (GH-126649) (#126772) 2024-11-13 08:46:12 +00:00
test_warnings [3.13] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122818) 2024-08-09 14:33:56 -07:00
test_zipfile [3.13] gh-127847: Fix position in the special-cased zipfile seek (GH-127856) (#128225) 2024-12-24 16:20:58 +00:00
test_zoneinfo [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
typinganndata [3.13] gh-114053: Fix another edge case involving get_type_hints, PEP 695 and PEP 563 (GH-120272) (#121003) 2024-06-25 16:30:08 +00:00
wheeldata gh-116877: Update wheel to version 0.43.0 (#116878) 2024-03-18 11:50:32 -04:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py [3.13] gh-107851: Fix spurious failures in fcntl eintr tests (GH-121556) (#121585) 2024-07-10 15:02:26 +00:00
_test_embed_set_config.py gh-116167: Allow disabling the GIL with PYTHON_GIL=0 or -X gil=0 (#116338) 2024-03-11 11:02:58 -04:00
_test_embed_structseq.py
_test_monitoring_shutdown.py gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py [3.13] gh-127586: multiprocessing.Pool does not properly restore blocked signals (try 2) (GH-128011) (#128298) 2024-12-29 11:02:53 -08:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py [3.13] gh-126018: Avoid aborting due to unnecessary assert in sys.audit (GH-126020) (#126042) 2024-10-27 15:07:33 +00:00
autotest.py
bisect_cmd.py
clinic.test.c [3.13] gh-128083: Fix macro redefinition warning in clinic. (GH-127950) (#128102) 2024-12-19 21:29:14 +00:00
cov.py
curses_tests.py
datetimetester.py [3.13] gh-52551: Fix encoding issues in strftime() (GH-125193) (GH-125657) 2024-10-17 22:48:34 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt [3.13] gh-119521: Remove _IncompleteInputError from the docs (GH-120993) (GH-121076) 2024-06-27 15:19:20 +02:00
fork_wait.py
levenshtein_examples.json
list_tests.py [3.13] gh-120384: Fix array-out-of-bounds crash in list_ass_subscript (GH-120442) (#120826) 2024-06-21 11:16:24 +00:00
lock_tests.py [3.13] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH-122444) 2024-07-30 09:24:35 +00:00
mapping_tests.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py [3.13] gh-126991: Add tests for unpickling bad object state (GH-127031) (GH-127063) 2024-11-24 03:16:54 +00:00
profilee.py
pstats.pck
pyclbr_input.py [3.13] gh-120449: fix `test_pyclbr` introspection for mangled names (GH-120450) (GH-120700) 2024-06-19 09:20:09 +02:00
pythoninfo.py [3.13] gh-115382: Fix cross compiles when host and target use same SOABI 2024-10-20 08:20:34 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
seq_tests.py [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py gh-117431: Adapt str.find and friends to Argument Clinic (#117468) 2024-04-03 17:59:18 +02:00
test___all__.py gh-71052: Enable test_concurrent_futures on platforms that lack multiprocessing (gh-115917) 2024-02-25 11:38:18 -08:00
test__colorize.py [3.13] gh-127353: Allow to force color output on Windows V2 (GH-127926) (#127944) 2024-12-15 10:41:11 +02:00
test__interpchannels.py [3.13] gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121811) 2024-07-15 20:15:47 +00:00
test__interpreters.py [3.13] gh-126654: Fix crash in several functions in _interpreters module (GH-126678) (#126681) 2024-11-11 12:01:22 +00:00
test__locale.py [3.13] GH-126727: Fix test_era_nl_langinfo with Japanese ERAs on Solaris (GH-127327) (GH-127645) 2024-12-05 19:08:12 +00:00
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_android.py [3.13] gh-125942: Android: set stdout to errors="backslashreplace" (GH-125943) (#125950) 2024-10-25 00:59:23 +00:00
test_apple.py [3.13] gh-126925: Modify how iOS test results are gathered (GH-127592) (#127754) 2024-12-09 14:39:11 +08:00
test_argparse.py [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
test_array.py [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
test_asdl_parser.py
test_asyncgen.py GH-117714: implement athrow().close() and asend().close() using throw (GH-117906) 2024-05-06 17:13:15 +00:00
test_atexit.py
test_audit.py [3.13] gh-126018: Avoid aborting due to unnecessary assert in sys.audit (GH-126020) (#126042) 2024-10-27 15:07:33 +00:00
test_augassign.py
test_base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
test_baseexception.py [3.13] gh-119521: Remove _IncompleteInputError from the docs (GH-120993) (GH-121076) 2024-06-27 15:19:20 +02:00
test_bdb.py [3.13] gh-125422: Don't set the caller's f_trace if it's botframe (GH-125427) (#125530) 2024-10-15 15:26:46 +00:00
test_bigaddrspace.py
test_bigmem.py
test_binascii.py gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) 2024-05-07 11:18:45 +02:00
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py [3.13] gh-126980: Fix bytearray.__buffer__ crash on PyBUF_{READ,WRITE} (GH-126981) (#127023) 2024-11-19 20:37:53 +03:00
test_bufio.py
test_builtin.py [3.13] gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613) (#124735) 2024-09-29 21:21:40 -07:00
test_bytes.py gh-116417: Move limited C API abstract.c tests to _testlimitedcapi (#116986) 2024-03-19 10:44:13 +00:00
test_bz2.py [3.13] Bump Ruff to 0.6.7 (#124384) (#124389) 2024-09-29 18:04:56 -07:00
test_c_locale_coercion.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_calendar.py [3.13] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484) (GH-126879) 2024-11-15 15:20:25 -08:00
test_call.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_charmapcodec.py
test_class.py [3.13] gh-60712: Include the "object" type in the lists of documented types (GH-103036) (GH-126197) 2024-10-30 13:16:38 -07:00
test_clinic.py [3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) (#122852) 2024-09-02 13:03:04 +02:00
test_cmath.py [3.13] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) (#123840) 2024-09-29 18:27:23 -07:00
test_cmd.py
test_cmd_line.py [3.13] gh-123275: Add tests for PYTHON_GIL=1 and -Xgil=1 (gh-123754) (gh-123755) 2024-09-06 11:02:05 +09:00
test_cmd_line_script.py
test_code.py gh-118527: Intern code consts in free-threaded build (#118667) 2024-05-06 20:12:39 -04:00
test_code_module.py [3.13] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (#123227) 2024-08-22 23:58:05 +00: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 [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_codeop.py
test_collections.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_colorsys.py
test_compare.py
test_compile.py [3.13] gh-124871: fix 'visited' tracking in compiler's reachability analysis (GH-124952) (#124977) 2024-10-04 15:34:20 -07:00
test_compileall.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_compiler_assemble.py gh-117680: make _PyInstructionSequence a PyObject and use it in tests (#117629) 2024-04-17 16:42:04 +01:00
test_compiler_codegen.py [3.13] gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) (GH-124423) 2024-10-08 00:23:49 +03:00
test_complex.py [3.13] gh-113841: fix possible undefined division by 0 in _Py_c_pow() (GH-127211) (#127216) 2024-12-02 15:42:02 +01:00
test_configparser.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_contains.py
test_context.py [3.13] gh-126451: Revert backports of ABC registrations for contextvars.Context and multiprocessing proxies (#126734) 2024-11-12 12:29:13 +00:00
test_contextlib.py [3.13] Bump Ruff to 0.6.7 (#124384) (#124389) 2024-09-29 18:04:56 -07:00
test_contextlib_async.py
test_copy.py [3.13] gh-121300: Add replace to copy.__all__ (GH-121302) (#121337) 2024-07-03 15:28:57 +00:00
test_copyreg.py
test_coroutines.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_cprofile.py [3.13] gh-126220: Fix crash on calls to _lsprof.Profiler methods with 0 args (backportable) (GH-126271) (#126310) 2024-11-01 22:24:06 +00:00
test_csv.py [3.13] gh-121982: `csv: Add a test case for invalid quoting` constant. (GH-121983) (#124926) 2024-10-03 09:27:28 -07:00
test_curses.py [3.13] gh-120378: Fix crash caused by integer overflow in curses (GH-124555) (#124905) 2024-10-07 23:46:57 +02:00
test_datetime.py [3.13] gh-120242: Fix handling of [setUp,tearDown]Class in test_datetime (GH-120243) (#120259) 2024-06-08 08:13:53 +00:00
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py [3.13] gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746) (GH-128023) 2024-12-17 11:45:29 +00:00
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py [3.13] gh-117657: Fix __slots__ thread safety in free-threaded build (GH-119368) (#120655) 2024-06-17 19:12:25 +00:00
test_descrtut.py
test_devpoll.py
test_dict.py [3.13] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123235) 2024-08-23 01:37:26 +09:00
test_dict_version.py
test_dictcomps.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_dictviews.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_difflib.py
test_difflib_expect.html
test_dis.py [3.13] gh-127637: add tests for dis command-line interface (#127759) (#127781) 2024-12-10 12:32:32 +00:00
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py [3.13] gh-126925: Modify how iOS test results are gathered (GH-127592) (#127754) 2024-12-09 14:39:11 +08:00
test_ensurepip.py
test_enum.py [3.13] gh-112328: Make EnumDict usable on its own and document it (GH-123669) (GH-128142) 2024-12-24 10:50:23 -08:00
test_enumerate.py
test_eof.py [3.13] gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) (GH-124423) 2024-10-08 00:23:49 +03:00
test_epoll.py
test_errno.py
test_except_star.py [3.13] gh-128049: Fix type confusion bug with the return value of a custom ExceptionGroup split function (GH-128079) (#128139) 2024-12-20 20:18:44 +00:00
test_exception_group.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py [3.13] gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (#126155) 2024-10-30 00:36:06 +00:00
test_extcall.py
test_external_inspection.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_faulthandler.py [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
test_fcntl.py gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
test_file.py
test_file_eintr.py
test_filecmp.py [3.13] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122441) 2024-07-30 09:17:35 +00:00
test_fileinput.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_fileio.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_fileutils.py
test_finalization.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_float.py [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
test_fractions.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_frame.py [3.13] gh-125590: Allow FrameLocalsProxy to delete and pop keys from extra locals (GH-125616) (#125797) 2024-10-21 17:06:27 +00:00
test_frozen.py
test_fstring.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_ftplib.py
test_funcattrs.py [3.13] gh-122864: Fix a `test_funcattrs.test___builtins__` when executing directly (GH-124845) (#124884) 2024-10-03 09:26:15 -07:00
test_functools.py [3.13] gh-127537: Add __class_getitem__ to the python implementation of functools.partial (GH-127537) (#128281) 2024-12-27 01:25:56 +00:00
test_gc.py [3.13] gh-126312: Don't traverse frozen objects on the free-threaded build (GH-126338) (#126866) 2024-11-15 14:46:00 +01:00
test_generated_cases.py [3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) (GH-122174) 2024-07-26 10:51:42 +01:00
test_generator_stop.py
test_generators.py [3.13] gh-125038: Fix crash after genexpr.gi_frame.f_locals manipulations (GH-125178) (#125846) 2024-10-23 06:45:28 -07:00
test_genericalias.py gh-110209: Add __class_getitem__ for generator and coroutine (#110212) 2024-05-06 18:41:32 -07:00
test_genericclass.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_genericpath.py [3.13] gh-124917: Allow keyword args to os.path.exists/lexists on Windows (GH-124918) (#125332) 2024-10-11 15:18:33 -07:00
test_genexps.py
test_getopt.py [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
test_getpass.py
test_getpath.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_gettext.py
test_glob.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_global.py
test_grammar.py Uncomment one grammar test (#118361) 2024-04-29 14:16:51 +03:00
test_graphlib.py
test_grp.py
test_gzip.py [3.13] gh-112346: Always set OS byte to 255, simpler gzip.compress function. (GH-120486) (#120563) 2024-06-15 19:10:50 +00:00
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py bpo-14322: added test case for invalid update to hmac (#26636) 2024-02-25 03:33:28 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_http_cookies.py [3.13] gh-123401: Fix http.cookies module to support obsolete RFC 850 date format (GH-123405) (#127828) 2024-12-11 15:38:09 +00:00
test_httplib.py gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
test_httpservers.py gh-117879: Fix test_httpservers for the build with profiling (GH-117932) 2024-04-17 12:50:07 +03:00
test_idle.py
test_imaplib.py [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_index.py
test_int.py gh-118610: Centralize power caching in _pylong.py (#118611) 2024-05-07 19:09:09 -05:00
test_int_literal.py
test_io.py [3.13] gh-127182: Fix io.StringIO.__setstate__ crash when None is the first value (GH-127219) (#127262) 2024-11-25 17:56:42 +00:00
test_ioctl.py
test_ipaddress.py [3.13] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) (GH-123815) 2024-12-03 17:12:36 +01:00
test_isinstance.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_iter.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_iterlen.py
test_itertools.py [3.13] gh-126618: fix repr(itertools.count(sys.maxsize)) (GH-127048) (#127508) 2024-12-02 13:38:13 +00:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py [3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215) 2024-07-24 06:44:41 +00:00
test_launcher.py [3.13] gh-119070: Update test_shebang_executable_extension to always use non-installed version (GH-119846) (#GH-120015) 2024-06-04 13:24:10 +02:00
test_linecache.py [3.13] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) (GH-122348) 2024-07-27 10:54:49 +00:00
test_list.py [3.13] GH-121012: Set index to -1 when list iterators become exhausted in tier 2 (GH-121483) (GH-121494) 2024-07-08 18:09:54 +01:00
test_listcomps.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_lltrace.py
test_locale.py [3.13] GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110) (#124146) 2024-09-23 16:37:06 -07:00
test_logging.py [3.13] gh-124653: Relax (again) detection of queue API for logging handlers (GH-124897) (GH-125059) 2024-10-08 07:23:40 +01:00
test_long.py [3.13] GH-117195: Avoid assertion error in object.__sizeof__ (GH-117220) (GH-119456) 2024-05-23 16:58:34 +01:00
test_longexp.py
test_lzma.py gh-115961: Add name and mode attributes for compressed file-like objects (GH-116036) 2024-04-21 11:46:39 +03:00
test_mailbox.py gh-117467: Add preserving of mailbox owner on flush (GH-117510) 2024-04-04 13:32:53 +03:00
test_marshal.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_math.py [3.13] gh-125522: Fix bare except in test_math.testTan (GH-125544) (#125726) 2024-10-19 12:14:18 +00:00
test_math_property.py
test_memoryio.py gh-118527: Intern code consts in free-threaded build (#118667) 2024-05-06 20:12:39 -04:00
test_memoryview.py [3.13] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898) (#123936) 2024-09-29 18:23:42 -07:00
test_metaclass.py gh-118465: Add __firstlineno__ attribute to class (GH-118475) 2024-05-06 12:02:37 +03:00
test_mimetypes.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_minidom.py
test_mmap.py gh-118209: Add Windows structured exception handling to mmap module (GH-118213) 2024-05-10 12:00:00 +01:00
test_modulefinder.py
test_monitoring.py [3.13] gh-122247: Move instruction instrumentation sanity check after tracing check (GH-122251) (GH-122812) 2024-08-16 12:01:40 +02:00
test_msvcrt.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_multibytecodec.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_multiprocessing_main_handling.py
test_named_expressions.py gh-100746: Improve test_named_expressions.py (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py
test_ntpath.py gh-119826: Improved fallback for ntpath.abspath() on Windows (GH-119938) 2024-12-02 20:11:16 +00:00
test_numeric_tower.py
test_opcache.py [3.13] gh-122712: Guard against __code__ reassignment in CALL_ALLOC_AND_ENTER_INIT (GH-122713) (GH-123184) 2024-08-21 13:16:30 +01:00
test_opcodes.py
test_openpty.py
test_operator.py gh-118285: Fix signatures of operator.{attrgetter,itemgetter,methodcaller} instances (GH-118316) 2024-04-29 19:30:48 +03:00
test_optimizer.py gh-118335: Configure Tier 2 interpreter at build time (#118339) 2024-04-30 18:26:34 -07:00
test_optparse.py [3.13] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126755) 2024-11-15 13:06:54 +02:00
test_ordered_dict.py [3.13] gh-119004: fix a crash in equality testing between OrderedDict (GH-121329) (#124507) 2024-09-27 11:34:48 -07:00
test_os.py [3.13] gh-124873: Skip timerfd tests on Android (GH-127279) (#127290) 2024-11-29 11:46:47 +00:00
test_osx_env.py
test_patma.py [3.13] gh-123048: Fix missing source location in pattern matching code (GH-123167) (#123169) 2024-08-20 11:13:43 +00:00
test_pdb.py [3.13] gh-127321: Avoid stopping at an opcode without an associated line number for breakpoint() (GH-127457) (#127487) 2024-12-01 17:58:08 -05:00
test_peepholer.py gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
test_pep646_syntax.py
test_perf_profiler.py gh-118518: Check for perf version and not kernel version in test_perf_profiler (#118640) 2024-05-07 20:41:07 +01:00
test_perfmaps.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_pickle.py [3.13] gh-125631: Enable setting persistent_id and persistent_load of pickler and unpickler (GH-125752) (GH-126528) 2024-11-07 07:21:23 +00:00
test_picklebuffer.py
test_pickletools.py [3.13] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) (GH-127094) 2024-11-21 11:40:52 +00:00
test_pkg.py
test_pkgutil.py [3.13] gh-123780: Make test_pkgutil clean up spam module (GH-123036) (#123781) 2024-09-06 22:57:46 +02:00
test_platform.py gh-114099: Additions to standard library to support iOS (GH-117052) 2024-03-28 03:59:33 -04:00
test_plistlib.py
test_poll.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py [3.13] gh-126303: Fix pickling and copying of os.sched_param objects (GH-126336) (GH-126423) 2024-11-05 06:50:33 +00:00
test_posixpath.py gh-126780: Fix ntpath.normpath() for drive-relative paths (GH-126801) 2024-11-21 15:10:12 +00:00
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_pstats.py
test_pty.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py [3.13] gh-120449: fix `test_pyclbr` introspection for mangled names (GH-120450) (GH-120700) 2024-06-19 09:20:09 +02:00
test_pyexpat.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_queue.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_quopri.py
test_raise.py
test_random.py [3.13] gh-123968: Fix lower bound for python -m random --float (GH-123971) (#124009) 2024-09-23 16:25:51 -07:00
test_range.py
test_re.py [3.13] gh-101955: Fix SystemError in possesive quantifier with alternative and group (GH-111362) (GH-126962) 2024-11-18 12:13:08 +00:00
test_readline.py [3.13] gh-122431: Disallow negative values in readline.append_history_file (GH-122469) (#127641) 2024-12-05 18:15:44 +01:00
test_regrtest.py [3.13] gh-119727: Add --single-process option to regrtest (#119728) (#123010) 2024-08-26 11:59:26 +02:00
test_repl.py [3.13] gh-124594: Create and reuse the same context for the entire asyncio REPL session (GH-124595) (#124848) 2024-10-15 13:37:59 +02:00
test_reprlib.py [3.13] gh-113570: reprlib.repr does not use builtin __repr__ for reshadowed builtins (GH-113577) (GH-125654) 2024-10-17 17:04:02 +00:00
test_resource.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_richcmp.py
test_rlcompleter.py gh-117764: Add docstrings and signatures for the types of None, Ellipsis and NotImplemented (GH-117813) 2024-04-12 15:45:23 +03:00
test_robotparser.py
test_runpy.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_sax.py gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) 2024-03-25 18:48:27 -07:00
test_sched.py
test_scope.py [3.13] gh-121863: Immortalize names in code objects to avoid crash (GH-121903) (GH-121904) 2024-07-17 09:55:22 +00:00
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py [3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435) 2024-08-28 18:41:22 +01:00
test_shelve.py
test_shlex.py
test_shutil.py [3.13] gh-127001: Fix PATHEXT issues in shutil.which() on Windows (GH-127035) (GH-127156) 2024-11-22 16:18:44 +00:00
test_signal.py [3.13] gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981) (#123988) 2024-09-24 10:21:26 -07:00
test_site.py [3.13] gh-121103: Put free-threaded libraries in lib/python3.14t (GH-121293) (#121631) 2024-07-11 21:00:28 +00:00
test_slice.py
test_smtplib.py
test_smtpnet.py Test: Get the smtp test server using os.getenv() (#117979) 2024-04-17 15:31:48 +02:00
test_socket.py [3.13] gh-128116: Skip test_socket VSOCK testStream() on PermissionError (GH-128120) (#128123) 2024-12-20 13:32:58 +00:00
test_socketserver.py
test_sort.py GH-116554: Relax list.sort()'s notion of "descending" runs (#116578) 2024-03-12 19:59:42 -05:00
test_source_encoding.py
test_ssl.py [3.13] gh-124984: Enhance ssl thread safety (GH-124993) (#125780) 2024-12-02 15:03:44 +01:00
test_stable_abi_ctypes.py [3.13] gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680, GH-120955) (GH-120944) 2024-06-24 20:23:30 +02:00
test_startfile.py
test_stat.py
test_statistics.py [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
test_str.py [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_strftime.py
test_string.py
test_string_literals.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_stringprep.py
test_strptime.py [3.13] gh-53203: Fix test_strptime on Solaris (GH-125785) (GH-125806) 2024-10-21 19:42:18 +00:00
test_strtod.py
test_struct.py [3.13] gh-125118: don't copy arbitrary values to _Bool in the struct module (GH-125169) (#125263) 2024-10-10 14:58:57 +00:00
test_structseq.py [3.13] gh-122527: Fix a crash on deallocation of PyStructSequence (GH-122577) (#122625) 2024-09-02 12:47:18 +02:00
test_subclassinit.py
test_subprocess.py [3.13] gh-121571: Do not use EnvironmentError in tests, use OSError instead (GH-121572) (#121574) 2024-07-10 10:38:48 +00:00
test_sundry.py
test_super.py [3.13] gh-124402: Speed up test_free_threading and test_super (#124491) (#124585) 2024-09-26 13:44:36 -07:00
test_support.py [3.13] gh-124682: Disable test that is prone to intermittent failure on iOS. (GH-124683) (#124687) 2024-09-27 18:28:02 +00:00
test_symtable.py [3.13] gh-119698: fix a special case in symtable.Class.get_methods (GH-121802) (#121909) 2024-07-17 13:54:40 +00:00
test_syntax.py [3.13] gh-119933: Improve `SyntaxError` message for invalid type parameters expressions (GH-119976) (#120641) 2024-06-17 08:01:49 -07:00
test_sys.py [3.13] gh-125842: Fix sys.exit(0xffff_ffff) on Windows (GH-125896) (GH-125925) 2024-10-24 16:27:30 +00:00
test_sys_setprofile.py [3.13] gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) (GH-122205) 2024-07-23 22:49:36 +00:00
test_sys_settrace.py [3.13] gh-93691: fix too broad source locations of for statement iterators (GH-120330) (#120399) 2024-06-12 12:18:43 +00:00
test_sysconfig.py [3.13] gh-126789: Correct sysconfig test exclusions for iOS and Android. (GH-126941) (GH-126950) 2024-11-18 14:57:58 +01:00
test_syslog.py
test_tabnanny.py [3.13] gh-120495: Fix incorrect exception handling in Tab Nanny (GH-120498) (#120548) 2024-06-15 11:28:28 +00:00
test_tarfile.py [3.13] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123542) 2024-09-02 13:19:11 +02:00
test_tcl.py [3.13] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120938) 2024-06-24 09:45:45 +00:00
test_tempfile.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_termios.py [3.13] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (#124063) 2024-09-23 17:28:10 -07:00
test_textwrap.py
test_thread.py gh-114271: Fix race in Thread.join() (#114839) 2024-03-16 13:56:30 +01:00
test_threadedtempfile.py
test_threading.py [3.13] gh-127421: Fix race in test_start_new_thread_failed (GH-127549) (#127574) 2024-12-03 10:30:08 -08:00
test_threading_local.py [3.13] gh-127190: Fix local_setattro() error handling (GH-127366) (#127367) 2024-12-01 06:48:04 +00:00
test_threadsignals.py gh-71052: Use raise_signal in ThreadSignals.test_signals (#116423) 2024-03-11 21:39:17 +01:00
test_time.py [3.13] Add tests for time.strftime() with invalid format string (GH-125696) (GH-125702) 2024-10-18 14:22:41 +00:00
test_timeit.py
test_timeout.py
test_tokenize.py [3.13] gh-125008: Fix tokenize.untokenize roundtrip for \n{{ (GH-125013) (#125020) 2024-10-06 13:39:47 +00:00
test_trace.py [3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) (#118927) 2024-05-10 20:50:59 +00:00
test_traceback.py [3.13] gh-125593: Use colors to highlight error locations in tracebacks from exception group (GH-125681) (#126021) 2024-10-27 01:23:00 +00:00
test_tracemalloc.py gh-112730: Respect tests that require environment variables with no-colorize fixes (#118288) 2024-04-26 21:23:30 +01:00
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py
test_type_aliases.py [3.13] gh-124498: Fix TypeAliasType not to be generic, when type_params=() (GH-124499) (#124603) 2024-09-29 18:01:06 -07:00
test_type_annotations.py
test_type_cache.py [3.13] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified (gh-122290) 2024-07-25 17:34:01 +00:00
test_type_comments.py gh-115881: Ensure ast.parse() parses conditional context managers even with low feature_version passed (#115920) 2024-02-26 09:22:09 +00:00
test_type_params.py [3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) (#123890) 2024-09-29 18:24:40 -07:00
test_typechecks.py
test_types.py [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091) 2024-10-08 12:12:15 +03:00
test_typing.py [3.13] gh-126699: allow AsyncIterator to be used as a base for Protocols (GH-126702) (#126762) 2024-12-02 15:10:25 +01:00
test_ucn.py
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 [3.13] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119263) 2024-06-07 16:11:20 +00:00
test_unparse.py gh-116126: Implement PEP 696 (#116129) 2024-05-03 06:17:32 -07:00
test_urllib.py [3.13] gh-127217: Fix pathname2url() for paths starting with multiple slashes on Posix (GH-127218) (GH-127230) 2024-11-30 09:11:24 +00:00
test_urllib2.py [3.13] GH-85168: Use filesystem encoding when converting to/from file URIs (GH-126852) (#127039) 2024-11-20 20:10:29 +00:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py [3.13] gh-85110: Preserve relative path in URL without netloc in urllib.parse.urlunsplit() (GH-123179) (#123187) 2024-09-02 13:09:17 +02:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py gh-113308: Remove some internal parts of uuid module (#115934) 2024-03-14 13:01:41 +03:00
test_venv.py gh-126084: Fix venvwlauncher.exe to run pythonw.exe (GH-126088) 2024-10-29 20:20:05 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py [3.13] gh-123046: Fix regexp to catch cases where the module name is omitted from the weakref repr (GH-123047) (#123058) 2024-08-16 07:41:49 +00:00
test_weakset.py
test_webbrowser.py [3.13] Fix typos in docs, error messages and comments (#122502) (#122606) 2024-09-02 12:44:42 +02:00
test_winapi.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-31 16:22:30 +00:00
test_winconsoleio.py [3.13] gh-124008: Fix calculation of the number of written bytes for the Windows console (GH-124059) (GH-127325) 2024-11-30 09:16:45 +00:00
test_winreg.py
test_winsound.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_with.py [3.13] Bump Ruff to 0.6.7 (#124384) (#124389) 2024-09-29 18:04:56 -07:00
test_wmi.py gh-112278: Improve error handling in wmi module and tests (GH-117818) 2024-04-15 15:43:11 +01:00
test_wsgiref.py gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
test_xml_dom_minicompat.py
test_xml_etree.py [3.13] gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214) (#123257) 2024-09-02 13:10:09 +02:00
test_xml_etree_c.py
test_xmlrpc.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py [3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087) 2024-05-16 10:51:18 +03:00
test_zipfile64.py
test_zipimport.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02:00
test_zipimport_support.py gh-117294: Report DocTestCase as skipped if all examples in the doctest are skipped (GH-117297) 2024-03-28 21:59:12 +02:00
test_zlib.py [3.13] gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) (gh-126327) 2024-11-02 08:51:28 +00:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py