cpython/Lib/test
Miss Islington (bot) 3937c78e36
[3.14] gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215) (GH-133704)
According to the HTML5 spec, named character references in attribute values
should only be processed if they are not followed by an ASCII alphanumeric,
or an equals sign.
(cherry picked from commit 77b14a6d58)


https: //html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state

Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
2025-05-09 09:43:21 +03:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest GH-133231: Add JIT utilities in sys._jit (GH-133233) 2025-05-05 15:25:22 -07:00
mathdata gh-101410: Customize error messages for 1-arg math functions (#129497) 2025-04-22 11:29:20 +02:00
regrtestdata/import_from_tests
subprocessdata
support gh-132983: Add the compression.zstd pacakge and tests (#133365) 2025-05-06 01:38:08 +01:00
test_ast [3.14] gh-133516: Raise ValueError when constants True, False or None are used as an identifier after NFKC normalization (GH-133523) (#133596) 2025-05-07 22:26:06 +00:00
test_asyncio [3.14] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133663) 2025-05-08 13:24:38 +00:00
test_capi gh-102567: Add -X importtime=2 for logging an importtime message for already-loaded modules (#118655) 2025-05-06 01:03:55 +01:00
test_cext gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
test_concurrent_futures gh-132097: skip tests raising an explicit SIGSEV when UB sanitizer is on (#132398) 2025-04-12 09:18:58 +02:00
test_cppext gh-127906: Add missing sys import to test_cppext (#132902) 2025-04-25 10:19:26 +02:00
test_ctypes gh-131747: ctypes: Deprecate _pack_ implicitly setting _layout_ = 'ms' (GH-133205) 2025-05-05 15:32:06 +02:00
test_dataclasses gh-82129: Improve annotations for make_dataclass() (#133406) 2025-05-05 08:21:32 -07:00
test_doctest gh-128816: Fix warnings in test_doctest (GH-128817) 2025-01-15 15:05:59 +02:00
test_email gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_free_threading gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_future_stmt [3.14] gh-133581: Improve AST unparsing of t-strings (GH-133635) (#133666) 2025-05-08 13:40:44 +00:00
test_gdb gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_import gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_importlib [3.14] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133663) 2025-05-08 13:24:38 +00:00
test_inspect gh-81793: Always call linkat() from os.link(), if available (GH-132517) 2025-05-04 17:24:10 +03:00
test_interpreters gh-109700: Improve stress tests for interpreter creation (GH-109946) 2025-05-04 21:53:24 +03:00
test_json gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_peg_generator gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
test_pydoc gh-133210: Fix test_pydoc in --without-doc-strings mode (#133271) 2025-05-02 13:12:24 +03:00
test_pyrepl [3.14] gh-133541: Handle SyntaxError raised by the tokenizer on user input (GH-133606) (#133709) 2025-05-08 20:41:01 +00:00
test_sqlite3 gh-130645: Add color to stdlib argparse CLIs (gh-133380) 2025-05-05 19:46:46 +02:00
test_string gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_tkinter gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_tomllib gh-118761: Improve import time of tomllib (#128907) 2025-01-16 18:48:42 -08:00
test_tools gh-130197: Test pygettext --output option (GH-133041) 2025-05-01 19:30:24 +03:00
test_ttk gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_unittest gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_warnings gh-119605: Respect follow_wrapped for __init__ and __new__ when getting class signature with inspect.signature (#132055) 2025-05-01 15:41:44 -07:00
test_zipfile gh-132983: Add the compression.zstd pacakge and tests (#133365) 2025-05-06 01:38:08 +01:00
test_zoneinfo gh-114713: Revert gh-114731 (#133330) 2025-05-03 07:47:08 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata gh-126946: Improve error message in getopt.do_longs based on existing comment (GH-126871) 2024-11-26 10:54:02 +02:00
typinganndata gh-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -07:00
wheeldata gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
xmltestdata
zipimport_data
.ruff.toml [3.14] gh-133551: Support t-strings in annotationlib (GH-133553) (#133628) 2025-05-08 01:37:03 +00:00
__init__.py
__main__.py
_code_definitions.py [3.14] gh-132775: Add _PyCode_GetScriptXIData() (gh-133676) 2025-05-08 10:05:34 -06:00
_crossinterp_definitions.py gh-87859: Track Code Object Local Kinds For Arguments (gh-132980) 2025-04-29 02:21:47 +00:00
_test_atexit.py
_test_eintr.py gh-129205: Modernize test_eintr (#129316) 2025-01-27 18:04:45 +01:00
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py gh-132719: Skip multiprocessing test if missing ctypes (#132846) 2025-04-23 20:33:15 +02:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py GH-115322: fix ctypes call_function audit hook on 32-bit platforms (GH-132496) 2025-04-14 06:22:29 +00:00
autotest.py
bisect_cmd.py
clinic.test.c gh-132987: Support __index__() for "k" and "K" formats in PyArg_Parse (GH-132988) 2025-04-26 17:14:18 +03:00
cov.py
curses_tests.py
datetimetester.py gh-89157: Make C and Python implementation of datetime.date.fromisoformat consistent (#131007) 2025-04-24 17:16:07 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
lock_tests.py gh-115942: Add locked to several multiprocessing locks (#115944) 2025-04-08 11:14:12 +03:00
mapping_tests.py gh-111178: Skip tests which require deep stack if UBsan (#131669) 2025-03-24 15:33:56 +01:00
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py [3.14] gh-131031: Fix test_pickle when invoked directly (GH-133356) (GH-133673) 2025-05-08 15:19:58 +00:00
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965) 2025-04-25 18:13:47 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314) 2025-05-03 07:54:33 +00:00
regrtest.py
relimport.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +00:00
test__colorize.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test__interpchannels.py gh-117657: Skip some tests when running with TSAN (gh-131555) 2025-03-21 15:16:08 -04:00
test__interpreters.py gh-132775: Cleanup Related to crossinterp.c Before Further Changes (gh-132974) 2025-04-28 11:55:15 -06:00
test__locale.py gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04:00
test__opcode.py gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700) 2025-02-07 22:39:54 +00:00
test__osx_support.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test_abc.py gh-130095: Mark _py_abc tests as not thread-safe (gh-130131) 2025-02-14 16:21:45 -05:00
test_abstract_numbers.py
test_android.py gh-124666: Improve thread cleanup in test_android (#131427) 2025-03-19 06:30:22 +08:00
test_annotationlib.py [3.14] gh-133551: Support t-strings in annotationlib (GH-133553) (#133628) 2025-05-08 01:37:03 +00:00
test_apple.py gh-126925: Modify how iOS test results are gathered (#127592) 2024-12-09 13:28:57 +08:00
test_argparse.py gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
test_array.py Revert "gh-128942: make array module thread safe (#128943)" (#130707) 2025-02-28 16:57:48 -05:00
test_asdl_parser.py gh-131421: Fix ASDL tests (#133408) 2025-05-04 23:46:21 +00:00
test_asyncgen.py gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_atexit.py gh-126907: make atexit thread safe in free-threading (#127935) 2024-12-16 19:31:44 +00:00
test_audit.py GH-115322: Add missing audit hooks (GH-115624) 2025-04-13 21:46:20 +00:00
test_augassign.py
test_base64.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_baseexception.py
test_bdb.py
test_bigaddrspace.py
test_bigmem.py GH-125174: Make immortality "sticky" (GH-131355) 2025-03-17 17:22:35 +00:00
test_binascii.py
test_binop.py
test_bisect.py
test_bool.py gh-131586: Avoid refcount contention in some "special" calls (#131588) 2025-03-26 14:38:47 -04:00
test_buffer.py gh-126980: Fix bytearray.__buffer__ crash on PyBUF_{READ,WRITE} (#126981) 2024-11-19 17:44:53 +03:00
test_bufio.py
test_build_details.py GH-107956: install build-details.json (PEP 739) (#130069) 2025-02-13 13:58:00 +00:00
test_builtin.py gh-130070: Fix exec(<string>, closure=<non-None>) unexpected path (#130071) 2025-04-17 10:14:55 +03:00
test_bytes.py gh-131015: Add test for bytes formatting errors (#131881) 2025-04-05 10:30:16 +02:00
test_bz2.py gh-132983: Introduce compression package and move _compression module (GH-133018) 2025-04-27 14:41:30 -07:00
test_c_locale_coercion.py
test_calendar.py gh-130645: Add color to stdlib argparse CLIs (gh-133380) 2025-05-05 19:46:46 +02:00
test_call.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_charmapcodec.py
test_class.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_clinic.py [3.14] gh-133583: Add support for fixed size unsigned integers in argument parsing (GH-133584) (GH-133650) 2025-05-08 09:54:44 +00:00
test_cmath.py
test_cmd.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_cmd_line.py gh-102567: Add -X importtime=2 for logging an importtime message for already-loaded modules (#118655) 2025-05-06 01:03:55 +01:00
test_cmd_line_script.py gh-116042: Fix location for SyntaxErrors of invalid escapes in the tokenizer (#116049) 2025-02-13 01:07:37 +00:00
test_code.py [3.14] gh-132775: Add _PyCode_GetScriptXIData() (gh-133676) 2025-05-08 10:05:34 -06:00
test_code_module.py gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661) 2025-02-28 13:15:55 -05:00
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_codeop.py gh-128016: Improved invalid escape sequence warning message (#128020) 2025-01-15 18:00:54 +01:00
test_collections.py gh-71339: Use assertIsSubclass() and assertNotIsSubclass() in test_collections (GH-128824) 2025-01-20 11:16:32 +02:00
test_colorsys.py
test_compare.py
test_compile.py gh-132435: Test syntax warnings in a finally block (GH-132436) 2025-04-13 20:44:00 +00:00
test_compileall.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_compiler_assemble.py
test_compiler_codegen.py gh-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -07:00
test_complex.py gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#128973) 2025-03-27 21:06:52 +02:00
test_configparser.py gh-130941: Fix configparser parsing values with allow_no_value and interpolation set (GH-130949) 2025-04-16 12:39:11 +02:00
test_contains.py
test_context.py gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_contextlib.py
test_contextlib_async.py gh-128265: Support WASI/Emscripten on PDB tests, by removing asyncio from pdb tests (#128264) 2024-12-28 16:59:49 +02:00
test_copy.py gh-127146: Emscripten: Skip segfaults in test suite (#127151) 2024-12-05 08:26:25 +08:00
test_copyreg.py
test_coroutines.py gh-130322: drop deprecation of asyncio.set_event_loop (#132349) 2025-04-12 12:03:52 +05:30
test_cprofile.py gh-132737: Support profiling modules that require __main___ (#132738) 2025-04-24 14:41:01 -04:00
test_crossinterp.py [3.14] gh-132775: Add _PyCode_GetScriptXIData() (gh-133676) 2025-05-08 10:05:34 -06:00
test_csv.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_curses.py bpo-44172: Keep reference to original window in curses subwindow objects (GH-26226) 2025-05-04 13:29:44 +03:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746) 2024-12-17 12:12:45 +01:00
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py gh-53032: support IEEE 754 contexts in the decimal module (#122003) 2025-04-28 15:05:56 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-133210: Fix test_descr in --without-doc-strings mode (#133294) 2025-05-02 13:04:27 +00:00
test_descrtut.py
test_devpoll.py
test_dict.py [3.14] gh-132762: Fix underallocation bug in dict.fromkeys()(gh-133627) (gh-133685) 2025-05-08 17:39:39 +00:00
test_dictcomps.py
test_dictviews.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_difflib.py
test_difflib_expect.html gh-131204: Fix difflib.HtmlDiff may not use monospaced font (#131221) 2025-03-14 10:45:33 +00:00
test_dis.py GH-133231: Add JIT utilities in sys._jit (GH-133233) 2025-05-05 15:25:22 -07:00
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py gh-102567: Add -X importtime=2 for logging an importtime message for already-loaded modules (#118655) 2025-05-06 01:03:55 +01:00
test_ensurepip.py
test_enum.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_enumerate.py
test_eof.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_epoll.py
test_errno.py
test_except_star.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +00:00
test_exception_group.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-132449: Improve syntax error messages for keywords with typos (#132450) 2025-04-22 11:01:55 +02:00
test_extcall.py
test_external_inspection.py gh-133419: fix test_external_inspection race assert (#133433) 2025-05-05 12:38:51 +00:00
test_faulthandler.py gh-127604: Add C stack dumps to faulthandler (#128159) 2025-04-21 20:48:02 +01:00
test_fcntl.py [tests] fix test_fcntl issue when run in a ChromeOS linux runtime (GH-133053) 2025-04-27 13:28:23 -07:00
test_file.py gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k (GH-118144) 2025-03-07 11:36:12 -08:00
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileio.py gh-127146: Emscripten clean up test suite (#127984) 2024-12-17 07:48:23 +00:00
test_fileutils.py
test_finalization.py
test_float.py gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#128973) 2025-03-27 21:06:52 +02:00
test_flufl.py gh-125331: Allow the parser to activate future imports on the fly (#125482) 2025-02-14 04:54:56 +00:00
test_fnmatch.py gh-133306: Use \z instead of \Z in fnmatch.translate() and glob.translate() (GH-133338) 2025-05-03 17:58:21 +03:00
test_fork1.py
test_format.py gh-130928: Fix error message during bytes formatting for the 'i' flag (#130967) 2025-03-24 22:07:03 +03:00
test_fractions.py gh-130104: Call __rpow__ in ternary pow() if necessary (GH-130251) 2025-04-16 18:32:41 +03:00
test_frame.py gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} (#130708) 2025-04-01 10:18:42 -07:00
test_frozen.py
test_fstring.py gh-133197: Improve error message for incompatible string / bytes prefixes (#133242) 2025-05-02 14:28:17 +03:00
test_ftplib.py gh-131888: fix ResourceWarning in test_ftplib (#131889) 2025-04-02 14:30:19 +02:00
test_funcattrs.py gh-58211: Add tests for the __self__ attribute of builtins functions (#113575) 2025-04-12 12:02:43 +00:00
test_functools.py [3.14] gh-125028: Prohibit placeholders in partial keywords (GH-126062) (GH-133645) 2025-05-08 08:26:14 +00:00
test_gc.py gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_generated_cases.py Get rid of ERROR_IF's "label" parameter (GH-132654) 2025-04-29 17:21:53 -07:00
test_generator_stop.py
test_generators.py GH-127682: Only call __iter__ once in generator expressions. (GH-132351) 2025-04-11 09:37:22 +01:00
test_genericalias.py gh-132457: make staticmethod and classmethod generic (#132460) 2025-05-04 19:26:38 +03:00
test_genericclass.py
test_genericpath.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08:00
test_genexps.py GH-127682: Only call __iter__ once in generator expressions. (GH-132351) 2025-04-11 09:37:22 +01:00
test_getopt.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test_getpass.py gh-77065: Add optional keyword-only argument echo_char for getpass.getpass (#130496) 2025-05-06 14:56:20 +03:00
test_getpath.py GH-128469: Revert "warn when libpython was loaded from outside the build directory (#128645)" (#129506) 2025-01-31 11:17:37 +00:00
test_gettext.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_glob.py gh-133306: Use \z instead of \Z in fnmatch.translate() and glob.translate() (GH-133338) 2025-05-03 17:58:21 +03:00
test_global.py
test_grammar.py gh-133197: Improve error message for incompatible string / bytes prefixes (#133242) 2025-05-02 14:28:17 +03:00
test_graphlib.py gh-130914: Make graphlib.TopologicalSorter.prepare() idempotent (#131317) 2025-03-18 16:28:00 -05:00
test_grp.py
test_gzip.py gh-130806: Emit ResourceWarning if GzipFile unclosed (#130905) 2025-03-13 11:20:05 +01:00
test_hash.py
test_hashlib.py gh-132993: expose HASHLIB_GIL_MINSIZE to private extension modules (#132999) 2025-04-27 22:20:15 +00:00
test_heapq.py gh-110067: Make max heap methods public and add missing ones (GH-130725) 2025-05-05 17:52:49 +02:00
test_hmac.py gh-132993: expose HASHLIB_GIL_MINSIZE to private extension modules (#132999) 2025-04-27 22:20:15 +00:00
test_html.py
test_htmlparser.py [3.14] gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215) (GH-133704) 2025-05-09 09:43:21 +03:00
test_http_cookiejar.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_http_cookies.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_httplib.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_httpservers.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_idle.py
test_imaplib.py gh-55454: Add IMAP4 IDLE support to imaplib (#122542) 2025-02-06 19:15:11 -08:00
test_index.py
test_int.py GH-114911: use time.perf_counter in Stopwatch (GH-131469) 2025-04-28 13:55:08 +02:00
test_int_literal.py
test_io.py gh-122559: Synchronize C and Python implementation of the io module about pickling (GH-122628) 2025-05-04 14:06:49 +00:00
test_ioctl.py gh-132742: Fix newly added tcflush() tests on Android (GH-133070) 2025-04-28 21:41:09 +03:00
test_ipaddress.py gh-130607: Extend and cleanup IPv6 tests (GH-121518) 2025-02-28 11:31:30 +01:00
test_isinstance.py gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158) 2025-03-13 08:28:15 +08:00
test_iter.py
test_iterlen.py
test_itertools.py gh-93096: Load doctests in test_itertools (#131133) 2025-03-12 08:40:59 +01:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py gh-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021) 2025-03-10 17:59:23 +00:00
test_linecache.py gh-60115: Support frozen modules for linecache.getline() (#131638) 2025-04-02 19:50:01 -04:00
test_list.py gh-132713: Fix repr(list) race condition (#132801) 2025-04-22 22:09:35 +02:00
test_listcomps.py
test_lltrace.py
test_locale.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_logging.py gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_long.py Remove duplicated dict keys in test_{embed,long}.py fixtures (#128727) 2025-01-20 13:50:10 +01:00
test_longexp.py
test_lzma.py gh-132987: Support __index__() in the lzma module (GH-133099) 2025-04-29 14:14:33 +00:00
test_mailbox.py gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03:00
test_marshal.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_math.py gh-101410: Customize error messages for 1-arg math functions (#129497) 2025-04-22 11:29:20 +02:00
test_math_property.py
test_memoryio.py
test_memoryview.py gh-127085: Add a test skip if multiprocessing isn't available (#128019) 2024-12-17 08:18:33 +00:00
test_metaclass.py gh-131290: ensure that test files can be executed as standalone scripts (#131371) 2025-04-12 07:46:19 +00:00
test_mimetypes.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_minidom.py gh-63882: Break down and tests in test_minidom (#133026) 2025-05-05 16:07:24 +00:00
test_mmap.py gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303) 2025-04-08 22:08:00 +03:00
test_modulefinder.py
test_monitoring.py Remove print from test_monitoring.py (#131200) 2025-03-13 22:54:17 +03:00
test_msvcrt.py
test_multibytecodec.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py
test_ntpath.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08:00
test_nturl2path.py GH-125866: Deprecate nturl2path module (#131432) 2025-03-19 19:33:01 +00:00
test_numeric_tower.py
test_opcache.py gh-132744: Check recursion limit in CALL_PY_GENERAL (GH-132746) 2025-05-02 17:36:29 +01:00
test_opcodes.py
test_openpty.py
test_operator.py gh-133167: Fix compilation process with --enable-optimizations and --without-docstrings (#133187) 2025-04-30 16:41:50 +03:00
test_optimizer.py
test_optparse.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_ordered_dict.py
test_os.py gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04:00
test_osx_env.py
test_patma.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_pdb.py [3.14] gh-133558: Skip test_pdb tests on FreeBSD (GH-133566) (#133616) 2025-05-07 22:20:17 +00:00
test_peepholer.py gh-133371: Don't optimize LOAD_FAST instructions whose local is killed by DELETE_FAST (#133383) 2025-05-04 21:00:11 -07:00
test_pep646_syntax.py
test_perf_profiler.py gh-132553: Build the perf tool without buildid cache (GH-132663) 2025-04-18 14:26:59 +02:00
test_perfmaps.py
test_pickle.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_picklebuffer.py
test_pickletools.py gh-126992: Change pickle code to base 10 for load_long and load_int (GH-127042) 2024-12-11 12:37:59 +00:00
test_pkg.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_pkgutil.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_platform.py gh-130645: Add color to stdlib argparse CLIs (gh-133380) 2025-05-05 19:46:46 +02:00
test_plistlib.py
test_poll.py
test_popen.py gh-131234: Improve test_popen with more asserts (#131235) 2025-03-14 11:38:31 +00:00
test_poplib.py gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03:00
test_positional_only_arg.py
test_posix.py gh-81793: Replace skip decorators with specific helpers (GH-133493) 2025-05-06 05:58:38 +00:00
test_posixpath.py gh-132185: Speed up expanduser() test with large password database (GH-132231) 2025-04-12 16:17:52 +00:00
test_pow.py
test_pprint.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_print.py gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) 2025-02-25 23:04:27 +02:00
test_profile.py
test_property.py
test_pstats.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_pty.py gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#128973) 2025-03-27 21:06:52 +02:00
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py gh-131591: Allow pdb to attach to a running process (#132451) 2025-04-25 01:43:23 +01:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py gh-130645: Add color to stdlib argparse CLIs (gh-133380) 2025-05-05 19:46:46 +02:00
test_range.py
test_re.py gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314) 2025-05-03 07:54:33 +00:00
test_readline.py gh-126895: Fix readline module in free-threaded build (#131208) 2025-03-17 11:57:11 -04:00
test_regrtest.py gh-131290: ensure that test files can be executed as standalone scripts (#131371) 2025-04-12 07:46:19 +00:00
test_remote_pdb.py gh-133490: Fix syntax highlighting for remote PDB (#133494) 2025-05-06 11:44:49 +02:00
test_repl.py gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_reprlib.py gh-132493: Avoid eager evaluation of annotations in @reprlib.recursive_repr() (#133411) 2025-05-05 19:20:11 -07:00
test_resource.py
test_richcmp.py
test_rlcompleter.py gh-133210: Fix test_rlcompleter in --without-doc-strings mode (#133332) 2025-05-03 18:38:27 +03:00
test_robotparser.py
test_runpy.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_sax.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py gh-132825: Enhance unhashable error messages for dict and set (#132828) 2025-04-23 17:10:09 +02:00
test_setcomps.py
test_shelve.py
test_shlex.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_shutil.py gh-132983: Add the compression.zstd pacakge and tests (#133365) 2025-05-06 01:38:08 +01:00
test_signal.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08:00
test_site.py gh-132952: Speed up startup by importing _io instead of io (#132957) 2025-04-28 08:38:56 -07:00
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py gh-132987: Support __index__() in the ssl.SSLContext.options setter (GH-133098) 2025-04-29 16:28:47 +03:00
test_stable_abi_ctypes.py gh-132639: Adds PyLong_AsNativeBytes, PyLong_FromNativeBytes and PyLong_FromUnsignedNativeBytes to the limited API (GH-132640) 2025-04-21 15:59:03 +01:00
test_startfile.py
test_stat.py
test_statistics.py
test_str.py gh-120608: Make reversed iterator work with free-threading (#120971) 2025-03-12 12:39:52 +01:00
test_strftime.py
test_string_literals.py gh-131649: fix test_string_literals SyntaxWarning (#131650) 2025-03-26 15:01:18 +01:00
test_stringprep.py
test_strptime.py gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568) 2025-04-09 13:26:50 +03:00
test_strtod.py gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_struct.py gh-121249: unconditionally support complex types in struct (GH-132864) 2025-05-02 18:24:52 +02:00
test_structseq.py
test_subclassinit.py
test_subprocess.py [tests] test_subprocess maybe avoid a timeout race condition? (#133420) 2025-05-04 21:02:16 -07:00
test_sundry.py
test_super.py GH-129386: Use symbolic constants for specialization tests (GH-129415) 2025-01-29 10:49:58 -08:00
test_support.py gh-102567: Add -X importtime=2 for logging an importtime message for already-loaded modules (#118655) 2025-05-06 01:03:55 +01:00
test_symtable.py
test_syntax.py gh-133197: Improve error message for incompatible string / bytes prefixes (#133242) 2025-05-02 14:28:17 +03:00
test_sys.py Revert "gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays (#133396)" (#133498) 2025-05-06 13:12:26 +03:00
test_sys_setprofile.py gh-122029: Do not unpack method for legacy tracing anymore (#130898) 2025-03-11 14:04:22 -04:00
test_sys_settrace.py gh-130080: fix warnings in tests (#131400) 2025-03-18 12:33:46 +00:00
test_sysconfig.py gh-127405: Add ABIFLAGS to sysconfig variables on Windows (GH-131799) 2025-04-11 16:19:03 +01:00
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-132983: Add the compression.zstd pacakge and tests (#133365) 2025-05-06 01:38:08 +01:00
test_tcl.py
test_tempfile.py gh-127371 Avoid unbounded growth SpooledTempfile.writelines (GH-127372) 2025-03-05 00:06:07 +02:00
test_termios.py gh-132742: Fix newly added tcflush() tests on Android (GH-133070) 2025-04-28 21:41:09 +03:00
test_textwrap.py gh-130167: Improve the error case for `textwrap.dedent` (#132666) 2025-04-19 16:18:03 +01:00
test_thread.py
test_thread_local_bytecode.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_threadedtempfile.py [3.14] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133663) 2025-05-08 13:24:38 +00:00
test_threading.py [3.14] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133663) 2025-05-08 13:24:38 +00:00
test_threading_local.py gh-127190: Fix local_setattro() error handling (#127366) 2024-11-28 17:35:48 +01:00
test_threadsignals.py
test_time.py gh-131434: Improve error reporting for incorrect format in strptime() (GH-131568) 2025-04-09 13:26:50 +03:00
test_timeit.py gh-131178: Update help message for timeit CLI (#131326) 2025-03-30 14:19:38 +03:00
test_timeout.py gh-132535: Fix resource warnings in test_timeout (GH-132572) 2025-04-16 10:20:07 +03:00
test_tokenize.py gh-129958: Properly disallow newlines in format specs in single-quoted f-strings (GH-130063) 2025-04-18 14:30:04 +02:00
test_trace.py gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133) 2025-02-20 10:13:44 -05:00
test_traceback.py gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
test_tracemalloc.py gh-131566: Skip test_tracemalloc_track_race under TSAN (gh-131567) 2025-03-22 11:46:36 -04:00
test_tstring.py gh-132661: Implement PEP 750 (#132662) 2025-04-30 11:46:41 +02:00
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py gh-126349: test_turtle: Add cleanup to avoid reference leaks (GH-129079) 2025-01-21 11:28:34 +01:00
test_type_aliases.py gh-126085: Add tp_iter to TypeAliasType to allow star unpacking (#127981) 2025-03-04 11:34:59 -08:00
test_type_annotations.py gh-133037: Add test for shadowing __annotate__ (#133084) 2025-05-02 19:42:49 -07:00
test_type_cache.py gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043) 2025-04-25 15:01:48 +03:00
test_type_comments.py
test_type_params.py gh-128404: remove asyncio from test_type_params (#128436) 2025-01-03 07:50:24 +00:00
test_typechecks.py
test_types.py gh-132747: Fix NULL dereference when calling a method's __get__ manually (#132772) 2025-04-21 14:09:34 -07:00
test_typing.py typing, annotationlib: clean tests (#133087) 2025-04-28 08:38:11 -07:00
test_ucn.py gh-131807: fix ResourceWarning in test_ucn.py (#131808) 2025-03-28 15:55:40 +01:00
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py gh-127146: Emscripten clean up test suite (#127984) 2024-12-17 07:48:23 +00:00
test_unicode_identifiers.py
test_unicodedata.py gh-129569: The function unicodedata.normalize() always returns built-in str (#129570) 2025-02-21 14:51:13 +01:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py [3.14] gh-133581: Improve AST unparsing of t-strings (GH-133635) (#133666) 2025-05-08 13:40:44 +00:00
test_urllib.py GH-123599: url2pathname(): don't call gethostbyname() by default (#132610) 2025-05-05 17:03:42 +00:00
test_urllib2.py gh-127591: Fix altering environment in test_urllib2 (unsetting no_proxy) (GH-132584) 2025-04-16 13:05:54 +03:00
test_urllib2_localnet.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urllib2net.py GH-125866: Support complete "file:" URLs in urllib (#132378) 2025-04-14 01:49:02 +01:00
test_urllib_response.py gh-128734: Fix ResourceWarning in urllib tests (GH-128735) 2025-01-12 12:53:17 +02:00
test_urllibnet.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urlparse.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_userdict.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_userlist.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py gh-130843: expose 48-bit timestamp for UUIDv7 (#131838) 2025-03-31 14:32:54 +02:00
test_venv.py gh-130486: Fix test_venv fails from within venv (GH-130487) 2025-03-04 07:48:07 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py gh-131254: ensure that BROWSER is not set for test_webbrowser on macOS (#131276) 2025-03-16 15:39:30 +01:00
test_winapi.py
test_winconsoleio.py gh-124008: Fix calculation of the number of written bytes for the Windows console (GH-124059) 2024-11-27 13:38:12 +02:00
test_winreg.py
test_winsound.py gh-131453: Add additional constants to winsound module (GH-131454) 2025-03-20 16:35:52 +00:00
test_with.py gh-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
test_wmi.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) 2025-01-07 12:40:41 +02:00
test_xml_etree.py gh-131938: Update exception message for Element.remove() when an element is not found (#131972) 2025-04-04 15:04:07 +00:00
test_xml_etree_c.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_xmlrpc.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_zipapp.py gh-132933: zipapp - apply the filter when creating the list of files to add (gh-132934) 2025-04-29 15:14:46 +01:00
test_zipfile64.py
test_zipimport.py gh-127146: Update test skips for Emscripten 4.0.1 (#129375) 2025-01-28 01:05:21 +00:00
test_zipimport_support.py
test_zlib.py
test_zstd.py gh-132983: Add the compression.zstd pacakge and tests (#133365) 2025-05-06 01:38:08 +01:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py