cpython/Lib/test
Miss Islington (bot) ed3a49ea73
[3.13] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123542)
gh-121285: Remove backtracking when parsing tarfile headers (GH-121286)

* Remove backtracking when parsing tarfile headers
* Rewrite PAX header parsing to be stricter
* Optimize parsing of GNU extended sparse headers v0.0

(cherry picked from commit 34ddb64d08)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2024-09-02 13:19:11 +02: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: Return consistent types from `get_un/verified_chain` in `SSLObject` and `SSLSocket` (GH-118669) (#123082) 2024-08-19 10:39:28 -05: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
dtracedata
encoded_modules
leakers
libregrtest [3.13] gh-119727: Add --single-process option to regrtest (#119728) (#123010) 2024-08-26 11:59:26 +02:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support [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_ast [3.13] gh-123344: Add missing ast optimizations for PEP 696 (GH-123377) (#123427) 2024-08-28 14:02:34 +00:00
test_asyncio [3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) (#123421) 2024-09-02 13:14:03 +02:00
test_capi [3.13] gh-111495: Add tests for PyNumber C API (GH-111996) (#123375) 2024-09-02 13:11:06 +02:00
test_cext gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398) 2024-04-30 22:29:48 +02:00
test_concurrent_futures [3.13] gh-117657: Skip test when running under TSan (GH-121549) (GH-121553) 2024-07-09 21:37:30 +00:00
test_cppext gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398) 2024-04-30 22:29:48 +02:00
test_ctypes [3.13] gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. (GH-122281) (GH-122440) 2024-07-30 08:05:09 +00:00
test_dataclasses [3.13] gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` (GH-123342) (#123568) 2024-09-01 18:19:56 +03: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-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122484) 2024-08-06 19:06:41 +02:00
test_free_threading [3.13] gh-120317: Lock around global state in the tokenize module (GH-120318) (#121841) 2024-07-16 10:03:47 +00:00
test_future_stmt [3.13] gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (#119649) 2024-05-28 09:55:37 +00:00
test_gdb Fix incorrect usage of ``support.requires_gil_enabled`` (#118170) 2024-04-25 11:11:59 -04:00
test_import [3.13] gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-121517) 2024-07-08 21:34:58 +00:00
test_importlib [3.13] gh-116608: Apply style and compatibility changes from importlib_resources. (GH-123028) (#123051) 2024-08-15 19:57:07 +00:00
test_inspect [3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001) (#123182) 2024-09-02 13:07:08 +02:00
test_interpreters [3.13] gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121811) 2024-07-15 20:15:47 +00:00
test_json gh-115692: Add tests to increase `json` coverage (#115693) 2024-04-14 06:11:06 -06: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-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) (#122979) 2024-08-13 17:39:14 +00:00
test_peg_generator gh-117889: Fix PGO test in test_peg_generator (#117893) 2024-04-15 13:59:34 +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-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327) 2024-08-26 02:13:36 +01:00
test_sqlite3 gh-118406: Add signature for sqlite3.Connection objects (#118428) 2024-04-30 19:58:22 +00: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-120418: Don't assume wheeldata is deleted if `WHEEL_PKG_DIR` is set (GH-120419) (#120432) 2024-06-12 19:51:55 +00:00
test_ttk [3.13] gh-120873: Add tests for new widget options in Tk 8.7 (GH-120877) (GH-120879) 2024-06-22 13:43:30 +00:00
test_unittest [3.13] gh-121708: Improve test coverage for `unittest.util` (GH-121713) (GH-121738) 2024-07-14 08:32:41 +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-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) (#123410) 2024-09-02 13:13:18 +02: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
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 Bump ruff to 0.2.0 (#114932) 2024-02-02 21:04:15 +00:00
__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-120012: clarify the behaviour of `multiprocessing.Queue.empty` on closed queues. (GH-120102) (#120469) 2024-07-14 04:24:58 -06:00
_test_venv_multiprocessing.py
archiver_tests.py gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082) 2024-02-11 12:38:07 +02:00
audiotests.py
audit-tests.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-31 16:22:30 +00:00
autotest.py
bisect_cmd.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
clinic.test.c [3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) (#122852) 2024-09-02 13:03:04 +02:00
cov.py
curses_tests.py
datetimetester.py Revert "[3.13] gh-120713: Normalize year with century for datetime.strftime (GH-120820) (GH-121144)" (GH-122408) 2024-07-29 21:55:28 +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-123431: Harmonize extension code checks in pickle (GH-123434) (#123459) 2024-09-02 13:17:16 +02: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-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) (#119143) 2024-05-18 13:46:21 +00: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 gh-117225: Move colorize functionality to own internal module (#118283) 2024-05-01 12:27:06 -06: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 gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791) 2024-04-24 16:18:24 +00:00
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py gh-77465: Increase test coverage for the numbers module (GH-111738) 2024-01-25 16:35:05 +02:00
test_android.py [3.13] gh-116622: Add Android test script (GH-121595) (#123061) 2024-08-16 16:36:46 +08:00
test_argparse.py [3.13] gh-121151: argparse: Fix wrapping of long usage text of arguments inside a mutually exclusive groups (GH-121159) (#122777) 2024-09-02 12:55:16 +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-120373: Mark test_audit.test_http as requiring the network resource (GH-120374) (#120948) 2024-06-24 13:44:06 +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 GH-111744: Support opcode events in bdb (GH-111834) 2024-05-04 07:44:49 -07: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 gh-114685: PyBuffer_FillInfo() now raises on PyBUF_{READ,WRITE} (GH-114802) 2024-02-04 19:16:43 +00:00
test_bufio.py
test_builtin.py [3.13] gh-116402: Avoid readline in test_builtin TTY input tests (GH-122447) (GH-122472) 2024-07-30 17:21:17 +00: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 gh-115961: Add name and mode attributes for compressed file-like objects (GH-116036) 2024-04-21 11:46:39 +03: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
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-121860: Fix crash when materializing managed dict (GH-121866) (#121867) 2024-07-16 19:26:01 +00: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
test_cmd.py
test_cmd_line.py gh-112730: Make the test suite resilient to color-activation environment variables (#117672) 2024-04-24 21:25:22 +01:00
test_cmd_line_script.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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 gh-116417: Move limited C API unicode.c tests to _testlimitedcapi (#116993) 2024-03-19 12:30:39 +00:00
test_codeop.py gh-113703: Correctly identify incomplete f-strings in the codeop module (#113709) 2024-01-05 12:16:46 +00:00
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-123142: Fix too wide source locations in tracebacks of exceptions from broken iterables in comprehensions (GH-123173). (#123209) 2024-08-22 10:22:39 +01: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-93691: fix too broad source locations of for statement iterators (GH-120330) (#120399) 2024-06-12 12:18:43 +00:00
test_complex.py [3.13] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119795) 2024-08-09 17:42:16 +03: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
test_contextlib.py
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-120289: Disallow disable() and clear() in external timer to prevent use-after-free (GH-120297) (#121984) 2024-07-18 13:26:47 -07:00
test_csv.py [3.13] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) (GH-122258) 2024-07-25 07:29:36 +00:00
test_curses.py gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00: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 gh-100414: Add SQLite backend to dbm (#114481) 2024-02-14 11:14:56 +00:00
test_dbm_dumb.py gh-83383: Always mark the dbm.dumb database as unmodified after open() and sync() (GH-114560) 2024-02-04 17:23:26 +02:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py gh-100414: Skip test_dbm_sqlite3 if sqlite3 is unavailable (#115449) 2024-02-14 13:16:09 +00:00
test_decimal.py [3.13] Restore decimal context after decimal doctests (GH-120149) (GH-120167) 2024-06-06 17:36:46 +00:00
test_decorators.py
test_defaultdict.py
test_deque.py gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) 2024-02-14 16:08:26 +00:00
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 gh-115450: Fix direct invocation of `test_desctut` (#115451) 2024-02-14 16:31:28 +03:00
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 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_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-123022: Fix crash with `Py_Initialize` in background thread (GH-123052) (#123114) 2024-08-17 20:38:02 +00:00
test_ensurepip.py GH-80789: Get rid of the ``ensurepip`` infra for many wheels (#109245) 2024-01-30 01:25:31 +00:00
test_enum.py [3.13] gh-120361: Add `nonmember` test with enum flags inside to `test_enum` (GH-120364) (#120511) 2024-06-14 22:08:21 +03:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
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-120544: Add `else: fail()` to tests where exception is expected (GH-120545) (#120546) 2024-06-15 12:54:07 +01: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
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] gh-119189: Fix the power operator for Fraction (GH-119242) (GH-119836) 2024-07-16 10:44:23 +03:00
test_frame.py [3.13] GH-120097: Make FrameLocalsProxy a mapping (GH-120101) (GH-120749) 2024-08-23 10:26:03 +01:00
test_frozen.py
test_fstring.py [3.13] gh-122026: Fix identification of mismatched parentheses inside f-strings (GH-122028) (#122041) 2024-07-19 17:32:34 +00:00
test_ftplib.py gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) 2024-02-17 11:57:51 +00:00
test_funcattrs.py
test_functools.py [3.13] gh-121027: Add a future warning in functools.partial.__get__ (GH-121086) (#121092) 2024-06-27 12:13:01 +00:00
test_gc.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_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-121657: Additional `yield from` error test using lambda (GH-121722) (GH-121961) 2024-07-19 13:50:34 +02: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 gh-118507 : Refactor `nt._path_is*` to improve applicability for other cases (GH-118755) 2024-05-22 00:29:34 +00:00
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.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_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-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123103) 2024-08-24 15:36:58 -07: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-120048: Make `test_imaplib` faster (GH-120050) (#120069) 2024-06-04 20:18:33 +00: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-119506: fix `_io.TextIOWrapper.write()` write during flush (GH-119507) (#119964) 2024-06-19 10:11:07 +00:00
test_ioctl.py
test_ipaddress.py gh-117566: fix IPv6Address.is_loopback for IPv4-mapped loopbacks (GH-117567) 2024-04-25 15:17:40 +00: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-117657: Fix itertools.count thread safety (GH-119268) (#120007) 2024-06-03 22:47:34 +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
test_logging.py [3.13] GH-121723: Skip test_config_queue_handler_multiprocessing_context in emulated JIT CI (GH-122991) 2024-08-22 13:16:52 -07: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 gh-118671: Updated dead ActiveState links (#118730) 2024-05-08 01:06:38 -06: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
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
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-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-118355) 2024-05-24 18:26:06 +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
test_ordered_dict.py [3.13] gh-118846: Fix PGO tests in free-threaded build (GH-118862) (#118867) 2024-05-09 20:34:22 +00:00
test_os.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_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-111051: [tests] Wait a second to support filesystems with low-resolution mtime (GH-121959) (GH-122114) 2024-08-12 11:00:33 +00: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-122311: Add more tests for pickle (GH-122376) (GH-122377) 2024-07-28 08:56:49 +00:00
test_picklebuffer.py
test_pickletools.py [3.13] gh-123309: Add more tests for the pickletools module (GH-123355) (#123533) 2024-09-02 13:18:44 +02:00
test_pkg.py
test_pkgutil.py [3.13] gh-59022: Added tests for `pkgutil.extend_path` (GH-121673) (GH-121951) 2024-07-19 16:35:51 +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 gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026) 2024-01-21 22:29:51 +02:00
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-89928: Fix integer conversion of device numbers (GH-31794) (GH-120053) 2024-06-04 17:19:13 +00:00
test_posixpath.py [3.13] gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don't support pwd.getpwall (GH-122521) (GH-122530) 2024-08-12 13:37:03 +03:00
test_pow.py
test_pprint.py
test_print.py
test_profile.py gh-69990: Make Profile.print_stats support sorting by multiple values (GH-104590) 2024-02-16 12:03:46 +00:00
test_property.py [3.13] bpo-24766: doc= argument to subclasses of property not handled correctly (GH-2487) (GH-120305) 2024-06-11 12:52:27 +03: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 Fix test_py_compile with -O mode (GH-115345) 2024-02-19 19:02:51 +02:00
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 gh-117531: Unblock getters after non-immediate queue shutdown (#117532) 2024-04-10 08:01:42 -07:00
test_quopri.py
test_raise.py
test_random.py gh-118131: Command-line interface for the `random` module (#118132) 2024-05-05 06:30:03 +00:00
test_range.py
test_re.py [3.13] gh-122798: Make tests for warnings in the re module more strict (GH-122799) (#122804) 2024-09-02 12:59:15 +02:00
test_readline.py [3.13] gh-121160: Add some tests for readline.set_history_length (GH-121326) (GH-121856) 2024-07-16 17:15:51 +02: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-121790: Fix interactive console initialization (GH-121793) (GH-121822) 2024-07-16 00:49:41 +02:00
test_reprlib.py
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 GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
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 gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) (#119918) 2024-06-01 20:38:55 +01:00
test_signal.py [3.13] gh-120039: Reduce expected timeout in test_siginterrupt_off (GH-120047) (#120060) 2024-06-04 18:11:01 +00: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 gh-108303: Move `smtpd` to `test.support` (#114368) 2024-01-22 14:36:29 +01:00
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-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (#122504) 2024-07-31 08:48:59 +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-118658: Return consistent types from `get_un/verified_chain` in `SSLObject` and `SSLSocket` (GH-118669) (#123082) 2024-08-19 10:39:28 -05: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 gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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-122888: Fix crash on certain calls to str() (GH-122889) (#122947) 2024-08-12 16:53:05 +00:00
test_strftime.py
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py [3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) (GH-118956) 2024-05-11 22:18:23 +00:00
test_strtod.py
test_struct.py [3.13] gh-118846: Fix PGO tests in free-threaded build (GH-118862) (#118867) 2024-05-09 20:34:22 +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 gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195) 2024-06-11 19:35:49 +00:00
test_support.py GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +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-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) (#122625) 2024-09-02 12:47:18 +02: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-122014: Account for abi_thread in test_sysconfig.test_user_similar (gh-122017) (#122039) 2024-07-19 17:13:41 +00: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
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 gh-118495: Skip test using threads after forking when running with TSAN (#118530) 2024-05-03 11:14:26 -04:00
test_threading_local.py
test_threadsignals.py gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (#116423) 2024-03-11 21:39:17 +01:00
test_time.py GH-70647: Deprecate strptime day of month parsing without a year present to avoid leap-year bugs (GH-117107) 2024-04-03 14:19:49 +02:00
test_timeit.py
test_timeout.py
test_tokenize.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_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-123123: Fix display of syntax errors covering multiple lines (GH-123131) (#123147) 2024-08-19 15:35:47 +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 gh-114328: tty cbreak mode should not alter ICRNL (#114335) 2024-01-21 15:25:52 -08:00
test_tuple.py
test_turtle.py
test_type_aliases.py [3.13] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822) (#119889) 2024-05-31 21:56:26 -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-119011: `type.__type_params__` now return an empty tuple (GH-119296) (#119678) 2024-05-28 19:09:04 +00:00
test_typechecks.py
test_types.py [3.13] gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122249) 2024-07-29 10:25:02 -06:00
test_typing.py [3.13] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) (GH-122806) 2024-08-08 09:49:21 +03:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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
test_urllib2.py gh-99730: urllib.request: Keep HEAD method on redirect (GH-99731) 2024-05-01 18:01:47 +02: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 GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
test_userlist.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
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 [3.13] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) (GH-122823) 2024-08-09 09:26:54 +02: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 gh-115538: Emit warning when use bool as fd in _io.WindowsConsoleIO (GH-116925) 2024-03-18 11:48:50 +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
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] Improve zipimport tests (GH-121535) (GH-121570) 2024-07-10 13:11:39 +03: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
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py