cpython/Lib/test
Miss Islington (bot) 06fc882eac
Some checks failed
Tests / Check for source changes (push) Has been cancelled
Tests / Check if the ABI has changed (push) Has been cancelled
Tests / Check if generated files are up to date (push) Has been cancelled
Tests / Windows (x86) (push) Has been cancelled
Tests / Windows (x64) (push) Has been cancelled
Tests / macOS (push) Has been cancelled
Tests / Ubuntu (push) Has been cancelled
Tests / Ubuntu SSL tests with OpenSSL (push) Has been cancelled
[3.9] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (GH-136922)
This fixes a regression introduced in GH-135930.
(cherry picked from commit dee6501894)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-07-22 11:58:28 +02:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
eintrdata
encoded_modules
imghdrdata
leakers
libregrtest
sndhdrdata
subprocessdata
support [3.9] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930) (GH-136268) (#136293) 2025-07-12 14:27:08 +02:00
test_asyncio [3.9] gh-116773: Fix overlapped memory corruption crash (GH-116774) (GH-117080) 2024-03-27 16:24:46 +01:00
test_email [3.9] gh-80222: Fix email address header folding with long quoted-string (GH-122753) (GH-129111) (GH-132371) 2025-06-02 17:57:06 +02:00
test_import
test_importlib
test_json [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_peg_generator
test_tools
test_warnings
test_zoneinfo
tracedmodules
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_multiprocessing.py
_typed_dict_helper.py
allsans.pem
ann_module.py
ann_module2.py
ann_module3.py
ann_module5.py
ann_module6.py
ann_module7.py
audiotest.au
audiotests.py
audit-tests.py [3.9] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) (GH-99493) 2022-11-21 19:13:33 +01:00
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py
bad_getattr2.py
bad_getattr3.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect_cmd.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py
dataclass_module_1_str.py
dataclass_module_2.py
dataclass_module_2_str.py
dataclass_textanno.py
datetimetester.py
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
list_tests.py
lock_tests.py
mailcap.txt
make_ssl_certs.py
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pickletester.py
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py
sgml_input.html
signalinterproctester.py
Sine-1000Hz-300ms.aif
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py
talos-2019-0758.pem
test___all__.py
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxsubinterpreters.py
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py
test_array.py
test_asdl_parser.py
test_ast.py [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_asyncgen.py
test_asynchat.py
test_asyncore.py
test_atexit.py
test_audioop.py
test_audit.py [3.9] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) (GH-99493) 2022-11-21 19:13:33 +01:00
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_builtin.py
test_bytes.py
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_capi.py
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_check_c_globals.py
test_class.py
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py [3.9] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) (GH-97574) 2022-10-04 11:57:34 -07:00
test_cmd_line_script.py
test_code.py
test_code_module.py
test_codeccallbacks.py [3.9] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (#134346) 2025-06-02 17:58:01 +02:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py [3.9] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) (gh-111780) 2023-11-06 18:44:50 +01:00
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py [3.9] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (#134346) 2025-06-02 17:58:01 +02:00
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_compileall.py
test_complex.py
test_concurrent_futures.py
test_configparser.py
test_contains.py
test_context.py gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (#93147) 2022-05-24 10:52:49 +02:00
test_contextlib.py
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py
test_cprofile.py
test_crashers.py
test_crypt.py
test_csv.py
test_ctypes.py
test_curses.py
test_dataclasses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py [3.9] gh-92112: Fix crash triggered by an evil custom mro() (GH-92113) (GH-92372) 2022-05-16 18:47:35 +02:00
test_descrtut.py
test_devpoll.py
test_dict.py
test_dict_version.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_distutils.py
test_doctest.py
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py
test_ensurepip.py
test_enum.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py
test_extcall.py
test_faulthandler.py
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileio.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py
test_ftplib.py
test_funcattrs.py
test_functools.py
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py
test_gdb.py
test_generator_stop.py
test_generators.py
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py [3.9] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) (#98526) 2022-10-28 12:08:06 +02:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py [3.9] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (GH-136922) 2025-07-22 11:58:28 +02:00
test_http_cookiejar.py
test_http_cookies.py [3.9] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123107) 2024-09-04 17:49:40 +02:00
test_httplib.py
test_httpservers.py Fix invalid string escape 2023-08-24 19:44:27 +02:00
test_idle.py
test_imaplib.py [3.9] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (#130248) 2025-02-19 14:31:01 +01:00
test_imghdr.py
test_imp.py
test_index.py
test_inspect.py
test_int.py [3.9] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98196) 2022-10-11 23:13:54 +02:00
test_int_literal.py
test_io.py
test_ioctl.py
test_ipaddress.py [3.9] gh-128840: Fix parsing long IPv6 addresses with embedded IPv4 address (GH-134836) (GH-135090) 2025-06-03 16:27:03 +02:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py [3.9] gh-97616: list_resize() checks for integer overflow (GH-97617) (GH-97627) 2022-10-04 10:01:10 -07:00
test_listcomps.py
test_lltrace.py
test_locale.py
test_logging.py
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py
test_mailcap.py [3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98190) 2022-10-11 23:13:18 +02:00
test_marshal.py
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py [3.9] gh-107888: Fix test_mmap.test_access_parameter() on macOS 14 (GH-109928) (GH-114184) 2024-01-17 15:10:35 +01:00
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py
test_netrc.py
test_nis.py
test_nntplib.py
test_ntpath.py [3.9] gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') (GH-135037) (GH-135084) 2025-06-03 19:02:50 +02:00
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py [3.9] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118741) 2024-05-24 19:27:01 +02:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pathlib.py
test_pdb.py
test_peepholer.py
test_peg_parser.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgutil.py
test_platform.py
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py [3.9] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97968) 2022-10-06 12:14:32 -07:00
test_posixpath.py [3.9] gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') (GH-135037) (GH-135084) 2025-06-03 19:02:50 +02:00
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pydoc.py
test_pyexpat.py [3.9] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116272) 2024-03-07 00:03:30 +01:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py
test_readline.py
test_regrtest.py
test_repl.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_sax.py [3.9] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117247) 2024-03-27 14:45:22 +01:00
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py [3.9] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) (#104382) 2023-05-15 18:53:58 +02:00
test_signal.py
test_site.py [3.9] gh-113659: Skip hidden .pth files (GH-113660) (GH-114146) 2024-01-17 15:28:17 +01:00
test_slice.py
test_smtpd.py
test_smtplib.py
test_smtpnet.py
test_sndhdr.py
test_socket.py [3.9] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (GH-129440) (#130075) 2025-02-19 14:23:10 +01:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_spwd.py
test_sqlite.py
test_ssl.py [3.9] gh-108342: Make ssl TestPreHandshakeClose more reliable (GH-108370) (#108407) 2023-08-24 12:09:11 +02:00
test_startfile.py
test_stat.py
test_statistics.py
test_strftime.py
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py
test_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symbol.py
test_symtable.py
test_syntax.py
test_sys.py [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py [3.9] gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') (GH-135037) (GH-135084) 2025-06-03 19:02:50 +02:00
test_tcl.py
test_telnetlib.py
test_tempfile.py [3.9] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118741) 2024-05-24 19:27:01 +02:00
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py
test_threading_local.py [3.9] GH-100892: Fix race in clearing threading.local (GH-100922) (#100939) 2023-01-20 23:21:40 +01:00
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tix.py
test_tk.py
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py
test_turtle.py
test_type_comments.py
test_typechecks.py
test_types.py
test_typing.py
test_ucn.py
test_unary.py
test_unicode.py [3.9] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224) (#107231) 2023-08-22 20:25:15 +02:00
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py
test_urllib.py
test_urllib2.py [3.9] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) (GH-116068) 2024-03-19 11:53:42 +01:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py [3.9] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) (#129530) 2025-02-19 14:36:40 +01:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uu.py [3.9] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104331) 2023-05-22 12:41:30 +02:00
test_uuid.py
test_venv.py [3.9] gh-124651: Quote template strings in venv activation scripts (GH-124712) (GH-126185) (GH-126269) (GH-126301) 2024-11-04 16:16:35 +01:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wsgiref.py
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py [3.9] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117247) 2024-03-27 14:45:22 +01:00
test_xml_etree_c.py
test_xmlrpc.py [3.9] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96502) 2022-09-05 11:21:03 +02:00
test_xmlrpc_net.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py [3.9] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) (#123432) 2024-09-04 17:46:48 +02:00
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py
test_zlib.py [3.9] gh-125041: gh-90781: test_zlib: For s390x HW acceleration, skip checking the compressed bytes (GH-125042) (#125587) 2024-10-28 13:50:42 +01:00
testcodec.py
testtar.tar
tf_inherit_check.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip