cpython/Lib/test
Serhiy Storchaka 563f0584c9
[3.10] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95354)
When keyword argument name is an instance of a str subclass with
overloaded methods __eq__ and __hash__, the former code could not find
the name of an extraneous keyword argument to report an error, and
_PyArg_UnpackKeywords() returned success without setting the
corresponding cell in the linearized arguments array. But since the number
of expected initialized cells is determined as the total number of passed
arguments, this lead to reading NULL as a keyword parameter value, that
caused SystemError or crash or other undesired behavior..
(cherry picked from commit ebad53a4dc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-07-28 09:52:00 +03:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 16:31:21 +09:00
leakers
libregrtest Run Tools/scripts/reindent.py (#94225) (#94291) 2022-06-26 12:39:16 +02:00
sndhdrdata
subprocessdata
support gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers. (GH-93962) (GH-94119) 2022-06-22 14:46:01 +02:00
test_asyncio bpo-45924: Fix asyncio incorrect traceback when future's exception is raised multiple times (GH-30274) (#94748) 2022-07-11 15:38:27 +01:00
test_email gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201) 2022-07-24 23:39:00 -07:00
test_import bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_importlib test_threaded_import: Fix unittest.main spelling (GH-93114) 2022-05-25 01:17:57 -07:00
test_json bpo-46542: test_json uses support.infinite_recursion() (GH-30972) 2022-01-27 16:57:07 -08:00
test_peg_generator [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tools [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_warnings
test_zoneinfo bpo-45577: test all pickle protocols in test_zoneinfo (GH-29167) (GH-29296) 2021-10-29 00:00:49 +02:00
tracedmodules
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) (GH-30005) 2021-12-09 15:16:09 +00:00
_test_eintr.py
_test_embed_set_config.py
_test_multiprocessing.py gh-95212: make multiprocessing test case parallel-safe (GH-95213) 2022-07-24 22:11:41 -07:00
_typed_dict_helper.py bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (#27204) 2021-07-17 10:48:17 +02:00
allsans.pem
ann_module.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) (#27222) 2021-07-19 07:22:59 -07:00
ann_module2.py
ann_module3.py
ann_module4.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
ann_module5.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) (GH-28560) 2021-09-25 11:21:13 +02:00
ann_module6.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) (GH-28560) 2021-09-25 11:21:13 +02:00
ann_module7.py bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) (#30765) 2022-01-22 09:28:48 -08:00
audiotest.au
audiotests.py
audit-tests.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26970) 2021-06-30 18:52:25 +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 [3.10] gh-94430: Allow params named module or self with custom C names in AC (GH-94431) (#94650) 2022-07-07 13:26:21 +02:00
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 Check result of utc_to_seconds and skip fold probe in pure Python (GH-91582) 2022-05-14 08:01:53 -07:00
dis_module.py
doctest_aliases.py
doctest_lineno.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
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
inspect_stock_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations_2.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
list_tests.py
lock_tests.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
mailcap.txt
make_ssl_certs.py Fix a typo in the message from make_ssl_certs. (GH-30152) (GH-30161) 2021-12-16 21:51:11 -08:00
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
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 gh-92930: _pickle.c: Acquire strong references before calling save() (GH-92931) 2022-06-10 20:53:07 -07:00
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
pydocfodder.py
pythoninfo.py test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467) 2022-06-03 07:08:21 -07:00
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 Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) 2021-05-01 13:53:57 -07:00
string_tests.py
talos-2019-0758.pem
test___all__.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxsubinterpreters.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_abc.py [3.10] bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034) (GH-26065) 2021-05-12 15:06:34 +01:00
test_abstract_numbers.py
test_aifc.py
test_argparse.py gh-91832: Add 'required' attr to argparse.Action repr (GH-91841) 2022-04-28 08:27:17 -07:00
test_array.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_asdl_parser.py
test_ast.py [3.10] gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version (GH-94950) (#94990) 2022-07-19 07:24:48 +01:00
test_asyncgen.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_asynchat.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_asyncore.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_atexit.py
test_audioop.py
test_audit.py gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292) 2022-07-26 12:40:59 -07:00
test_augassign.py
test_base64.py Added test case based on recommended test cases from RFC 4648 (GH-27747) 2021-08-13 04:15:27 -07:00
test_baseexception.py
test_bdb.py gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers. (GH-93962) (GH-94119) 2022-06-22 14:46:01 +02:00
test_bigaddrspace.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_bigmem.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_binascii.py [3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013) 2022-03-20 14:46:52 -07:00
test_binhex.py
test_binop.py
test_bisect.py gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321) 2022-05-28 13:48:25 -05:00
test_bool.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_buffer.py
test_bufio.py
test_builtin.py bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) 2022-01-17 23:33:00 -08:00
test_bytes.py GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891) 2022-07-19 10:04:47 -07:00
test_bz2.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_c_locale_coercion.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_calendar.py gh-57539: Increase calendar test coverage (GH-93468) (GH-93565) 2022-06-07 12:20:49 +02:00
test_call.py [3.10] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95354) 2022-07-28 09:52:00 +03:00
test_capi.py [3.10] bpo-46433: _PyType_GetModuleByDef: handle static types in MRO (GH-30696) (GH-31262) 2022-02-11 12:25:25 +01:00
test_cgi.py bpo-41139: Deprecate cgi.log() (GH-25625) 2021-04-29 11:36:04 +09:00
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 bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654) 2022-03-17 17:00:52 -07:00
test_cmd_line_script.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_code.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_code_module.py
test_codeccallbacks.py bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593) 2022-05-02 02:58:41 -07:00
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 [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_codeop.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_collections.py bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29708) 2021-11-22 09:05:54 -06:00
test_colorsys.py
test_compare.py
test_compile.py [3.10] GH-94329: Don't raise on excessive stack consumption (GH-94421) (#94448) 2022-07-11 13:21:17 +01:00
test_compileall.py bpo-47089: Avoid test_compileall failures on Windows (GH-32037) 2022-04-01 13:38:35 -07:00
test_complex.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_concurrent_futures.py test_concurrent_futures: Fix unneeded/confusing format call (GH-93119) 2022-07-18 19:38:05 -07:00
test_configparser.py bpo-38741: Definition of multiple ']' in header configparser (GH-17129) (#27110) 2021-07-13 16:35:30 +02:00
test_contains.py
test_context.py gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93146) 2022-05-24 10:52:29 +02:00
test_contextlib.py [3.10] gh-92118: Add test for traceback when exception is modified by (Async)ExitStack.__exit__ (GH-92339) (GH-92343) 2022-05-05 18:47:59 +01:00
test_contextlib_async.py GH-89369: test_contextlib_async finalizes event loop after each test (GH-93074) 2022-05-24 07:25:50 -07:00
test_copy.py gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) (GH-93632) 2022-06-10 15:59:39 +02:00
test_copyreg.py
test_coroutines.py bpo-44469: Fix tests for "async with" with bad object (GH-26817) 2021-06-21 00:57:07 -07:00
test_cprofile.py
test_crashers.py
test_crypt.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_csv.py bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) 2021-10-09 08:35:33 -07:00
test_ctypes.py
test_curses.py gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) 2022-04-25 22:57:57 -07:00
test_dataclasses.py [3.10] gh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424) (GH-94577) 2022-07-05 20:45:02 +02:00
test_datetime.py bpo-45229: Make datetime tests discoverable (GH-28615) 2021-10-01 00:36:17 -07:00
test_dbm.py [3.10] bpo-45500: Rewrite test_dbm (GH-29002) (GH-29069) 2021-10-19 22:21:03 +02:00
test_dbm_dumb.py
test_dbm_gnu.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_dbm_ndbm.py
test_decimal.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_decorators.py bpo-42073: allow classmethod to wrap other classmethod-like descriptors (GH-27115) (GH-27162) 2021-07-15 15:42:11 +02:00
test_defaultdict.py
test_deque.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_descr.py [3.10] gh-92112: Fix crash triggered by an evil custom mro() (GH-92113) (#92370) 2022-05-06 21:01:23 -07:00
test_descrtut.py
test_devpoll.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_dict.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_dict_version.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_dictcomps.py
test_dictviews.py
test_difflib.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_difflib_expect.html
test_dis.py [3.10] bpo-46724: Use JUMP_ABSOLUTE for all backward jumps. (GH-31326) (GH-31354) 2022-02-16 11:26:02 +00:00
test_distutils.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_doctest.py [3.10] bpo-28249: fix lineno location for empty DocTest instances (GH-30498) (#92981) 2022-05-19 21:16:57 +02:00
test_doctest.txt
test_doctest2.py bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29095) 2021-10-20 18:52:22 +02:00
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) 2021-07-30 16:25:28 +02:00
test_dtrace.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083) 2022-04-07 23:21:03 +01:00
test_ensurepip.py
test_enum.py bpo-44559: [Enum] restore fixes lost in 3.9 reversion (GH-29114) 2021-10-20 19:48:37 -07:00
test_enumerate.py
test_eof.py bpo-44396: Update multi-line-start location when reallocating tokenizer buffers (GH-26676) (GH-26695) 2021-06-12 21:27:02 +01:00
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py [3.10] Backport bpo-47212 (GH-32302) to Python 3.10 (GH-32334) 2022-04-05 09:21:49 -07:00
test_extcall.py
test_faulthandler.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_fcntl.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_file.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_file_eintr.py
test_filecmp.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_fileinput.py gh-93157: Fix fileinput didn't support errors in inplace mode (GH-95128) 2022-07-23 20:02:40 -07:00
test_fileio.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_finalization.py
test_float.py bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) 2021-08-20 10:48:47 -07:00
test_flufl.py Fix mistake in barry_as_FLUFL test (GH-31392) 2022-02-17 18:11:34 -08:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 02:39:03 -07:00
test_fork1.py
test_format.py [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511) 2021-09-22 01:33:59 +02:00
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) (#94911) 2022-07-16 22:06:33 +01:00
test_ftplib.py bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069) 2022-02-01 18:12:27 -08:00
test_funcattrs.py
test_functools.py [3.10] bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050) (GH-30254) 2021-12-25 16:12:32 +02:00
test_future.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_gdb.py bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28365) 2021-09-15 21:10:33 +02:00
test_generator_stop.py
test_generators.py [3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986). (GH-29988) 2021-12-08 14:46:32 +00:00
test_genericalias.py bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28367) 2021-09-15 21:35:16 +02:00
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getargs2.py [3.10] gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) (GH-95354) 2022-07-28 09:52:00 +03:00
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py
test_global.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_grammar.py bpo-46820: Refactor tests for ambiguous end of numerical literal (GH-31494) 2022-02-25 00:49:55 -08:00
test_graphlib.py bpo-45624: make test_graphlib not depend on the iteration order of sets (GH-29233) (GH-29293) 2021-10-28 23:15:01 +02:00
test_grp.py
test_gzip.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_hash.py
test_hashlib.py [3.10] bpo-47101: list only activated algorithms in hashlib.algorithms_available (GH-32076) (GH-32085) 2022-03-23 22:15:25 +01:00
test_heapq.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 03:02:40 -07:00
test_hmac.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py bpo-45229: Make test_http_cookiejar discoverable (GH-29004) 2021-10-17 09:47:03 -07:00
test_http_cookies.py
test_httplib.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_httpservers.py gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) 2022-06-21 14:36:55 -07:00
test_idle.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_imaplib.py gh-92886: Fix test that fails when running with -O in test_imaplib.py (GH-93237) 2022-06-03 20:38:54 -07:00
test_imghdr.py
test_imp.py
test_index.py
test_inspect.py gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (GH-94461) 2022-06-30 20:02:15 +02:00
test_int.py
test_int_literal.py
test_interpreters.py
test_io.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_ioctl.py
test_ipaddress.py bpo-29890: Test IPv*Interface construction with tuple argument (GH-30862) 2022-05-03 11:18:31 -07:00
test_isinstance.py bpo-30570: Fix segfault on buildbots caused by stack overflow from recursion in tests (GH-29258) 2021-11-04 13:45:05 -07:00
test_iter.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_iterlen.py
test_itertools.py Improve grouper() recipe to demonstrate all forms of zip() (GH-30837) (GH-30840) 2022-01-23 16:02:31 -06:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) 2022-06-30 02:46:27 -07:00
test_list.py
test_listcomps.py
test_lltrace.py [3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214) 2022-05-26 00:16:32 +02:00
test_locale.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_logging.py [3.10] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) (GH-94565) 2022-07-05 16:04:29 +01:00
test_long.py
test_longexp.py
test_lzma.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_mailbox.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_mailcap.py
test_marshal.py
test_math.py bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595) 2021-09-28 05:56:52 -07:00
test_memoryio.py
test_memoryview.py gh-92888: Fix memoryview bad __index__ use after free (GH-92946) (GH-93950) 2022-06-23 18:10:14 +08:00
test_metaclass.py
test_mimetypes.py bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229) 2022-03-15 08:14:19 -07:00
test_minidom.py bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31472) 2022-02-21 17:16:09 +01:00
test_mmap.py
test_module.py bpo-43901: Fix refleaks in test_module (GH-25754) 2021-04-30 17:26:45 +01:00
test_modulefinder.py
test_msilib.py
test_multibytecodec.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py
test_netrc.py [3.10] gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918). (GH-91946) 2022-04-26 10:50:22 +03:00
test_nis.py
test_nntplib.py bpo-43998: Fix testing without ssl module (GH-25790) 2021-05-01 22:17:01 +02:00
test_ntpath.py bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-93674) 2022-06-10 17:36:02 +01:00
test_numeric_tower.py
test_opcache.py
test_opcodes.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
test_openpty.py
test_operator.py bpo-44558: Match countOf is/== treatment to c (GH-27007) 2021-07-07 06:50:41 -07:00
test_optparse.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_ordered_dict.py
test_os.py bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858) 2022-05-10 23:52:39 +01:00
test_ossaudiodev.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_osx_env.py
test_pathlib.py gh-93156 - fix negative indexing into absolute pathlib.PurePath().parents (GH-93273) 2022-06-03 14:53:00 -07:00
test_patma.py [3.10] gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680) (#93690) 2022-06-10 19:34:15 +01:00
test_pdb.py bpo-46434: Handle missing docstrings in pdb help (GH-30705) 2022-01-21 11:32:43 -08:00
test_peepholer.py [3.10] bpo-45773: Stop "optimizing" certain jump patterns (GH-29526) 2021-11-11 13:52:43 -08:00
test_pickle.py [3.10] GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) (#94385) 2022-06-28 17:14:47 +01:00
test_picklebuffer.py
test_pickletools.py bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28478) 2021-09-20 18:19:31 +02:00
test_pipes.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_pkg.py
test_pkgutil.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_platform.py
test_plistlib.py
test_poll.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_popen.py
test_poplib.py Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_positional_only_arg.py
test_posix.py bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285) 2022-04-03 12:27:32 -07:00
test_posixpath.py bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01:00
test_pow.py
test_pprint.py
test_print.py bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) 2021-07-27 14:19:18 -07:00
test_profile.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_property.py
test_pstats.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_pty.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_pulldom.py
test_pwd.py
test_py_compile.py [3.10] bpo-31904: Correct error string in test_file_not_exists() for VxWorks (GH-25965) (GH-25983) 2021-05-08 02:09:29 -07:00
test_pyclbr.py
test_pydoc.py [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) 2022-03-18 20:46:31 +02:00
test_pyexpat.py
test_queue.py bpo-45835: Fix race condition in test_queue (GH-29601) (GH-29612) 2021-11-18 17:05:40 +01:00
test_quopri.py
test_raise.py [3.10] bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) (GH-30953) 2022-01-27 02:51:06 -08:00
test_random.py bpo-44018: random.seed() no longer mutates its inputs (GH-25856) (GH-25872) 2021-05-03 19:45:30 -07:00
test_range.py bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) 2021-09-04 13:39:30 -07:00
test_re.py RE: Add more tests for inline flag "x" and re.VERBOSE (GH-91854) 2022-04-23 03:16:36 -07:00
test_readline.py bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28333) 2021-09-15 14:38:49 +02:00
test_regrtest.py gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905) 2022-04-25 08:03:47 -07:00
test_repl.py
test_reprlib.py
test_resource.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_richcmp.py
test_rlcompleter.py bpo-44752: Make rlcompleter not call @property methods (GH-27401) (GH-27444) 2021-07-29 14:07:00 +02:00
test_robotparser.py
test_runpy.py gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920) 2022-04-25 22:26:47 -07:00
test_sax.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_sched.py
test_scope.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_script_helper.py
test_secrets.py
test_select.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_selectors.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_set.py bpo-46615: Don't crash when set operations mutate the sets (GH-31120) 2022-02-11 12:44:17 -08:00
test_setcomps.py
test_shelve.py [3.10] bpo-45502: Fix test_shelve (GH-29003) (GH-29305) 2021-10-29 12:40:22 +03:00
test_shlex.py
test_shutil.py gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160) (GH-94106) 2022-06-22 11:18:37 +02:00
test_signal.py [3.10] bpo-27718: Fix help for the signal module (GH-30063) (GH-30080) 2021-12-13 12:14:51 +02:00
test_site.py [3.10] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93970) 2022-06-30 02:48:13 -07:00
test_slice.py
test_smtpd.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) (GH-26907) 2021-06-25 00:38:01 +01:00
test_smtplib.py Define Py_BUILD_CORE_MODULE 2022-01-13 01:42:47 -08:00
test_smtpnet.py
test_sndhdr.py
test_socket.py gh-94821: Fix autobind of empty unix domain address (GH-94826) 2022-07-17 08:39:30 -07:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_spwd.py
test_sqlite.py
test_ssl.py gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282) 2022-07-27 00:43:12 -07:00
test_startfile.py
test_stat.py
test_statistics.py bpo-45852: Fix the Counter/iter test for statistics.mode() (GH-29667) (GH-29671) 2021-11-20 18:27:44 -06:00
test_strftime.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py GH-94254: Make _struct module types immutable (GH-94269) 2022-06-26 03:45:00 -07:00
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py [3.10] gh-91401: Conservative backport of subprocess._USE_VFORK (#91932) 2022-05-01 16:09:50 -07:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_symtable.py
test_syntax.py [3.10] gh-94192: Fix error for dictionary literals with invalid expression as value. (GH-94304) (#94344) 2022-06-27 19:21:42 +01:00
test_sys.py gh-92914: Round the allocated size for lists up to the even number (GH-92915) (GH-92942) 2022-06-07 10:54:40 +02:00
test_sys_setprofile.py [3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace (GH-94511) (#94579) 2022-07-05 19:52:33 +01:00
test_sys_settrace.py [3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace (GH-94511) (#94579) 2022-07-05 19:52:33 +01:00
test_sysconfig.py [3.10] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93970) 2022-06-30 02:48:13 -07:00
test_syslog.py
test_tabnanny.py [3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796) 2022-03-10 13:53:50 -08:00
test_tarfile.py gh-91387: Strip trailing slash from tarfile longname directories (GH-32423) 2022-06-21 11:09:55 -07:00
test_tcl.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_telnetlib.py
test_tempfile.py gh-83499: Fix closing file descriptors in tempfile (GH-93874) 2022-06-26 01:17:19 -07:00
test_textwrap.py
test_thread.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_threadedtempfile.py
test_threading.py bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549) 2021-09-27 14:39:35 -07:00
test_threading_local.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_threadsignals.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_time.py bpo-46530: add "thread_time" to test_time.test_get_clock_info (GH-30913) 2022-01-28 08:56:50 -08:00
test_timeit.py
test_timeout.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_tix.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tk.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_tokenize.py [3.10] bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters (GH-30130). (GH-30898) 2022-01-25 22:33:57 +00:00
test_trace.py
test_traceback.py bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29826) 2021-11-29 10:07:24 +00:00
test_tracemalloc.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_ttk_guionly.py [3.10] bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632) (GH-31634) 2022-03-02 17:05:14 +01:00
test_ttk_textonly.py bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927) 2021-10-13 18:59:04 +02:00
test_tuple.py
test_turtle.py bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 06:21:15 -08:00
test_type_annotations.py [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) 2021-09-03 21:13:00 -04:00
test_type_comments.py
test_typechecks.py
test_types.py gh-93021: Fix __text_signature__ for __get__ (GH-93023) (GH-94086) 2022-06-21 22:32:24 +02:00
test_typing.py gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259) (GH-94268) 2022-06-26 09:01:07 +03:00
test_ucn.py
test_unary.py
test_unicode.py bpo-44891: Tests id preserving on * 1 for str and bytes (GH-27745) 2021-08-13 04:04:08 -07:00
test_unicode_file.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_unicode_file_functions.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_unicode_identifiers.py
test_unicodedata.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07:00
test_unittest.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_urllib.py
test_urllib2.py bpo-46756: Fix authorization check in urllib.request (GH-31353) 2022-02-25 03:57:30 -08:00
test_urllib2_localnet.py gh-87497: Document that urllib.request sends headers in camel case (GH-24661) (#91517) 2022-04-19 18:20:03 -07:00
test_urllib2net.py GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113) 2022-05-24 05:32:19 -07:00
test_urllib_response.py
test_urllibnet.py
test_urlparse.py bpo-43882 Remove the newline, and tab early. From query and fragments. (GH-25936) 2021-05-05 16:04:38 -07:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uu.py
test_uuid.py [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010) 2021-07-03 21:08:42 -07:00
test_venv.py [3.10] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip (GH-93959) (GH-94004) 2022-07-01 17:34:11 +02:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py [3.10] gh-79512: Fixed names and __module__ value of weakref classes (GH-93719) (GH-94071) 2022-06-21 22:36:09 +03:00
test_weakset.py [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) 2021-09-08 17:08:57 +02:00
test_webbrowser.py
test_winconsoleio.py bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) 2021-10-05 13:38:50 +01:00
test_winreg.py [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511) 2021-09-22 01:33:59 +02:00
test_winsound.py
test_with.py
test_wsgiref.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426) (GH-93790) 2022-06-16 18:16:42 +02:00
test_xml_etree_c.py bpo-27946: Fix possible crash in ElementTree.Element (GH-29915) 2021-12-05 11:04:52 -08:00
test_xmlrpc.py [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804) 2021-10-07 11:49:47 -04:00
test_xmlrpc_net.py [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py [3.10] gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP file (GH-32291) (GH-93140) 2022-05-25 00:57:56 -07:00
test_zipfile64.py [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (GH-30699) 2022-01-20 10:44:21 +09:00
test_zipimport.py gh-92886: Fix tests that fail when running with optimizations (-O) in test_zipimport.py (GH-93236) 2022-06-10 16:32:27 -07:00
test_zipimport_support.py
test_zlib.py [3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) (GH-26885) 2021-06-23 16:46:25 -07: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
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