cpython/Lib/test
Miss Islington (bot) d849cf5fec
[3.12] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216) (#142297)
[3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1a46)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-12-15 15:11:38 +01:00
..
audiodata gh-77171 Support WAVE_FORMAT_EXTENSIBLE in the wave module (GH-96777) 2022-09-14 14:34:40 +01:00
certdata [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (#109682) 2023-10-10 22:38:18 +02:00
cjkencodings
configdata [3.12] gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) (gh-111882) 2023-11-09 15:41:44 +01:00
crashers [3.12] gh-91565: Replace bugs.python.org links with Devguide/GitHub ones (GH-91568) (GH-117890) 2024-04-15 12:59:34 +00:00
data
decimaltestdata [3.12] Fix typos (#123775) (#123867) 2024-09-09 13:22:13 +00:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest [3.12] gh-129363: Change regrtest sequential mode output (GH-129476) (#130406) 2025-02-21 14:16:27 +00:00
regrtestdata/import_from_tests [3.12] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112711) 2023-12-04 16:17:38 +00:00
sndhdrdata
subprocessdata
support [3.12] gh-139310: skip test_aead_aes_gcm for Linux kernel between 6.16.0 and 6.17.x (GH-139552) (GH-139764) 2025-10-09 11:06:33 +02:00
test_ast [3.12] gh-130775: Allow negative locations in ast (GH-130795) (#132260) 2025-04-08 10:19:23 +00:00
test_asyncio [3.12] gh-127949: fix resource warnings in test_tasks.py (GH-128172) (#131806) 2025-03-28 14:25:39 +00:00
test_capi [3.12] gh-131357: Add a set of asserts to test.test_capi.test_bytearray (GH-131554) (#131629) 2025-03-23 17:43:12 +00:00
test_cext [3.12] gh-127906: Skip limited C API test_cext tests if Py_TRACE_REFS (#127993) 2024-12-16 18:15:17 +01:00
test_concurrent_futures [3.12] gh-130957: Use sleeping_retry in test_free_reference (GH-130958) (#131092) 2025-03-11 10:13:41 -04:00
test_cppext [3.12] gh-127906: Skip limited C API test_cext tests if Py_TRACE_REFS (#127993) 2024-12-16 18:15:17 +01:00
test_ctypes [3.12] gh-126554: correct detection of gcc for TestNullDlsym.test_null_dlsym (GH-129872) (#129945) 2025-02-10 10:08:18 +00:00
test_dataclasses [3.12] gh-89683: add tests for deepcopy on frozen dataclasses (GH-123098) (gh-124679) 2024-09-27 16:57:30 +00:00
test_doctest [3.12] gh-128816: Fix warnings in test_doctest (GH-128817) (GH-128871) 2025-01-16 09:09:13 +00:00
test_email [3.12] gh-121284: Fix email address header folding with parsed encoded-word (GH-122754) (#131404) 2025-03-18 15:35:32 -04:00
test_future_stmt [3.12] gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (#126160) 2024-10-30 00:54:32 +00:00
test_gdb [3.12] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) (GH-129059) 2025-01-20 12:06:02 +00:00
test_import [3.12] gh-129405: Fix doc for Py_mod_multiple_interpreters default, and add test (GH-129406) (GH-130510) 2025-02-27 16:30:46 +01:00
test_importlib [3.12] gh-123085: Remove double 'import os' added by PR #124021 (#128600) 2025-01-07 19:23:17 -05:00
test_inspect [3.12] gh-130164: Fix inspect.Signature.bind() handling of positional-only args without defaults (GH-130192) (GH-132259) 2025-04-08 09:39:45 +00:00
test_json [3.12] gh-125660: Reject invalid unicode escapes for Python implementation of JSON decoder (GH-125683) (GH-125695) 2024-10-21 16:08:10 +03:00
test_lib2to3 Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_module [3.12] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113429) 2023-12-23 11:50:01 +00:00
test_multiprocessing_fork [3.12] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#108442) 2023-08-25 18:15:53 +02:00
test_multiprocessing_forkserver [3.12] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#108442) 2023-08-25 18:15:53 +02:00
test_multiprocessing_spawn [3.12] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#108442) 2023-08-25 18:15:53 +02:00
test_peg_generator [3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) (#117895) 2024-04-15 14:15:30 +00:00
test_pydoc [3.12] gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) (GH-129654) 2025-02-04 14:44:02 +00:00
test_sqlite3 [3.12] gh-129603: Don't segfault if sqlite3.Row description is None (#129604) (#129924) 2025-02-10 00:14:40 +00:00
test_tkinter [3.12] gh-128562: Fix generation of the tkinter widget names (GH-128604) (GH-128792) 2025-01-13 18:23:53 +02:00
test_tomllib [3.12] gh-108851: Fix tomllib recursion tests (GH-108853) (#109012) 2023-09-08 15:18:02 +02:00
test_tools [3.12] gh-131852: Filter out POT-Creation-Date in msgfmt (GH-131880) (GH-132216) 2025-04-07 11:52:22 +00:00
test_ttk [3.12] gh-86673: Loosen test_ttk.test_identify() requirements (GH-125335) (#125391) 2024-10-13 07:56:04 +00:00
test_unittest [3.12] gh-104745: Limit starting a patcher more than once without stopping it (GH-126649) (#126773) 2024-11-13 08:37:34 +00:00
test_warnings [3.12] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122819) 2024-08-14 14:12:34 +00:00
test_zipfile [3.12] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) (GH-139712) 2025-10-08 13:46:28 +02:00
test_zoneinfo [3.12] gh-106233: Fix stacklevel in zoneinfo.InvalidTZPathWarning (GH-106234) (GH-115081) 2024-02-06 13:26:39 +00:00
tokenizedata [3.12] gh-108303: Fix and move badsyntax_pep3120.py (GH-109513) (#130540) 2025-02-26 09:46:12 +02:00
tracedmodules
translationdata [3.12] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126756) 2024-11-15 13:07:16 +02:00
typinganndata [3.12] gh-114053: Fix another edge case involving get_type_hints, PEP 695 and PEP 563 (GH-120272) (#121004) 2024-06-25 16:31:01 +00:00
wheeldata [3.12] gh-132415: Update vendored setuptools in `Lib/test/wheeldata (GH-132887) (GH-135393) 2025-06-11 17:28:51 +02:00
xmltestdata
ziptestdata [3.12] gh-111625: Fix link to Info-ZIP homepage (GH-111626) (#111639) 2023-11-02 12:04:27 +00:00
.ruff.toml [3.12] gh-108303: Fix and move badsyntax_pep3120.py (GH-109513) (#130540) 2025-02-26 09:46:12 +02:00
__init__.py
__main__.py [3.12] gh-110756: Sync regrtest with main branch (#110758) 2023-10-12 22:03:07 +02:00
_test_atexit.py bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) 2021-12-09 13:53:44 +00:00
_test_eintr.py [3.12] gh-107851: Fix spurious failures in fcntl eintr tests (GH-121556) (#121586) 2024-07-10 14:54:45 +00:00
_test_embed_set_config.py [3.12] Add support.MS_WINDOWS constant (#110446) (#110452) 2023-10-06 01:26:14 +00:00
_test_embed_structseq.py gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06:00
_test_multiprocessing.py [3.12] gh-130954: Fix multiprocessing test_notify_n (GH-130955) (#130982) 2025-03-08 18:21:37 +00:00
_test_venv_multiprocessing.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
archiver_tests.py [3.12] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) (GH-114963) 2024-02-03 18:39:01 +02:00
audiotest.au
audiotests.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
audit-tests.py gh-131423: Update to OpenSSL 3.0.16. (GH-131839) 2025-03-28 15:29:20 +00:00
autotest.py [3.12] gh-110756: Sync regrtest with main branch (#110758) 2023-10-12 22:03:07 +02:00
bisect_cmd.py [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (#117250) 2024-03-26 08:04:28 +00:00
clinic.test.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
cmath_testcases.txt Few coverage nitpicks for the cmath module (#102067) 2023-02-22 19:10:01 +00:00
curses_tests.py
datetimetester.py [3.12] gh-89039: Call subclass constructors in datetime.*.replace (GH-114780) (GH-131239) 2025-04-02 20:35:16 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt bpo-46417: Factorize _PyExc_InitTypes() code (GH-30804) 2022-01-22 21:48:56 +01:00
floating_points.txt
fork_wait.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
formatfloat_testcases.txt
ieee754.txt [3.12] Fix typos (#123775) (#123867) 2024-09-09 13:22:13 +00:00
levenshtein_examples.json gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
list_tests.py [3.12] gh-120384: Fix array-out-of-bounds crash in list_ass_subscript (GH-120442) (#120825) 2024-06-21 11:08:22 +00:00
lock_tests.py [3.12] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH-122443) 2024-07-30 09:12:11 +00:00
mailcap.txt
mapping_tests.py [3.12] GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535) (#107618) 2023-08-04 12:25:51 +02:00
math_testcases.txt
memory_watchdog.py gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) 2023-03-02 20:10:08 +09:00
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mock_socket.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
pickletester.py [3.12] gh-126991: Add tests for unpickling bad object state (GH-127031) (GH-127064) 2024-11-20 15:49:58 +00:00
profilee.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
pstats.pck
pyclbr_input.py [3.12] gh-120449: fix `test_pyclbr` introspection for mangled names (GH-120450) (GH-120701) 2024-06-19 09:20:16 +02:00
pythoninfo.py [3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) (#117895) 2024-04-15 14:15:30 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02:00
regrtest.py [3.12] gh-110756: Sync regrtest with main branch (#110758) 2023-10-12 22:03:07 +02:00
relimport.py
reperf.py
seq_tests.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
signalinterproctester.py [3.12] gh-110033: Fix signal test_interprocess_signal() (GH-110035) (#110040) 2023-10-02 17:42:40 +02:00
Sine-1000Hz-300ms.aif
ssl_servers.py [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (#109682) 2023-10-10 22:38:18 +02:00
ssltests.py Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) 2021-05-01 13:53:57 -07:00
string_tests.py [3.12] gh-110160: Fix flaky test_find_periodic_pattern in string_tests (GH-110170) (#110182) 2023-10-02 17:48:17 +02:00
test___all__.py gh-99482: remove jython compatibility parts from stdlib and tests (#99484) 2022-12-23 14:17:24 -06:00
test__locale.py [3.12] GH-126727: Fix test_era_nl_langinfo with Japanese ERAs on Solaris (GH-127327) (GH-127646) 2024-12-05 19:01:25 +00:00
test__opcode.py GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython (GH-103083) 2023-04-12 12:04:55 +01:00
test__osx_support.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test__xxinterpchannels.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test__xxsubinterpreters.py [3.12] gh-115142: Skip `test__xxsubinterpreters if _testcapi` is not available (#116543) 2024-03-09 14:06:24 +00:00
test_abc.py [3.12] gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) (GH-106534) 2023-07-07 14:25:24 -07:00
test_abstract_numbers.py [3.12] gh-77465: Increase test coverage for the numbers module (GH-111738) (GH-114556) 2024-01-25 15:36:20 +00:00
test_aifc.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_argparse.py [3.12] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126756) 2024-11-15 13:07:16 +02:00
test_array.py [3.12] gh-128961: Fix exhausted array iterator crash in __setstate__() (GH-128962) (#128977) 2025-01-18 10:14:07 +00:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
test_asyncgen.py [3.12] gh-131670: Fix crash in anext() when __anext__ is sync and raises (GH-131682) (#131687) 2025-03-24 19:18:29 +00:00
test_atexit.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_audioop.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_audit.py gh-131423: Update to OpenSSL 3.0.16. (GH-131839) 2025-03-28 15:29:20 +00:00
test_augassign.py
test_base64.py [3.12] gh-74678: Increase base64 test coverage (GH-21913) (GH-113811) 2024-01-08 11:20:36 +00:00
test_baseexception.py [3.12] chore: fix typos (#116345) (#116370) 2024-03-05 18:51:17 +00:00
test_bdb.py [3.12] gh-125422: Don't set the caller's f_trace if it's botframe (GH-125427) (#125531) 2024-10-15 15:26:41 +00:00
test_bigaddrspace.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_bigmem.py gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09:00
test_binascii.py [3.12] gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) (GH-118691) 2024-05-07 09:35:49 +00:00
test_binop.py
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-82012: Deprecate bitwise inversion (~) of bool (#103487) 2023-05-03 00:00:42 -07:00
test_buffer.py [3.12] gh-126594: Fix typeobject.c wrap_buffer() cast (GH-126754) (#127005) 2024-11-19 08:33:18 +00:00
test_bufio.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_builtin.py [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
test_bytes.py [3.12] gh-131015: Add test for bytes formatting errors (#131881) (#132114) 2025-04-05 11:40:48 +02:00
test_bz2.py [3.12] Bump Ruff to 0.6.7 (#124384) (#124391) 2024-09-23 23:09:27 +00:00
test_c_locale_coercion.py [3.12] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378) (#113398) 2023-12-23 21:57:54 +01:00
test_calendar.py [3.12] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484) (GH-126878) 2024-11-15 15:20:10 -08:00
test_call.py [3.12] GH-112215: Backport C recursion changes (GH-115083) 2024-02-13 10:45:59 +01:00
test_cgi.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_cgitb.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_charmapcodec.py bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
test_class.py [3.12] gh-60712: Include the "object" type in the lists of documented types (GH-103036) (GH-126198) 2024-10-30 13:15:24 -07:00
test_clinic.py [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
test_cmath.py [3.12] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) (#123841) 2024-09-11 14:06:40 +02:00
test_cmd.py [3.12] gh-111426: Remove test_cmd.test_coverage (GH-111427) (#111432) 2023-10-28 23:40:02 +00:00
test_cmd_line.py [3.12] gh-116858: Add @cpython_only to several tests in test_cmd_line (GH-116859) (#116889) 2024-03-16 09:31:28 +00:00
test_cmd_line_script.py [3.12] gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (GH-116049) (#130065) 2025-02-13 01:42:24 +00:00
test_code.py [3.12] GH-109052: Use the base opcode when comparing code objects (GH-112329) 2023-11-23 10:18:17 -08:00
test_code_module.py [3.12] Fix a typo in code module test (GH-130530) (GH-130533) 2025-02-25 09:54:15 +00:00
test_codeccallbacks.py [3.12] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (#134337) 2025-05-25 20:33:22 -07:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py [3.12] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) (gh-111769) 2023-11-06 11:31:58 +00: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.12] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (#134337) 2025-05-25 20:33:22 -07:00
test_codeop.py [3.12] gh-113703: Correctly identify incomplete f-strings in the codeop module (GH-113709) (#113733) 2024-01-05 13:23:40 +00:00
test_collections.py gh-91896: Revert some very noisy DeprecationWarnings for ByteString (#104424) 2023-05-13 09:55:35 +01:00
test_colorsys.py [3.12] gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627) (#106632) 2023-07-11 15:47:15 +00:00
test_compare.py gh-56276: Add tests to test_compare (#3199) 2023-05-20 12:07:40 -04:00
test_compile.py [3.12] gh-98442: fix locations of with statement's cleanup instructions (GH-120763) (#120787) 2024-09-15 19:14:19 +00:00
test_compileall.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_compiler_assemble.py gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441) 2023-05-09 11:02:14 -06:00
test_compiler_codegen.py [3.12] gh-93691: fix too broad source locations of for statement iterators (GH-120330 (#120405) 2024-06-13 11:38:36 +01:00
test_complex.py [3.12] gh-113841: fix possible undefined division by 0 in _Py_c_pow() (GH-127211) (GH-127216) (GH-127530) 2024-12-02 19:47:42 +00:00
test_configparser.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_contains.py
test_context.py [3.12] gh-132002: Fix crash of ContextVar on unhashable str subtype (GH-132003) (#132008) 2025-04-02 12:05:30 +00:00
test_contextlib.py [3.12] Bump Ruff to 0.6.7 (#124384) (#124391) 2024-09-23 23:09:27 +00:00
test_contextlib_async.py [3.12] gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (GH-110500) (#110610) 2023-10-10 13:12:30 +02:00
test_copy.py gh-100871: Improve copy module tests (GH-100872) 2023-01-11 09:14:41 -08:00
test_copyreg.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_coroutines.py [3.12] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113429) 2023-12-23 11:50:01 +00:00
test_cprofile.py [3.12] gh-126220: Fix crash on calls to _lsprof.Profiler methods with 0 args (backportable) (GH-126271) (#126311) 2024-11-01 22:18:50 +00:00
test_crashers.py bpo-41043: Escape literal part of the path for glob(). (GH-20994) 2020-06-20 11:10:31 +03:00
test_crypt.py gh-91217: deprecate crypt (GH-91459) 2022-04-11 17:02:19 -07:00
test_csv.py [3.12] gh-121982: `csv: Add a test case for invalid quoting` constant. (GH-121983) (#124925) 2024-10-03 08:31:54 +00:00
test_curses.py [3.12] gh-120378: Fix crash caused by integer overflow in curses (GH-124555) (#124911) 2024-10-02 21:40:49 +00:00
test_datetime.py [3.12] gh-120242: Fix handling of [setUp,tearDown]Class in test_datetime (GH-120243) (#120260) 2024-06-08 08:09:55 +00:00
test_dbm.py bpo-45500: Rewrite test_dbm (GH-29002) 2021-10-19 21:11:28 +02:00
test_dbm_dumb.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_dbm_gnu.py [3.12] gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746) (GH-128027) 2024-12-17 14:53:16 +02:00
test_dbm_ndbm.py GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) 2022-09-08 19:32:40 -07:00
test_decimal.py [3.12] gh-130230: Add new tests for 3-arg pow() with Decimal (GH-130237) (GH-130247) 2025-02-18 08:18:40 +00:00
test_decorators.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_defaultdict.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_deque.py [3.12] gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) (GH-115465) 2024-02-14 17:17:58 +00:00
test_descr.py [3.12] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) (GH-129059) 2025-01-20 12:06:02 +00:00
test_descrtut.py [3.12] gh-115450: Fix direct invocation of test_desctut (GH-115451) (#115453) 2024-02-14 13:59:47 +00:00
test_devpoll.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_dict.py [3.12] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123237) 2024-08-23 01:37:40 +09:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dictcomps.py [3.12] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123436) 2024-08-28 18:41:40 +01:00
test_dictviews.py [3.12] GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535) (#107618) 2023-08-04 12:25:51 +02:00
test_difflib.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_difflib_expect.html [3.12] gh-131204: Fix difflib.HtmlDiff may not use monospaced font (GH-131221) (#131243) 2025-03-14 12:23:39 +00:00
test_dis.py [3.12] gh-127637: add tests for dis command-line interface (#127759) (#127780) 2025-01-18 12:01:56 +01:00
test_docxmlrpc.py bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) 2022-03-30 12:00:27 +01:00
test_dtrace.py [3.12] gh-104280: Add test cases for DTrace probes (GH-107125) (#107489) 2023-07-31 11:16:30 +02:00
test_dynamic.py [3.12] Fix typos in docs and comments (#109619) (#109621) 2023-10-02 17:34:49 +00:00
test_dynamicclassattribute.py
test_eintr.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_embed.py [3.12] gh-111495: Add PyFile tests (#129449) (#129477) (#129501) 2025-01-31 10:27:35 +01:00
test_ensurepip.py gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039) 2023-04-17 23:43:34 -05:00
test_enum.py [3.12] gh-131045: [Enum] fix flag containment checks when using values (GH-131053) (#131232) 2025-03-24 10:31:24 +01:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
test_eof.py [3.12] gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) (GH-124426) 2024-09-24 08:53:54 +00:00
test_epoll.py gh-102795: Fix use of poll in test_epoll's test_control_and_wait (#102796) 2023-05-04 14:38:20 +00:00
test_errno.py
test_except_star.py [3.12] gh-128049: Fix type confusion bug with the return value of a custom ExceptionGroup split function (GH-128079) (#128140) 2024-12-20 20:19:12 +00:00
test_exception_group.py [3.12] GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535) (#107618) 2023-08-04 12:25:51 +02:00
test_exception_hierarchy.py gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
test_exception_variations.py bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) 2022-01-27 13:40:44 +00:00
test_exceptions.py [3.12] gh-111609: end_offset is ignored in subclasses of SyntaxError (#127554) 2024-12-11 09:09:34 +00:00
test_extcall.py gh-96751: Remove dead code from CALL_FUNCTION_EX opcode (GH-96752) 2022-09-15 10:33:13 +01:00
test_faulthandler.py [3.12] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122013) 2024-07-19 09:08:33 +00:00
test_fcntl.py [3.12] Make test_fcntl quiet (GH-108758) (#108760) 2023-09-01 15:36:52 +02:00
test_file.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_file_eintr.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_filecmp.py [3.12] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122442) 2024-07-30 09:07:06 +00:00
test_fileinput.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_fileio.py Make use of TESTFN_ASCII in test_fileio (GH-101645) 2023-02-07 09:22:58 -08:00
test_fileutils.py bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701) 2020-10-14 18:44:07 -07:00
test_float.py [3.12] gh-53203: Improve tests for strptime() (GH-125090) (GH-125093) 2024-10-08 09:47:37 +00:00
test_flufl.py [3.12] gh-125331: Allow the parser to activate future imports on the fly (GH-125482) (#131063) 2025-03-10 22:13:59 +00:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 11:46:29 +03:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py [3.12] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122013) 2024-07-19 09:08:33 +00:00
test_fractions.py [3.12] Fix typos (#123775) (#123867) 2024-09-09 13:22:13 +00:00
test_frame.py [3.12] Fix typos in docs and comments (#109619) (#109621) 2023-10-02 17:34:49 +00:00
test_frozen.py bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_fstring.py [3.12] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129190) 2025-01-22 18:08:58 +00:00
test_ftplib.py [3.12] gh-131888: fix ResourceWarning in test_ftplib (GH-131889) (#132010) 2025-04-02 12:46:40 +00:00
test_funcattrs.py [3.12] gh-122864: Fix a `test_funcattrs.test___builtins__` when executing directly (GH-124845) (#124885) 2024-10-02 10:36:54 +00:00
test_functools.py [3.12] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131693) 2025-03-24 20:59:03 +00:00
test_gc.py [3.12] gh-116604: Correctly honor the gc status when calling _Py_RunGC (GH-116628) (#116653) 2024-03-12 23:38:20 +00:00
test_generator_stop.py
test_generators.py [3.12] gh-121657: Additional yield from error test using lambda (GH-121722) (GH-121962) 2024-07-19 13:50:51 +02:00
test_genericalias.py [3.12] gh-105486: Change the repr of ParamSpec list of args in GenericAlias (GH-105488) (#106297) 2023-07-01 00:32:44 +00:00
test_genericclass.py [3.12] Enable ruff on several more files in Lib/test (#110929) (#110934) 2023-10-16 15:48:02 +00:00
test_genericpath.py [3.12] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140847) 2025-10-31 17:50:42 +01:00
test_genexps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_getopt.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_getpass.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_getpath.py [3.12] Fix typos (#123775) (#123867) 2024-09-09 13:22:13 +00:00
test_gettext.py [3.12] gh-130655: Add a test for corrupt .mo files in gettext (GH-131911) (#132080) 2025-04-04 16:49:48 +02:00
test_glob.py [3.12] gh-129350: Make tests for glob with trailing slash more strict (GH-129376) (GH-129652) 2025-02-04 14:42:14 +00:00
test_global.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_grammar.py [3.12] gh-130618: Fix parser error when using lambdas inside f-strings (GH-130638) (#130644) 2025-03-01 18:10:07 +00:00
test_graphlib.py no-issue: remove unused import from test_graphlib.py (GH-29853) 2021-11-30 11:27:37 +09:00
test_grp.py gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
test_gzip.py [3.12] gh-129726: Break gzip.GzipFile reference loop (GH-130055) (#130670) 2025-02-28 08:28:14 +00:00
test_hash.py bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) 2021-10-10 17:29:46 +09:00
test_hashlib.py gh-99108: Refresh HACL* from upstream (#104401) 2023-05-11 21:23:52 +00:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_hmac.py [3.12] bpo-14322: added test case for invalid update to hmac (GH-26636) (#115904) 2024-02-25 10:49:37 +00:00
test_html.py
test_htmlparser.py [3.12] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842) (GH-140850) 2025-10-31 17:57:28 +01:00
test_http_cookiejar.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_http_cookies.py [3.12] gh-123401: Fix http.cookies module to support obsolete RFC 850 date format (GH-123405) (#127829) 2024-12-11 15:34:22 +00:00
test_httplib.py [3.12] gh-112064: Fix incorrect handling of negative read sizes in HTTPResponse.read() (GH-128270) (#129396) 2025-01-28 11:54:27 +00:00
test_httpservers.py [3.12] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216) (#142297) 2025-12-15 15:11:38 +01:00
test_idle.py GH-71383: IDLE - Document testing subsets of modules (#104463) 2023-05-13 23:55:20 -04:00
test_imaplib.py [3.12] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (GH-129356) 2025-01-27 14:06:14 -08:00
test_imghdr.py gh-91217: deprecate imghdr (#91461) 2022-04-13 10:47:41 -07:00
test_index.py
test_int.py [3.12] gh-118164: Break a loop between _pydecimal and _pylong and optimize int to str conversion (GH-118483) (GH-118590) 2024-05-06 12:10:05 +03:00
test_int_literal.py
test_interpreters.py [3.12] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470) 2023-12-25 20:31:57 +02:00
test_io.py [3.12] gh-127182: Fix io.StringIO.__setstate__ crash when None is the first value (GH-127219) (#127263) 2024-11-25 17:51:21 +00:00
test_ioctl.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_ipaddress.py [3.12] gh-128840: Fix parsing long IPv6 addresses with embedded IPv4 address (GH-134836) (GH-134847) 2025-06-03 16:25:28 +02:00
test_isinstance.py [3.12] GH-112215: Backport C recursion changes (GH-115083) 2024-02-13 10:45:59 +01:00
test_iter.py [3.12] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123436) 2024-08-28 18:41:40 +01:00
test_iterlen.py
test_itertools.py [3.12] gh-93096: Load doctests in test_itertools (GH-131133) (#131137) 2025-03-12 08:00:17 +00:00
test_keyword.py gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
test_keywordonlyarg.py [3.12] Enable ruff on several more files in Lib/test (#110929) (#110934) 2023-10-16 15:48:02 +00:00
test_kqueue.py [3.12] gh-110395: invalidate open kqueues after fork (GH-110517) (#111745) 2023-11-11 09:21:52 -08:00
test_largefile.py [3.12] GH-120754: Add more tests around seek + readall (GH-122103) (#122216) 2024-07-24 06:34:05 +00:00
test_launcher.py gh-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021) 2025-03-10 20:12:40 +00:00
test_linecache.py [3.12] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) (GH-122349) 2024-07-27 10:48:14 +00:00
test_list.py [3.12] gh-120384: Fix array-out-of-bounds crash in list_ass_subscript (GH-120442) (#120825) 2024-06-21 11:08:22 +00:00
test_listcomps.py [3.12] gh-130809: Fix PyFrame_LocalsToFast copying the wrong value (#130816) 2025-03-10 20:27:07 -04:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py [3.12] GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110) (#124147) 2024-09-16 23:28:51 +00:00
test_logging.py [3.12] gh-124653: Relax (again) detection of queue API for logging handlers (GH-124897) (GH-125060) 2024-10-08 07:24:09 +01:00
test_long.py [3.12] GH-117195: Avoid assertion error in object.__sizeof__ (GH-117220) (#127605) 2024-12-11 12:21:07 +01:00
test_longexp.py
test_lzma.py [3.12] gh-131219: Improve tests in test_lzma.py by adding more asserts (GH-131220) (#131237) 2025-03-14 11:54:37 +00:00
test_mailbox.py [3.12] gh-117467: Add preserving of mailbox owner on flush (GH-117510) (GH-117537) 2024-04-04 10:55:42 +00:00
test_mailcap.py gh-103186: assert in tests that UnsafeMailcapInput warnings are provided (#103217) 2023-04-06 19:13:33 +01:00
test_marshal.py gh-99934: test_marshal.py: add more elements in test_deterministic_sets (GH-99935) 2022-12-03 10:53:20 -06:00
test_math.py [3.12] gh-125522: Fix bare except in test_math.testTan (GH-125544) (#125727) 2024-10-19 12:07:16 +00:00
test_math_property.py gh-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01:00
test_memoryio.py [3.12] gh-111049: Fix crash during garbage collection of the BytesIO buffer object (GH-111221) (GH-113096) 2023-12-14 10:28:57 +00:00
test_memoryview.py [3.12] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898) (GH-123937) 2024-09-11 09:32:39 +00:00
test_metaclass.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_mimetypes.py [3.12] gh-101137: Add text/x-rst to mimetypes (GH-118593) (GH-118599) 2025-04-08 12:40:41 +02:00
test_minidom.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_mmap.py gh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133) 2024-01-11 23:13:02 +00:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
test_monitoring.py [3.12] gh-116735: Use MISSING for CALL event if argument is absen… (#116873) 2024-03-19 17:00:54 +00:00
test_msilib.py gh-91217: deprecate msilib (GH-91515) 2022-04-14 12:50:11 -07:00
test_multibytecodec.py [3.12] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (#108798) 2023-09-03 01:22:33 +02:00
test_multiprocessing_main_handling.py Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
test_named_expressions.py [3.12] gh-100746: Improve test_named_expressions.py (GH-116713) (#116747) 2024-03-13 22:03:55 +03:00
test_netrc.py [3.12] gh-89392: Remove test_main() in test_netrc (GH-108860) (#108872) 2023-09-04 21:13:02 +02:00
test_nis.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_nntplib.py [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (#109682) 2023-10-10 22:38:18 +02:00
test_ntpath.py [3.12] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140847) 2025-10-31 17:50:42 +01:00
test_numeric_tower.py gh-101773: Optimize creation of Fractions in private methods (#101780) 2023-02-27 18:53:22 +00:00
test_opcache.py [3.12] GH-105840: Fix assertion failures when specializing calls with too many __defaults__ (GH-105863) 2023-06-16 18:29:55 +00:00
test_opcodes.py [3.12] gh-108303: Move ann_module*.py files to typinganndata/ folder (GH-108354) (#109672) 2023-10-02 17:10:33 +02:00
test_openpty.py
test_operator.py [3.12] gh-83845: Add tests for operator module (GH-115883) (#117253) 2024-03-26 09:37:41 +00:00
test_optparse.py [3.12] gh-126413: Add translation tests for getopt and optparse (GH-126698) (GH-126756) 2024-11-15 13:07:16 +02:00
test_ordered_dict.py [3.12] gh-119004: fix a crash in equality testing between OrderedDict (GH-121329) (#124508) 2024-09-27 11:33:44 -07:00
test_os.py [3.12] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930) (#126964) 2024-11-18 13:22:58 +00:00
test_ossaudiodev.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_osx_env.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_pathlib.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_patma.py [3.12] gh-123048: Fix missing source location in pattern matching code (GH-123167) (#123170) 2024-09-06 10:43:05 +00:00
test_pdb.py [3.12] gh-58956: Set f_trace on frames with breakpoints after setting a new breakpoint (GH-124454) (#125549) 2025-01-25 15:12:19 -05:00
test_peepholer.py [3.12] gh-112356: LOAD_GLOBAL can only include one PUSH_NULL (#112566) 2023-12-01 00:35:49 +00:00
test_pep646_syntax.py [3.12] gh-89392: Make test_pep646_syntax discoverable (GH-108861) (#108871) 2023-09-04 18:41:42 +02:00
test_perf_profiler.py [3.12] gh-131038: Use text=True in subprocesses in test_perf_profiler (#137117) (#138024) 2025-08-21 15:18:35 +01:00
test_perfmaps.py gh-103295: expose API for writing perf map files (#103546) 2023-05-21 11:12:24 +01:00
test_pickle.py [3.12] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131081) 2025-03-11 10:42:47 +00:00
test_picklebuffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_pickletools.py [3.12] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) (GH-127095) 2024-11-21 11:32:16 +00:00
test_pipes.py gh-91217: deprecate-pipes (GH-91779) 2022-04-21 19:28:34 -07:00
test_pkg.py
test_pkgutil.py [3.12] gh-123780: Make test_pkgutil clean up spam module (GH-123036) (GH-123782) 2024-09-09 13:18:42 +02:00
test_platform.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_plistlib.py [3.12] GH-112215: Backport C recursion changes (GH-115083) 2024-02-13 10:45:59 +01:00
test_poll.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_popen.py [3.12] gh-131234: Improve test_popen with more asserts (GH-131235) (#131241) 2025-03-14 11:54:56 +00:00
test_poplib.py [3.12] gh-130637: Add validation for numeric response data in stat() method (GH-130646) (#130764) 2025-03-02 15:05:46 -05:00
test_positional_only_arg.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_posix.py [3.12] gh-126303: Fix pickling and copying of os.sched_param objects (GH-126336) (GH-126424) 2024-11-05 06:52:51 +00:00
test_posixpath.py [3.12] gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') (GH-135037) (GH-135066) 2025-06-03 16:00:21 +02:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_print.py [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
test_profile.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_property.py [3.12] Fix typos (#123775) (#123867) 2024-09-09 13:22:13 +00:00
test_pstats.py bpo-38659: [Enum] add _simple_enum decorator (GH-25497) 2021-04-21 10:20:44 -07:00
test_pty.py [3.12] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) (GH-114655) 2024-01-27 19:29:48 +02:00
test_pulldom.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
test_pwd.py gh-95376: Add test for names containing null (#GH-5394) 2022-08-06 18:53:19 +02:00
test_py_compile.py [3.12] Fix test_py_compile with -O mode (GH-115345) (GH-115669) 2024-02-19 17:30:22 +00:00
test_pyclbr.py [3.12] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) (GH-129059) 2025-01-20 12:06:02 +00:00
test_pyexpat.py [3.12] gh-139400: Make sure that parent parsers outlive their subparsers in pyexpat (GH-139403) (GH-139609) 2025-10-07 13:56:31 +02:00
test_queue.py gh-90473: Skip test_queue when threading is not available (GH-93712) 2022-06-11 11:55:11 +02:00
test_quopri.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_raise.py bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) 2022-01-27 10:24:48 +00:00
test_random.py [3.12] gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291) (gh-130417) 2025-02-21 17:48:46 +00:00
test_range.py Revert "Add tests for empty range equality (#103751)" (#103770) 2023-04-24 14:29:57 -04:00
test_re.py [3.12] gh-101955: Fix SystemError in possesive quantifier with alternative and group (GH-111362) (GH-126963) 2024-11-18 12:03:19 +00:00
test_readline.py [3.12] gh-122431: Disallow negative values in readline.append_history_file (GH-122469) (#127642) 2024-12-05 18:15:30 +01:00
test_regrtest.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_repl.py [3.12] gh-124594: Create and reuse the same context for the entire asyncio REPL session (GH-124595) (#124849) 2024-10-28 15:25:00 +01:00
test_reprlib.py [3.12] gh-113570: reprlib.repr does not use builtin __repr__ for reshadowed builtins (GH-113577) (GH-125655) 2024-10-17 16:59:01 +00:00
test_resource.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_richcmp.py [3.12] gh-111806: Fix test_recursion in test_richcmp on WASI builds (GH-111830) (GH-111831) 2023-11-07 22:04:29 +00:00
test_rlcompleter.py [3.12] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113429) 2023-12-23 11:50:01 +00:00
test_robotparser.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_runpy.py [3.12] gh-99437: runpy: decode path-like objects before setting globals (#114838) 2024-08-12 11:22:13 +03:00
test_sax.py [3.12] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117244) 2024-03-26 02:08:23 +00:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (#31144) 2022-09-20 18:34:13 -07:00
test_scope.py [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
test_script_helper.py bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01:00
test_secrets.py
test_select.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_selectors.py [3.12] gh-110038: KqueueSelector must count all read/write events (GH-110039) (#110043) 2023-10-02 17:42:55 +02:00
test_set.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_setcomps.py [3.12] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123436) 2024-08-28 18:41:40 +01:00
test_shelve.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_shlex.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_shutil.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_signal.py [3.12] gh-130917: update timer and workload in test_signal (GH-130918) (#130968) 2025-03-08 18:21:46 +00:00
test_site.py [3.12] gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (GH-131280) (#131410) 2025-03-18 13:46:24 +01:00
test_slice.py GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py [3.12] gh-108303: Move smtpd to test.support (GH-114368) (#114427) 2024-01-22 14:08:31 +00:00
test_smtpnet.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_sndhdr.py gh-91217: deprecate-sndhdr (#91806) 2022-04-22 15:48:03 -07:00
test_socket.py [3.12] gh-139310: skip test_aead_aes_gcm for Linux kernel between 6.16.0 and 6.17.x (GH-139552) (GH-139764) 2025-10-09 11:06:33 +02:00
test_socketserver.py [3.12] gh-110393: Remove watchdog with hardcoded timeout (GH-110400) (#110445) 2023-10-05 22:17:20 +00:00
test_sort.py gh-95173: Add a regression test for sorting tuples containing None (#95464) 2022-08-01 18:02:09 +02:00
test_source_encoding.py [3.12] gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) (#109677) 2023-10-02 17:11:24 +02:00
test_spwd.py gh-91217: deprecate spwd (#91846) 2022-04-23 14:48:17 -07:00
test_ssl.py [3.12] gh-131736: only apply security_level workaround in test_ssl for security levels greater than 1 (GH-131739) (#131966) 2025-04-01 08:16:34 +00:00
test_stable_abi_ctypes.py [3.12] gh-102304: Fix Py_INCREF() stable ABI in debug mode (#104763) (#105352) 2023-06-06 16:22:04 +02:00
test_startfile.py bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
test_stat.py [3.12] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) (GH-113070) 2023-12-13 20:50:50 +00:00
test_statistics.py [3.12] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122013) 2024-07-19 09:08:33 +00:00
test_strftime.py gh-99482: remove jython compatibility parts from stdlib and tests (#99484) 2022-12-23 14:17:24 -06:00
test_string.py bpo-46307: Add string.Template.get_identifiers() method (GH-30493) 2022-01-11 11:15:42 -08:00
test_string_literals.py [3.12] gh-131649: fix test_string_literals SyntaxWarning (GH-131650) (GH-131766) (#131772) 2025-03-26 16:47:55 +00:00
test_stringprep.py
test_strptime.py [3.12] gh-53203: Fix test_strptime on Solaris (GH-125785) (GH-125807) 2024-10-21 19:37:34 +00:00
test_strtod.py
test_struct.py [3.12] gh-125118: don't copy arbitrary values to _Bool in the struct module (GH-125169) (#125265) 2024-10-10 14:56:49 +00:00
test_structseq.py [3.12] gh-122527: Fix a crash on deallocation of PyStructSequence (GH-122577) (#122626) 2024-09-06 15:46:56 +02:00
test_subclassinit.py [3.12] Enable ruff on several more files in Lib/test (#110929) (#110934) 2023-10-16 15:48:02 +00:00
test_subprocess.py [3.12] gh-116742: Fix subprocess test_check_output_timeout() (GH-130836) (#130874) 2025-03-05 13:00:41 +01:00
test_sunau.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195) 2024-06-12 14:06:24 +01:00
test_support.py [3.12] gh-111165: Move test running code from test.support to libregrtest (GH-111166) (GH-111316) 2023-10-25 14:56:27 +03:00
test_symtable.py [3.12] gh-119698: fix a special case in symtable.Class.get_methods (GH-121802) (#121910) 2024-07-17 22:32:29 +00:00
test_syntax.py [3.12] gh-130077: Properly match full soft keywords in the parser (GH-135317) (#135400) 2025-07-09 00:40:55 +01:00
test_sys.py [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
test_sys_setprofile.py [3.12] gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) (GH-122206) 2024-07-23 22:44:43 +00:00
test_sys_settrace.py [3.12] gh-93691: fix too broad source locations of for statement iterators (GH-120330 (#120405) 2024-06-13 11:38:36 +01:00
test_sysconfig.py [3.12] GH-92897: schedule the check_home deprecation to 3.15 (GH-129102) (#130585) 2025-02-27 18:17:08 +00:00
test_syslog.py gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) 2022-11-30 07:58:20 +09:00
test_tabnanny.py [3.12] gh-120495: Fix incorrect exception handling in Tab Nanny (GH-120498) (#120549) 2024-06-15 11:21:05 +00:00
test_tarfile.py [3.12] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027) (#137171) 2025-08-04 13:45:06 +02:00
test_tcl.py [3.12] gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) (GH-120939) 2024-06-24 09:39:56 +00:00
test_telnetlib.py gh-91217: deprecate telnetlib (GH-91958) 2022-04-26 10:45:08 -07:00
test_tempfile.py [3.12] gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372) (#130885) 2025-03-05 18:42:35 +01:00
test_termios.py [3.12] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (GH-124062) 2024-09-13 16:44:57 +00:00
test_textwrap.py bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) 2020-10-18 20:01:15 +03:00
test_thread.py gh-100228: Warn from os.fork() if other threads exist. (#100229) 2022-12-29 14:41:39 -08:00
test_threadedtempfile.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_threading.py [3.12] gh-109746: Fix race condition in test_start_new_thread_failed (GH-127299) (GH-127324) 2024-11-27 12:22:32 +00:00
test_threading_local.py [3.12] gh-127190: Fix local_setattro() error handling (GH-127366) (#127368) 2024-11-28 17:32:50 +00:00
test_threadsignals.py [3.12] gh-71052: Use raise_signal in ThreadSignals.test_signals (GH-116423) (#116618) 2024-03-11 21:09:42 +00:00
test_time.py [3.12] gh-125997: Increase test coverage for time.sleep() (GH-128751) (#128795) 2025-01-13 17:16:25 +00:00
test_timeit.py bpo-40670: More reliable validation of statements in timeit.Timer. (GH-22358) 2020-09-22 16:16:46 +03:00
test_timeout.py [3.12] gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) (#109103) 2023-09-08 15:24:55 +02:00
test_tix.py Fix typo "involvin" → "involving" (#104166) 2023-05-04 13:03:52 +00:00
test_tokenize.py [3.12] gh-125553: Fix backslash continuation in untokenize (GH-126010) (#130579) 2025-02-27 21:57:13 +00:00
test_trace.py [3.12] gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133) (gh-130358) 2025-02-20 15:37:43 +00:00
test_traceback.py [3.12] gh-130250: use support.swap_attr() in test and don't assume we're beginning with a clean system state (GH-130342) (#130345) 2025-02-20 11:45:42 +00:00
test_tracemalloc.py [3.12] gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191) (#129217) (#129221) 2025-01-23 13:29:46 +00:00
test_ttk_textonly.py bpo-45229: Make tkinter tests discoverable (GH-28637) 2021-10-13 18:12:48 +02:00
test_tty.py [3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410) 2024-01-21 23:41:03 +00:00
test_tuple.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_turtle.py [3.12] gh-107805: Fix signatures of module-level generated functions in turtle (GH-107807) (#108749) 2023-09-01 15:32:35 +02:00
test_type_aliases.py [3.12] gh-124498: Fix TypeAliasType not to be generic, when type_params=() (GH-124499) (#124604) 2024-09-26 14:46:29 +00:00
test_type_annotations.py [3.12] gh-105164: Detect annotations inside match blocks (GH-105177) (#105313) 2023-06-05 13:42:31 +00:00
test_type_cache.py [3.12] Check for valid tp_version_tag in specializer (gh-89811) (gh-114216) 2024-01-20 04:45:33 +08:00
test_type_comments.py gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
test_type_params.py [3.12] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) (#123891) 2024-09-10 06:27:50 -07:00
test_typechecks.py
test_types.py [3.12] gh-53203: Improve tests for strptime() (GH-125090) (GH-125093) 2024-10-08 09:47:37 +00:00
test_typing.py [3.12] Fix typo in template_replace() test helper docstring (GH-132094) (#132096) 2025-04-04 20:04:01 +02:00
test_ucn.py [3.12] gh-131807: fix ResourceWarning in test_ucn.py (GH-131808) (#131846) 2025-03-28 15:12:59 +00:00
test_unary.py gh-99688: Fix outdated tests in test_unary (#99712) 2022-12-11 18:44:29 -05:00
test_unicode.py [3.12] gh-82045: Correct and deduplicate "isprintable" docs; add test. (GH-130125) 2025-02-17 14:07:59 +01:00
test_unicode_file.py gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 15:57:26 +02:00
test_unicode_file_functions.py gh-95853: Add script to automate WASM build (GH-95828) 2022-08-13 21:56:08 +02:00
test_unicode_identifiers.py [3.12] gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) (#109677) 2023-10-02 17:11:24 +02:00
test_unicodedata.py [3.12] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (#108798) 2023-09-03 01:22:33 +02:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_unpack.py [3.12] Fix typos in docs and comments (#109619) (#109621) 2023-10-02 17:34:49 +00:00
test_unpack_ex.py [3.12] gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) (GH-119264) 2024-09-16 10:43:31 +02:00
test_unparse.py [3.12] gh-127975: Avoid reusing quote types in ast.unparse if not needed (GH-127980) (#129601) 2025-02-02 22:58:22 +00:00
test_urllib.py [3.12] gh-128734: Explicitly close sockets in urllib tests (GH-128735) (GH-128750) 2025-01-12 11:30:07 +00:00
test_urllib2.py [3.12] gh-128734: Explicitly close sockets in urllib tests (GH-128735) (GH-128750) 2025-01-12 11:30:07 +00:00
test_urllib2_localnet.py [3.12] gh-128734: Explicitly close sockets in urllib tests (GH-128735) (GH-128750) 2025-01-12 11:30:07 +00:00
test_urllib2net.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_urllib_response.py [3.12] gh-128734: Explicitly close sockets in urllib tests (GH-128735) (GH-128750) 2025-01-12 11:30:07 +00:00
test_urllibnet.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_urlparse.py [3.12] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) (GH-129527) 2025-02-02 08:30:28 +00:00
test_userdict.py
test_userlist.py
test_userstring.py bpo-44110: Improve string's __getitem__ error message (GH-26042) 2021-06-27 15:04:57 +03:00
test_utf8_mode.py [3.12] Add support.MS_WINDOWS constant (#110446) (#110452) 2023-10-06 01:26:14 +00:00
test_utf8source.py [3.12] gh-108303: Fix and move badsyntax_pep3120.py (GH-109513) (#130540) 2025-02-26 09:46:12 +02:00
test_uu.py gh-99889: Fix directory traversal security flaw in uu.decode() (#104096) 2023-05-09 16:01:58 +00:00
test_uuid.py [3.12] gh-125522: Fix bare except in test_uuid (GH-129018) (#129456) 2025-01-29 21:16:47 +00:00
test_venv.py [3.12] gh-71339: Add additional assertion methods in test.support (GH-128707) (GH-128815) (GH-129059) 2025-01-20 12:06:02 +00:00
test_wait3.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wait4.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wave.py gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509) 2022-09-23 16:08:21 +01:00
test_weakref.py [3.12] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (#108798) 2023-09-03 01:22:33 +02:00
test_weakset.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_webbrowser.py bpo-44844: Enable detection of Microsoft Edge browser in webbrowser module (GH-29908) 2023-04-04 17:00:03 +01:00
test_winapi.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-30 15:40:23 +01:00
test_winconsoleio.py [3.12] gh-124008: Fix calculation of the number of written bytes for the Windows console (GH-124059) (GH-127326) 2024-11-27 16:00:30 +02:00
test_winreg.py gh-103092: Isolate winreg (#103250) 2023-04-17 12:30:48 -06:00
test_winsound.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_with.py [3.12] Bump Ruff to 0.6.7 (#124384) (#124391) 2024-09-23 23:09:27 +00:00
test_wmi.py [3.12] gh-130727: Retry test_wmi on TimeoutError (GH-130832) (#130840) 2025-03-17 15:57:28 +00:00
test_wsgiref.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_xdrlib.py gh-91217: deprecate xdrlib (GH-92066) 2022-04-29 18:22:10 -07:00
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py [3.12] gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) (#128583) 2025-01-11 13:30:29 +02:00
test_xml_etree.py [3.12] gh-126033: fix UAF in xml.etree.ElementTree.Element.remove when concurrent mutations happen (GH-126124) (#131930) 2025-03-31 14:50:13 +02:00
test_xml_etree_c.py [3.12] bpo-45229: Make ElementTree tests discoverable (GH-108859) (#108873) 2023-09-05 12:51:37 +02:00
test_xmlrpc.py [3.12] gh-108834: Sync libregrtest with the main branch (#108966) 2023-09-08 15:14:17 +02:00
test_xmlrpc_net.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_xxlimited.py bpo-45459: Add Py_buffer to limited API (GH-29991) 2022-02-02 07:03:10 -08:00
test_xxtestfuzz.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py Add more tests for throwing into yield from (GH-94097) 2022-06-23 16:48:28 -07:00
test_zipapp.py [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) 2024-05-16 08:04:37 +00:00
test_zipfile64.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_zipimport.py [3.12] Improve zipimport tests (GH-121535) (GH-121570) (GH-121576) 2024-07-10 10:50:50 +00:00
test_zipimport_support.py [3.12] gh-108303: Move all doctest related files and tests to Lib/test/test_doctest/ (GH-112109) (#114254) 2024-01-18 16:25:04 +00:00
test_zlib.py [3.12] gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) (gh-126328) 2024-11-02 17:49:32 +09:00
testcodec.py
testtar.tar
testtar.tar.xz bpo-8978: improve tarfile.open error message when lzma / bz2 are missing (GH-24850) 2021-04-27 10:39:01 -07:00
tf_inherit_check.py
time_hashlib.py
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip
zipdir_backslash.zip [3.12] gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) (GH-117162) 2024-03-22 18:35:12 +00:00