cpython/Lib/test
Miss Islington (bot) afc40bdd3d
[3.11] gh-119451: Fix a potential denial of service in http.client (GH-119454) (#142141)
gh-119451: Fix a potential denial of service in http.client (GH-119454)

Reading the whole body of the HTTP response could cause OOM if
the Content-Length value is too large even if the server does not send
a large amount of data. Now the HTTP client reads large data by chunks,
therefore the amount of consumed memory is proportional to the amount
of sent data.
(cherry picked from commit 5a4c4a033a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-01-25 17:11:02 +00:00
..
audiodata
certdata [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
cjkencodings
configdata [3.11] gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) (gh-111883) 2023-11-09 15:43:28 +01:00
crashers bpo-42734: Fix crasher bogus_code_obj.py (GH-23939) 2020-12-25 17:03:37 +02:00
data
decimaltestdata Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
leakers
libregrtest [3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250) (#117251) 2024-03-26 08:18:10 +00:00
regrtestdata/import_from_tests [3.11] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112712) 2023-12-04 18:16:03 +02:00
sndhdrdata
subprocessdata
support [3.11] gh-143916: Reject control characters in wsgiref.headers.Headers 2026-01-20 22:51:58 +00:00
test_asyncio [3.11] gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (GH-32011) (GH-117210) 2024-03-25 10:34:25 +00:00
test_capi [3.11] gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) (GH-115295) 2024-02-11 12:03:48 +00:00
test_concurrent_futures [3.11] gh-116682: stdout may be empty in test_cancel_futures_wait_false (GH-116683) (#116693) 2024-03-13 00:29:03 +00:00
test_cppext [3.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464) 2023-10-06 10:19:49 +00:00
test_dataclasses [3.11] gh-105866: fix dataclass with slots=True, weakref_slot=True (GH-105870) (GH-116979) 2024-03-19 11:57:45 +01:00
test_doctest [3.11] gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440) (#115458) 2024-02-14 15:55:48 +00:00
test_email [3.11] gh-143935: Email preserve parens when folding comments (GH-143936) (#144037) 2026-01-25 17:10:38 +00:00
test_future_stmt [3.11] gh-108303: Move test_future into its own test_future_stmt subdir (#109368) (#109680) 2023-09-21 21:45:37 +02:00
test_gdb [3.11] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111004) 2023-10-17 18:43:46 +00:00
test_import [3.11] gh-108303: Move double_const to test_import where it belongs (GH-112108) (#112977) 2023-12-11 18:46:02 +00:00
test_importlib [3.11] gh-117178: Recover lazy loading of self-referential modules (GH-117179) (#117320) 2024-03-28 11:17:10 +00:00
test_inspect [3.11] gh-116785: Fix direct invocation of test_inspect (GH-116787) (#116795) 2024-03-14 10:25:48 +00:00
test_json gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-25 01:20:45 -07:00
test_module [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
test_multiprocessing_fork [3.11] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#109688) 2023-09-21 20:44:21 +00:00
test_multiprocessing_forkserver [3.11] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#109688) 2023-09-21 20:44:21 +00:00
test_multiprocessing_spawn [3.11] gh-108388: Split test_multiprocessing_spawn (GH-108396) (#109688) 2023-09-21 20:44:21 +00:00
test_peg_generator bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_pydoc [3.11] gh-107155: Fix help() for lambda function with return annotation (GH-115613) 2024-02-17 17:39:48 +02:00
test_sqlite3 [3.11] gh-108590: Revert gh-108657 (commit 400a1cebc) (#108686) (#108694) 2023-08-30 20:12:10 +00:00
test_tomllib [3.11] gh-108851: Fix tomllib recursion tests (#108853) (#109013) 2023-09-06 16:40:39 +00:00
test_tools [3.11] gh-115421: List all test/ subdirs in Makefile, and test them (GH-115813) 2024-03-11 12:02:05 +01:00
test_warnings [3.11] gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) (#106606) 2023-07-10 21:13:26 +00:00
test_zoneinfo [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
tokenizedata [3.11] gh-108303: Fix and move badsyntax_pep3120.py (GH-109513) (#109724) 2023-09-22 17:50:32 +02:00
tracedmodules
typinganndata [3.11] gh-108303: Move more typing related files to Lib/test/typinganndata (GH-111825) (#111860) 2023-11-08 17:19:47 +00:00
xmltestdata Add correct license for C14N test suite to license docs. (GH-13055) 2019-05-02 22:11:04 +02:00
ziptestdata [3.11] gh-111625: Fix link to Info-ZIP homepage (GH-111626) (#111640) 2023-11-02 11:36:35 +00:00
.ruff.toml [3.11] Bump ruff to 0.2.0 (#114932) (#115008) 2024-02-04 20:00:05 +00:00
__init__.py
__main__.py gh-110756: Sync regrtest with main branch (#110758) (#110781) 2023-10-12 21:45:36 +00: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.11] gh-109592: test_eintr tolerates 20 ms when comparing timings (GH-110102) (#110107) 2023-09-29 13:47:24 +00:00
_test_embed_set_config.py [3.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464) 2023-10-06 10:19:49 +00:00
_test_embed_structseq.py bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
_test_multiprocessing.py [3.11] gh-88118: Fix some test_multiprocessing flakiness. (GH-116434) (GH-116441) 2024-03-06 22:20:37 +00:00
_test_venv_multiprocessing.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-22 20:10:11 +01:00
archiver_tests.py [3.11] gh-114959: tarfile: do not ignore errors when extract a directory on top of a file (GH-114960) (GH-114964) 2024-02-03 16:41:31 +00: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-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 13:10:27 -08:00
autotest.py gh-110756: Sync regrtest with main branch (#110758) (#110781) 2023-10-12 21:45:36 +00:00
bisect_cmd.py [3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250) (#117251) 2024-03-26 08:18:10 +00:00
clinic.test.c [3.11] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) (#115069) 2024-02-06 11:21:00 +01:00
cmath_testcases.txt
curses_tests.py
datetimetester.py gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) 2022-08-04 06:15:11 -07: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 [3.11] Add test.support.busy_retry() (#93770) (#110341) 2023-10-04 12:58:49 +02:00
formatfloat_testcases.txt
ieee754.txt bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606) 2021-06-12 10:23:02 +01:00
imp_dummy.py
list_tests.py [3.11] gh-120384: gh-120298: Fix array-out-of-bounds & use after free list (GH-121345) 2025-10-31 15:19:07 +01:00
lock_tests.py [3.11] gh-109974: Fix threading lock_tests race conditions (#110057) (#110355) 2023-10-04 12:07:57 +00:00
mailcap.txt
mapping_tests.py bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157) 2019-06-06 03:13:08 -07:00
math_testcases.txt
memory_watchdog.py
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mock_socket.py Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951) 2021-12-07 12:31:04 +01: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.11] gh-113028: Correctly memoize str in pickle when escapes added (GH-113436) (GH-113449) 2023-12-24 10:01:53 +00:00
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py [3.11] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114128) 2024-01-16 16:43:50 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py bpo-36528: Remove duplicate re tests. (GH-2689) 2019-09-11 17:02:34 +01:00
recursion.tar bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02:00
regrtest.py gh-110756: Sync regrtest with main branch (#110758) (#110781) 2023-10-12 21:45:36 +00: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.11] gh-110033: Fix signal test_interprocess_signal() (GH-110035) (#110041) 2023-09-28 17:48:58 +00:00
Sine-1000Hz-300ms.aif
ssl_servers.py [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00: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.11] gh-110160: Fix flaky test_find_periodic_pattern in string_tests (… (#110183) 2023-10-01 22:43:57 +02:00
test___all__.py [3.11] gh-135374: Adjust test for setuptools' replacement of distutils (GH-138796) 2025-09-24 15:41:24 +02:00
test__locale.py [3.11] gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) (GH-92851) 2022-05-16 20:15:56 +02:00
test__opcode.py gh-90997: bpo-46841: Disassembly of quickened code (GH-32099) 2022-04-19 09:45:08 +01:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test__xxsubinterpreters.py [3.11] Add test.support.busy_retry() (#93770) (#110341) 2023-10-04 12:58:49 +02:00
test_abc.py [3.11] gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302). (GH-106545) 2023-07-08 08:22:33 +00:00
test_abstract_numbers.py [3.11] gh-77465: Increase test coverage for the numbers module (GH-111738) (GH-114557) 2024-01-25 14:49:46 +00:00
test_aifc.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_argparse.py [3.11] gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed (GH-96311) (GH-115768) 2024-02-21 18:20:08 +02:00
test_array.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
test_ast.py [3.11] gh-115881: Ensure ast.parse() parses conditional context managers even with low feature_version passed (#115920) (#115960) 2024-02-26 16:27:51 +00:00
test_asyncgen.py [3.11] GH-109067: fix randomly failing test_async_gen_asyncio_gc_aclose_09 test (GH-109142) (#109150) 2023-09-08 17:02:57 +00:00
test_asynchat.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_asyncore.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_atexit.py gh-90473: WASI: Mark tests that require os.pipe() (GH-92837) 2022-05-16 01:04:01 -07:00
test_audioop.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_audit.py gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) 2022-11-15 13:10:27 -08:00
test_augassign.py
test_base64.py [3.11] gh-74678: Increase base64 test coverage (GH-21913) (GH-113810) 2024-01-08 11:16:06 +00:00
test_baseexception.py [3.11] chore: fix typos (GH-116345) (#116375) 2024-03-05 20:33:59 +00:00
test_bdb.py [3.11] gh-101517: fix line number propagation in code generated for except* (#103550) (#103816) 2023-04-25 18:08:54 +01: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 07:54:18 -07:00
test_binascii.py [3.11] gh-67565: Add tests for C-contiguity checks (GH-110951) (GH-111199) 2023-10-23 12:49:44 +03:00
test_binop.py
test_bisect.py gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) 2022-05-28 11:31:06 -07:00
test_bool.py gh-102252: Improve coverage of test_bool.py (GH-102253) 2023-02-25 13:15:45 -08:00
test_buffer.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_bufio.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_builtin.py [3.11] gh-114552: Update __dir__ method docs: it allows returning an iterable (GH-114662) (#115235) 2024-02-10 08:54:43 +00:00
test_bytes.py [3.11] gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) (GH-112556) 2023-12-01 10:17:20 +02:00
test_bz2.py [3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116039) 2024-02-28 09:38:39 +00:00
test_c_locale_coercion.py [3.11] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378) (#113399) 2023-12-23 21:58:18 +01:00
test_calendar.py gh-101377: improving test_locale_calendar_formatweekday of calendar (GH-101378) 2023-03-14 20:00:28 -07:00
test_call.py gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) 2022-12-04 04:50:46 -08: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_check_c_globals.py gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) (GH-95843) 2022-08-10 12:57:32 +02:00
test_class.py bpo-43857: Improve the AttributeError message when deleting a missing attribute (#25424) 2022-05-05 06:37:26 -07:00
test_clinic.py [3.11] [3.12] gh-117347: Fix test_clinic side effects (GH-117363) (GH-117365) (#117366) 2024-03-29 11:21:56 +00:00
test_cmath.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_cmd.py [3.11] gh-111426: Remove test_cmd.test_coverage (GH-111427) (#111433) 2023-10-28 23:23:38 +00:00
test_cmd_line.py [3.11] gh-116858: Add @cpython_only to several tests in test_cmd_line (GH-116859) (#116890) 2024-03-16 09:29:11 +00:00
test_cmd_line_script.py [3.11] gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) (#106606) 2023-07-10 21:13:26 +00:00
test_code.py [3.11] GH-97779: Ensure that *all* frame objects are backed by "complete" frames (GH-97886) 2022-10-04 22:46:34 -07:00
test_code_module.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_codeccallbacks.py [3.11] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (GH-134341) 2025-06-02 17:52:52 +02:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py [3.11] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 co… (gh-111771) 2023-11-06 11:29:59 +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 Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_codecmaps_tw.py
test_codecs.py [3.11] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (GH-134341) 2025-06-02 17:52:52 +02:00
test_codeop.py [3.11] gh-111366: Correctly show custom syntax error messages in the codeop module functions (GH-111384). (#111516) 2023-10-31 14:41:20 +00:00
test_collections.py [3.11] gh-98513: Test abstract methods of some collections types (GH-98516) (#99226) 2022-11-07 18:45:08 -08:00
test_colorsys.py [3.11] gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627) (#106633) 2023-07-11 15:48:00 +00:00
test_compare.py [3.11] gh-56276: Add tests to test_compare (GH-3199) (#104694) 2023-05-20 16:31:42 +00:00
test_compile.py [3.11] Fix test_compile with -O mode (GH-115346) (GH-115673) 2024-02-19 18:06:13 +00:00
test_compileall.py [3.11] gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (GH-109298) (#109302) 2023-09-12 01:53:59 +00:00
test_complex.py gh-99320: remove tests for old-style class from test_complex (GH-99321) 2022-11-10 03:22:00 -08:00
test_configparser.py [3.11] gh-116957: configparser: Do post-process values after DuplicateOptionError (GH-116958) (GH-117012) 2024-03-19 18:19:04 +01:00
test_contains.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_context.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_contextlib.py [3.11] Synchronize test_contextlib with test_contextlib_async (GH-111000) (GH-111115) 2023-10-20 14:33:22 +00:00
test_contextlib_async.py [3.11] gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (GH-110500) (#110611) 2023-10-10 13:12:40 +02:00
test_copy.py [3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298) 2024-02-11 14:29:23 +00:00
test_copyreg.py
test_coroutines.py [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
test_cprofile.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02: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.11] gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741) (GH-115867) 2024-02-23 20:43:53 +00:00
test_ctypes.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_curses.py [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
test_datetime.py Revert "Revert "bpo-45229: Make datetime tests discoverable (GH-28615)" (GH-28650)" (GH-28667) 2021-10-01 10:57:58 +03: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) (GH-93550) 2022-06-06 20:09:51 +02:00
test_dbm_gnu.py bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_dbm_ndbm.py bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_decimal.py [3.11] gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326) (#117331) 2024-03-28 17:53:43 +00:00
test_decorators.py bpo-46764: Fix wrapping bound method with @classmethod (#31367) 2022-05-04 23:00:21 -05:00
test_defaultdict.py bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) 2020-06-21 11:11:17 +03:00
test_deque.py [3.11] gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) (GH-115466) 2024-02-14 17:21:12 +00:00
test_descr.py [3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298) 2024-02-11 14:29:23 +00:00
test_descrtut.py [3.11] gh-115450: Fix direct invocation of test_desctut (GH-115451) (#115454) 2024-02-14 14:04:23 +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 bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dictcomps.py bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_dictviews.py gh-98512: Add more tests for ValuesView (GH-98515) 2022-11-02 19:35:39 -07: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
test_dis.py gh-92886: make test_ast pass with -O (assertions off) (GH-98058) 2022-10-07 22:02:38 -07:00
test_distutils.py [3.11] gh-111309: Use unittest to collect and run distutils tests (GH-111311) 2023-10-25 14:57:17 +03: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.11] gh-104280: Add test cases for DTrace probes (GH-107125) (#107492) 2023-07-31 11:40:20 +02:00
test_dynamic.py [3.11] GH-96636: Remove all uses of NOTRACE_DISPATCH (GH-96643) (#96688) 2022-09-09 09:24:44 -07:00
test_dynamicclassattribute.py
test_eintr.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00:00
test_embed.py [3.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464) 2023-10-06 10:19:49 +00:00
test_ensurepip.py bpo-42856: Add --with-wheel-pkg-dir=PATH configure option (GH-24210) 2021-01-20 17:07:21 +01:00
test_enum.py [3.11] gh-116600: [Enum] fix global Flag repr (GH-116615) (#116630) 2024-03-11 17:36:15 -07:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
test_eof.py bpo-44396: Update multi-line-start location when reallocating tokenizer buffers (GH-26676) 2021-06-12 10:53:49 -07:00
test_epoll.py bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) 2020-12-16 11:16:25 +01:00
test_errno.py
test_except_star.py [3.11] gh-103590: do not wrap a single exception raised from a try-except* (#104094) 2023-05-02 19:24:02 +01:00
test_exception_group.py gh-99553: add tests for ExceptionGroup wrapping (GH-99615) 2023-04-11 00:07:25 -07:00
test_exception_hierarchy.py [3.11] gh-96005: Handle WASI ENOTCAPABLE in getpath (GH-96006) (GH-96034) (GH-96038) 2022-09-13 13:00:45 +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.11] gh-115823: Calculate correctly error locations when dealing with implicit encodings (GH-115824) (#115950) 2024-02-26 16:08:37 +00:00
test_extcall.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_faulthandler.py gh-110756: Sync regrtest with main branch (#110758) (#110781) 2023-10-12 21:45:36 +00:00
test_fcntl.py [3.11] gh-95672 fix typo SkitTest to SkipTest (gh-102119) (#102121) 2023-02-22 10:34:51 +09:00
test_file.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03: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 bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_fileinput.py [3.11] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102098) 2023-02-21 12:39:16 +09:00
test_fileio.py [3.11] Make use of TESTFN_ASCII in test_fileio (GH-101645) (#101650) 2023-02-08 11:05:36 +01: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.11] gh-109546: Add more tests for formatting floats (GH-109548) (#109685) 2023-09-21 21:45:18 +02:00
test_flufl.py Fix mistake in barry_as_FLUFL test (GH-31392) 2022-02-17 20:45:35 -05:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 02:39:11 -07: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.11] gh-104018: disallow "z" format specifier in %-format of byte strings (GH-104033) (#104058) 2023-05-01 20:18:29 +00:00
test_fractions.py [3.11] gh-114014: Update fractions.Fraction()'s rational parsing regex (GH-114015) (#114025) 2024-01-13 13:22:31 -05:00
test_frame.py [3.11] Fix typos in docs and comments (#109619) (#109622) 2023-09-20 17:50:48 +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 gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) 2022-07-16 12:16:51 -07:00
test_ftplib.py [3.11] gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) (GH-115602) 2024-02-17 14:54:31 +02:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py [3.11] gh-115264: Fix test_functools with -00 mode (GH-115276) (#116706) 2024-03-13 07:05:41 +00:00
test_gc.py [3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298) 2024-02-11 14:29:23 +00:00
test_generator_stop.py
test_generators.py [3.11] Re-enable commented-out test in test_generators.py (GH-104130) (#104261) 2023-05-07 05:11:00 +00:00
test_genericalias.py [3.11] gh-103880: Fix assertRaises usage in test_genericalias (GH-103916) (#103917) 2023-04-27 16:03:29 +05:30
test_genericclass.py [3.11] Enable ruff on several more files in Lib/test (#110929) (#110935) 2023-10-16 23:17:59 +03:00
test_genericpath.py [3.11] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140848) 2025-10-31 18:15:08 +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.11] gh-89392: Use unittest test runner for doctests in test_getopt (GH-108916) (GH-108920) 2023-09-05 15:08:14 +00: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 gh-100320: Fix path calculations on Windows when python.exe is moved outside of the normal location (GH-100947) 2023-01-16 17:00:34 +00:00
test_gettext.py [3.11] gh-110519: Improve deprecation warning in the gettext module (GH-110520) (GH-110564) 2023-10-09 16:10:34 +02:00
test_glob.py [3.11] gh-117127: glob tests: Reopen dir_fd to pick up directory changes (GH-117128) (GH-117149) 2024-03-22 10:21:53 +00:00
test_global.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_grammar.py [3.11] gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) (#109673) 2023-09-21 18:18:39 +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) (GH-95744) 2022-08-06 19:30:46 +02:00
test_gzip.py [3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116039) 2024-02-28 09:38:39 +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 bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_heapq.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 18:01:06 +09:00
test_hmac.py [3.11] bpo-14322: added test case for invalid update to hmac (GH-26636) (#115905) 2024-02-25 10:52:55 +00:00
test_html.py
test_htmlparser.py [3.11] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842) (GH-140852) 2025-10-31 18:14:55 +01:00
test_http_cookiejar.py [3.11] gh-99576: Fix cookiejar file that was not truncated for some classes (GH-99616) (GH-100377) 2022-12-20 18:22:39 +01:00
test_http_cookies.py [3.11] gh-143919: Reject control characters in http cookies (#144092) 2026-01-25 17:10:18 +00:00
test_httplib.py [3.11] gh-119451: Fix a potential denial of service in http.client (GH-119454) (#142141) 2026-01-25 17:11:02 +00:00
test_httpservers.py [3.11] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216) (#142298) 2026-01-25 17:10:45 +00:00
test_idle.py [3.11] GH-71383: IDLE - Document testing subsets of modules (GH-104463) (#104464) 2023-05-14 04:18:30 +00:00
test_imaplib.py [3.11] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (#129357) 2025-02-19 14:16:30 +01:00
test_imghdr.py gh-91217: deprecate imghdr (#91461) 2022-04-13 10:47:41 -07:00
test_imp.py [3.11] gh-116831: Fixes tests for c extension in WASI for Python 3.11 (GH-116831) (#116933) 2024-03-18 07:03:01 +01:00
test_index.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_int.py [3.11] Improve int test coverage (GH-104024) (#104026) 2023-05-01 00:50:01 +00:00
test_int_literal.py
test_interpreters.py [3.11] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470) (GH-113473) 2023-12-25 18:46:44 +00:00
test_io.py [3.11] gh-87846: test_io: Ignore OpenWrapper in test___all__ (#126478) 2024-11-06 13:39:30 +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.11] gh-128840: Fix parsing long IPv6 addresses with embedded IPv4 address (GH-134836) (GH-135091) 2025-06-03 16:24:20 +02:00
test_isinstance.py [3.11] Trim trailing whitespace and test on CI (GH-104275) (#108215) 2023-08-22 12:57:31 +03:00
test_iter.py [3.11] gh-112087: Fix reduce logic for the empty reverse iterator for list (gh-115472) 2024-02-14 18:43:39 +00:00
test_iterlen.py
test_itertools.py [3.11] gh-109786: Fix leaks and crash when re-enter itertools.pairwise.__next__() (GH-109788) (GH-112700) 2023-12-04 12:20:19 +00:00
test_keyword.py gh-102158: Add tests for softkwlist (GH-102159) 2023-02-23 18:54:47 -08:00
test_keywordonlyarg.py [3.11] Enable ruff on several more files in Lib/test (#110929) (#110935) 2023-10-16 23:17:59 +03:00
test_kqueue.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_largefile.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_launcher.py gh-101467: Correct py.exe handling of prefix matches and cases when only one runtime is installed (GH-101468) 2023-02-01 13:31:21 -08:00
test_lib2to3.py bpo-40360: Deprecate the lib2to3 package (GH-28116) 2021-09-02 11:46:47 +02:00
test_linecache.py [3.11] gh-86291: linecache: get module name from __spec__ if available (GH-22908) (GH-115732) 2024-02-20 18:18:16 +00:00
test_list.py [3.11] gh-120384: gh-120298: Fix array-out-of-bounds & use after free list (GH-121345) 2025-10-31 15:19:07 +01:00
test_listcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_lltrace.py gh-78607: Replace __ltrace__ with __lltrace__ (GH-91619) 2022-04-16 18:57:00 -04:00
test_locale.py [3.11] gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) (GH-92851) 2022-05-16 20:15:56 +02:00
test_logging.py [3.11] gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler (GH-116220) (GH-116893) 2024-03-18 19:47:53 +02:00
test_long.py [3.11] gh-101266: Revert fix __sizeof__ for subclasses of int (#101638) 2023-02-07 11:44:43 +00:00
test_longexp.py
test_lzma.py [3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116039) 2024-02-28 09:38:39 +00:00
test_mailbox.py [3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) (GH-115099) 2024-02-06 19:16:54 +00:00
test_mailcap.py [3.11] gh-103186: assert in tests that UnsafeMailcapInput warnings are provided (GH-103217) (GH-108800) 2023-09-02 05:53:48 +00:00
test_marshal.py gh-99934: test_marshal.py: add more elements in test_deterministic_sets (GH-99935) 2022-12-03 09:18:23 -08:00
test_math.py [3.11] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030) (GH-112041) 2023-11-16 13:07:53 +01:00
test_memoryio.py [3.11] gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO (GH-111210) (GH-111315) 2023-10-25 11:18:30 +00:00
test_memoryview.py gh-92888: Fix memoryview bad __index__ use after free (GH-92946) 2022-06-18 07:40:39 -07: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.11] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117257) 2024-03-26 11:46:28 +00:00
test_minidom.py [3.11] gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) (#142212) 2026-01-25 17:10:53 +00:00
test_mmap.py gh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133) 2024-01-11 23:04:36 +00:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 00:02:39 -07:00
test_msilib.py gh-91217: deprecate msilib (GH-91515) 2022-04-14 12:50:11 -07:00
test_multibytecodec.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_multiprocessing_main_handling.py [3.11] Add test.support.busy_retry() (#93770) (#110341) 2023-10-04 12:58:49 +02:00
test_named_expressions.py [3.11] gh-96497: Mangle name before symtable lookup in 'symtable_extend_namedexpr_scope' (GH-96561) (GH-115604) 2024-02-17 13:13:26 +00:00
test_netrc.py [3.11] gh-89392: Remove test_main() in test_netrc (GH-108860) (GH-108868) 2023-09-04 10:20:24 +00:00
test_nis.py gh-91217: deprecate nis (GH-91606) 2022-04-16 13:17:30 -07:00
test_nntplib.py [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
test_ntpath.py [3.11] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140848) 2025-10-31 18:15:08 +01:00
test_numeric_tower.py [3.11] gh-68163: Correct conversion of Rational instances to float (GH-25619) (#96556) 2022-09-08 12:03:53 +01:00
test_opcache.py [3.11] GH-105840: Fix assertion failures when specializing calls with too many __defaults__ (GH-105864) 2023-06-16 18:30:22 +00:00
test_opcodes.py [3.11] gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) (#109673) 2023-09-21 18:18:39 +00:00
test_openpty.py
test_operator.py [3.11] gh-83845: Add tests for operator module (GH-115883) (#117254) 2024-03-26 09:50:40 +00:00
test_optparse.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_ordered_dict.py [3.11] gh-105736: Sync pure python version of OrderedDict with the C version (GH-108098) (GH-108201) 2023-08-21 10:37:09 +00:00
test_os.py [3.11] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118739) 2024-05-24 02:13:18 +02: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.11] gh-104242: Enable test_is_char_device_true in pathlib test on all platform (GH-116983) (GH-117277) (GH-117280) 2024-03-27 08:57:08 +00:00
test_patma.py [3.11] GH-103971: Fix incorrect locations for code following case blocks 2023-04-28 20:08:25 +00:00
test_pdb.py [3.11] gh-90095: Ignore empty lines and comments in .pdbrc (GH-116834) (#116855) 2024-03-15 09:55:44 +00:00
test_peepholer.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_pep646_syntax.py [3.11] gh-89392: Fix running test_pep646_syntax as script (GH-108875) (GH-108877) 2023-09-05 06:41:15 +00:00
test_pickle.py GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) 2022-07-14 09:47:17 -07: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 bpo-45229: Make pickle tests discoverable (GH-28467) 2021-09-20 18:21:33 +03:00
test_pipes.py gh-91217: deprecate-pipes (GH-91779) 2022-04-21 19:28:34 -07:00
test_pkg.py bpo-34200: Fix non-determinism of test_pkg (GH-9248) 2018-09-12 17:58:40 -07:00
test_pkgutil.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_platform.py [3.11] gh-116491: Improve test_win32_ver (GH-116506) (#116709) 2024-03-13 07:37:01 +00:00
test_plistlib.py [3.11] gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026) (GH-114407) 2024-01-22 15:31:21 +00:00
test_poll.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00:00
test_popen.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_poplib.py [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
test_positional_only_arg.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
test_posix.py [3.11] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126) (#117138) 2024-03-21 22:37:16 +00:00
test_posixpath.py [3.11] gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') (GH-135037) (GH-135068) 2025-06-03 16:58:39 +02:00
test_pow.py GH-102341: Improve the test function for pow (GH-102342) 2023-03-05 09:55:18 -08:00
test_pprint.py bpo-41546: make pprint (like print) not write to stdout when it is None (GH-26810) 2021-07-19 10:19:02 +01:00
test_print.py bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) 2021-07-27 21:30:32 +01:00
test_profile.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_property.py [3.11] gh-115618: Remove improper Py_XDECREFs in property methods (GH-115619) (GH-115621) 2024-02-17 21:47:32 +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.11] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) (GH-114656) 2024-01-27 19:30:11 +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-GH-5394) (#GH-5746) 2022-08-06 19:31:58 +02:00
test_py_compile.py [3.11] Fix test_py_compile with -O mode (GH-115345) (GH-115670) 2024-02-19 17:45:56 +00:00
test_pyclbr.py [3.11] gh-95913: make the new internal classes pdb.ModuleTarget/ScriptTarget private (GH-96053) (#96063) 2022-08-18 14:39:16 +01:00
test_pyexpat.py [3.11] gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375) (GH-139234) (#139529) 2025-11-25 15:25:17 +00:00
test_queue.py gh-90473: Skip test_queue when threading is not available (GH-93712) 2022-06-11 03:20:28 -07: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 GH-100805: Support numpy.array() in random.choice(). (GH-100830) 2023-01-08 12:04:49 -08:00
test_range.py [3.11] Revert "Add tests for empty range equality (GH-103751)" (GH-103770) (#103781) 2023-04-24 18:54:21 +00:00
test_re.py [3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110860) 2023-10-14 06:51:24 +00:00
test_readline.py [3.11] gh-112105: Make completer delims work on libedit (gh-112106) (gh-112488) 2023-11-28 06:39:47 +00:00
test_regrtest.py [3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250) (#117251) 2024-03-26 08:18:10 +00:00
test_repl.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_reprlib.py bpo-39549: reprlib.Repr uses a “fillvalue” attribute (GH-18343) 2021-09-22 15:45:58 -05: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.11] gh-111806: Fix test_recursion in test_richcmp on WASI builds (GH-111830) (GH-111832) 2023-11-07 22:04:18 +00:00
test_rlcompleter.py [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
test_robotparser.py [3.11] gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) (GH-92851) 2022-05-16 20:15:56 +02:00
test_runpy.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_sax.py [3.11] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117245) 2024-03-26 02:08:28 +00:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (GH-31144) 2022-09-20 19:03:13 -07:00
test_scope.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03: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 bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_selectors.py [3.11] gh-110038: KqueueSelector must count all read/write events (GH-110039) (#110044) 2023-09-28 20:58:24 +02:00
test_set.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_setcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_shelve.py bpo-45502: Fix test_shelve (GH-29003) 2021-10-22 16:14:58 +02:00
test_shlex.py bpo-33262: Deprecate passing None for s to shlex.split() (GH-6514) 2020-04-01 09:58:55 -04:00
test_shutil.py [3.11] gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) (GH-116717) 2024-03-13 10:03:17 +00:00
test_signal.py [3.11] gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py (GH-113040) (#113444) 2023-12-23 18:09:46 -08:00
test_site.py [3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144) 2024-01-16 18:56:31 +00:00
test_slice.py [3.11] gh-100931: Test all pickle protocols in test_slice (GH-100932). (GH-100979) 2023-01-12 03:24:09 -08:00
test_smtpd.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 08:21:45 -07:00
test_smtplib.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_smtpnet.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00:00
test_sndhdr.py gh-91217: deprecate-sndhdr (#91806) 2022-04-22 15:48:03 -07:00
test_socket.py [3.11] gh-139310: skip test_aead_aes_gcm for Linux kernel between 6.16.0 and 6.17.x (GH-139552) (GH-139762) 2025-10-09 11:06:51 +02:00
test_socketserver.py [3.11] gh-110393: Remove watchdog with hardcoded timeout (GH-110400) (#110444) 2023-10-05 22:05:20 +00:00
test_sort.py gh-95173: Add a regression test for sorting tuples containing None (GH-95464) 2022-08-01 09:29:57 -07:00
test_source_encoding.py [3.11] gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) (#109678) 2023-09-21 21:46:05 +02:00
test_spwd.py gh-91217: deprecate spwd (#91846) 2022-04-23 14:48:17 -07:00
test_ssl.py [3.11] gh-126500: test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler; rely on __exit__ (GH-126503) (GH-126572) (GH-133148) 2025-05-14 20:31:04 +02:00
test_stable_abi_ctypes.py gh-91324: Convert the stable ABI manifest to TOML (GH-92026) 2022-04-29 16:18:08 +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.11] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) (GH-113069) 2023-12-13 20:48:43 +00:00
test_statistics.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_strftime.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07: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.11] gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (GH-111381) (#111383) 2023-10-31 13:29:42 +00:00
test_stringprep.py
test_strptime.py [3.11] bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408) (GH-113499) 2023-12-26 20:09:41 +00:00
test_strtod.py
test_struct.py GH-94254: Make _struct module types immutable (GH-94269) 2022-06-26 03:42:41 -07:00
test_structseq.py [3.11] gh-110267: Add tests for pickling and copying PyStructSequence objects (GH-110272) (GH-110284) 2023-10-04 12:01:19 +03:00
test_subclassinit.py [3.11] Enable ruff on several more files in Lib/test (#110929) (#110935) 2023-10-16 23:17:59 +03:00
test_subprocess.py [3.11] gh-90872: Fix subprocess.Popen.wait() for negative timeout (#116989) (#117003) 2024-03-19 14:21:42 +00:00
test_sunau.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_sundry.py [3.11] gh-135374: Adjust test for setuptools' replacement of distutils (GH-138796) 2025-09-24 15:41:24 +02:00
test_super.py bpo-46921: Vectorcall support for super() (GH-31687) 2022-03-06 14:21:28 +08:00
test_support.py [3.11] [3.12] gh-111165: Move test running code from test.support to libregrtest (GH-111166) (GH-111316) (GH-111318) 2023-10-25 12:37:19 +00:00
test_symtable.py [3.11] gh-109207: Fix SystemError when printing symtable entry object. (GH-109225) (GH-109228) 2023-09-10 16:50:22 +03:00
test_syntax.py [3.11] gh-109120: Fix syntax error in handlinh of incorrect star expressions… (#117464) 2024-04-03 11:37:39 +01:00
test_sys.py [3.11] gh-106883: Make test_current_frames_exceptions_deadlock faster (#131182) 2025-03-14 01:59:59 +00:00
test_sys_setprofile.py [3.11] gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace (GH-94511) (GH-94578) 2022-07-05 21:02:43 +02:00
test_sys_settrace.py [3.11] GH-94438: Restore ability to jump over None tests (GH-111338) 2023-10-25 20:47:16 +00:00
test_sysconfig.py [3.11] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) (GH-115101) 2024-02-07 11:36:27 +02:00
test_syslog.py [3.11] Add more syslog tests (GH-97953). (GH-98096) 2022-10-08 22:22:26 +03:00
test_tabnanny.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_tarfile.py [3.11] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027) (#137172) 2025-08-19 19:00:46 +01:00
test_tcl.py [3.11] gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) (GH-107719) 2023-08-07 14:48:43 +00:00
test_telnetlib.py gh-91217: deprecate telnetlib (GH-91958) 2022-04-26 10:45:08 -07:00
test_tempfile.py [3.11] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118739) 2024-05-24 02:13:18 +02:00
test_termios.py [3.11] gh-81002: Add tests for termios (GH-110386) (GH-110620) 2023-10-10 14:11:06 +02: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 bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02: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.11] gh-102512: Turn _DummyThread into _MainThread after os.fork() called from a foreign thread (GH-113261) (GH-114431) 2024-01-22 15:00:33 +00:00
test_threading_local.py [3.11] GH-100892: Fix race in clearing threading.local (GH-100922). (#100937) 2023-01-11 21:01:48 +05:30
test_threadsignals.py [3.11] gh-71052: Use raise_signal in ThreadSignals.test_signals (GH-116423) (#116617) 2024-03-11 21:01:13 +00:00
test_time.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 08:21:45 -07: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.11] gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) (#109102) 2023-09-07 18:55:50 +00:00
test_tix.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_tk.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_tokenize.py [3.11] gh-108303: Move all inspect test files to test_inspect/ (GH-109607) (#111543) 2023-10-31 14:00:39 +00:00
test_trace.py [3.11] gh-68403: Fix test_coverage in test_trace (GH-108910) (GH-109105) 2023-09-07 19:10:19 +00:00
test_traceback.py [3.11] gh-116034: fix location info on the error of a failed assertion (#116052) 2024-02-28 19:12:16 +00:00
test_tracemalloc.py [3.11] GH-96612: Skip incomplete frames in tracemalloc traces. (GH-96613) (#96617) 2022-09-06 18:42:41 +01:00
test_ttk_guionly.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +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.11] gh-110388: Add tests for tty (GH-110394) (GH-110634) 2023-10-10 16:27:22 +02: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 bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 14:57:55 +01:00
test_type_annotations.py [3.11] gh-105164: Detect annotations inside match blocks (GH-105177). (#105314) 2023-06-05 13:46:12 +00:00
test_type_cache.py [3.11] gh-89811: Check for valid tp_version_tag in specializer (GH-115045) 2024-02-06 21:58:30 +08:00
test_type_comments.py gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997) 2022-08-12 10:53:09 -07:00
test_typechecks.py
test_types.py [3.11] gh-112281: Allow Union with unhashable Annotated metadata (GH-112283) (#116288) 2024-03-03 20:20:01 +00:00
test_typing.py [3.11] gh-117110: Fix subclasses of typing.Any with custom constructors (GH-117111) (#117358) 2024-03-29 00:38:13 +00:00
test_ucn.py bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (GH-22575) 2020-10-06 16:21:56 +02:00
test_unary.py
test_unicode.py [3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298) 2024-02-11 14:29:23 +00:00
test_unicode_file.py gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 07:24:32 -07:00
test_unicode_file_functions.py [3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, GH-96045, GH-96389, GH-96744) (GH-96749) 2022-09-13 12:06:39 +02:00
test_unicode_identifiers.py [3.11] gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) (#109678) 2023-09-21 21:46:05 +02:00
test_unicodedata.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_unittest.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_univnewlines.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_unpack.py [3.11] Fix typos in docs and comments (#109619) (#109622) 2023-09-20 17:50:48 +00:00
test_unpack_ex.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_unparse.py [3.11] gh-108843: fix ast.unparse for f-string with many quotes (#108980) 2023-09-18 15:11:56 +01:00
test_urllib.py [3.11] gh-143925: Reject control characters in data: URL mediatypes (#144114) 2026-01-25 17:05:19 +00:00
test_urllib2.py [3.11] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117257) 2024-03-26 11:46:28 +00:00
test_urllib2_localnet.py [3.11] [3.12] gh-108303: Move all certificates to Lib/test/certdata/ (GH-109489) (GH-109682) (#110646) 2023-10-10 21:02:21 +00:00
test_urllib2net.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00:00
test_urllib_response.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 08:21:45 -07:00
test_urllibnet.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00:00
test_urlparse.py [3.11] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) (#129528) 2025-02-19 14:13:52 +01:00
test_userdict.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 2019-06-05 18:22:31 +03:00
test_userlist.py bpo-27639: Correct return type for UserList slicing operation (#13169) 2019-05-07 17:41:06 -04:00
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.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464) 2023-10-06 10:19:49 +00:00
test_utf8source.py [3.11] gh-108303: Fix and move badsyntax_pep3120.py (GH-109513) (#109724) 2023-09-22 17:50:32 +02:00
test_uu.py [3.11] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104329) 2023-05-09 09:46:25 -07:00
test_uuid.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_venv.py [3.11] gh-124651: Quote template strings in venv activation scripts (GH-124712) (GH-126185) (#126269) 2024-11-01 13:11:47 +00:00
test_wait3.py [3.11] Add test.support.busy_retry() (#93770) (#110341) 2023-10-04 12:58:49 +02:00
test_wait4.py [3.11] Add test.support.busy_retry() (#93770) (#110341) 2023-10-04 12:58:49 +02:00
test_wave.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_weakref.py [3.11] gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) (GH-108799) 2023-09-03 09:34:30 +03:00
test_weakset.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_webbrowser.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_winconsoleio.py gh-114561: Mark some tests in test_wincosoleio with requires_resource('console') decorator (GH-114565) 2024-01-25 20:14:18 +00:00
test_winreg.py bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error (GH-25775) 2022-12-09 05:12:43 -08:00
test_winsound.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_with.py bpo-12022: Change error type for bad objects in "with" and "async with" (GH-26809) 2021-06-29 11:27:04 +03:00
test_wsgiref.py [3.11] gh-143916: Reject control characters in wsgiref.headers.Headers 2026-01-20 22:51:58 +00: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_etree.py [3.11] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117245) 2024-03-26 02:08:28 +00:00
test_xml_etree_c.py [3.11] bpo-45229: Make ElementTree tests discoverable (GH-108859) (GH-108874) 2023-09-04 10:43:12 +00:00
test_xmlrpc.py [3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924) 2023-09-05 15:27:55 +00: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 bpo-40941: Unify implicit and explicit state in the frame and generator objects into a single value. (GH-20803) 2020-07-17 11:44:23 +01:00
test_zipapp.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550) 2022-06-06 20:09:51 +02:00
test_zipfile.py [3.11] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708) (GH-139713) 2025-10-08 13:46:45 +02:00
test_zipfile64.py bpo-46425: Fix direct invocation of multiple test modules (GH-30666) 2022-01-18 21:28:18 +02:00
test_zipimport.py gh-91181: drop support for bytes on sys.path (GH-31934) 2022-07-16 18:31:25 -07:00
test_zipimport_support.py [3.11] gh-108303: Move all doctest related files and tests to Lib/test/test_doctest/ (GH-112109) (#114313) 2024-01-19 16:12:48 +01:00
test_zlib.py [3.11] gh-125041: test_zlib: For s390x HW acceleration, only skip checking the compressed bytes (GH-125042) (#125577) 2024-10-22 12:11:14 +01: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 bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 11:30:34 +01:00
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip
zipdir_backslash.zip [3.11] gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) (GH-117162) (GH-117165) 2024-03-22 19:24:27 +00:00