cpython/Lib/test
Guido van Rossum bcce5e2718
gh-109039: Branch prediction for Tier 2 interpreter (#109038)
This adds a 16-bit inline cache entry to the conditional branch instructions POP_JUMP_IF_{FALSE,TRUE,NONE,NOT_NONE} and their instrumented variants, which is used to keep track of the branch direction.

Each time we encounter these instructions we shift the cache entry left by one and set the bottom bit to whether we jumped.

Then when it's time to translate such a branch to Tier 2 uops, we use the bit count from the cache entry to decided whether to continue translating the "didn't jump" branch or the "jumped" branch.

The counter is initialized to a pattern of alternating ones and zeros to avoid bias.

The .pyc file magic number is updated. There's a new test, some fixes for existing tests, and a few miscellaneous cleanups.
2023-09-11 18:20:24 +00:00
..
audiodata gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-109276: libregrtest: use separated file for JSON (#109277) 2023-09-11 19:33:42 +02:00
subprocessdata
support gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
test_asyncio gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_capi gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
test_concurrent_futures gh-107219: Fix concurrent.futures terminate_broken() (#108974) 2023-09-06 15:57:01 +02:00
test_cppext gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_ctypes Better integration of doctest and unittest in test_ctypes.test_objects (GH-108922) 2023-09-11 14:05:30 +03:00
test_dataclasses gh-108303: Create Lib/test/test_dataclasses/ directory (#108978) 2023-09-06 15:54:16 +02:00
test_email gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_import gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +02:00
test_importlib gh-105873: Make _xxsubinterpreters use exception type name in shared exception (#105874) 2023-07-08 08:44:50 +00:00
test_json Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)" (#105948) 2023-06-26 20:35:53 +02:00
test_module gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) 2023-08-23 17:42:08 +02:00
test_multiprocessing_fork gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_forkserver gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_spawn gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_peg_generator test_peg_generator and test_freeze require cpu (#108386) 2023-08-24 00:52:48 +02:00
test_sqlite3 gh-108590: Revert gh-108657 (commit 400a1cebc) (#108686) 2023-08-30 14:53:10 +00:00
test_tkinter gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test_tomllib gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
test_tools gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_ttk gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) 2023-08-07 14:11:39 +03:00
test_unittest gh-108927: Fix test_import + test_importlib + test_unittest problem (#108929) 2023-09-05 18:57:48 +00:00
test_warnings gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) 2023-07-10 16:29:03 -04:00
test_zipfile gh-106752: Sync with zipp 3.16.2 (#106757) 2023-07-15 09:21:17 -04:00
test_zoneinfo GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests (#22863) 2023-05-12 08:35:53 -04:00
tkinterdata gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
tracedmodules
typinganndata gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) 2023-08-23 17:42:08 +02:00
xmltestdata
ziptestdata
__init__.py
__main__.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609) 2022-10-26 11:16:30 -06:00
_test_embed_structseq.py gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06:00
_test_multiprocessing.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
_test_venv_multiprocessing.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
_typed_dict_helper.py
allsans.pem
audiotests.py
audit-tests.py gh-108294: Add error handling for time.sleep audit event (GH-108363) 2023-09-05 10:25:08 +02:00
autotest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
bad_coding.py
bad_coding2.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 gh-108834: regrtest reruns failed tests in subprocesses (#108839) 2023-09-03 21:37:15 +00:00
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test.c gh-108444: Argument Clinic uses PyLong_AsInt() (#108458) 2023-08-25 00:51:22 +02:00
cmath_testcases.txt Few coverage nitpicks for the cmath module (#102067) 2023-02-22 19:10:01 +00:00
coding20731.py
curses_tests.py
datetimetester.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
dis_module.py
doctest_aliases.py
doctest_lineno.py gh-99433: Fix doctest failure on types.MethodWrapperType (#99434) 2022-12-30 17:25:01 +05:30
double_const.py
empty.vbs
exception_hierarchy.txt
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
idnsans.pem
ieee754.txt
imp_dummy.py
inspect_fodder.py gh-105042: Disable unmatched parens syntax error in python tokenize (#105061) 2023-05-30 22:52:52 +01:00
inspect_fodder2.py gh-106727: Make inspect.getsource smarter for class for same name definitions (#106815) 2023-07-18 23:20:31 +00:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
levenshtein_examples.json
list_tests.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
lock_tests.py
make_ssl_certs.py
mapping_tests.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
math_testcases.txt
memory_watchdog.py gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) 2023-03-02 20:10:08 +09:00
mime.types
mock_socket.py
mod_generics_cache.py gh-104549: Set __module__ on TypeAliasType (#104550) 2023-05-18 15:56:15 -07:00
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pickletester.py gh-93627: Align Python implementation of pickle with C implementation of pickle (GH-103035) 2023-09-10 10:06:08 +03:00
profilee.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py
pydocfodder.py gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
pythoninfo.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
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
setuptools-67.6.1-py3-none-any.whl gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316) 2023-04-12 23:17:36 -05:00
shadowed_super.py gh-87729: add LOAD_SUPER_ATTR instruction for faster super() (#103497) 2023-04-24 22:22:14 +00:00
signalinterproctester.py
smtpd.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
string_tests.py gh-106487: Allow the 'count' argument of str.replace to be a keyword (#106488) 2023-07-10 12:52:36 +03:00
talos-2019-0758.pem
test___all__.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test___future__.py
test__locale.py
test__opcode.py gh-105481: remove dependency of _inline_cache_entries on opname (#107339) 2023-07-27 14:15:25 +01:00
test__osx_support.py
test__xxinterpchannels.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test__xxsubinterpreters.py gh-105873: Make _xxsubinterpreters use exception type name in shared exception (#105874) 2023-07-08 08:44:50 +00:00
test_abc.py gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_abstract_numbers.py
test_argparse.py gh-103558: Add coverage tests for argparse (#103570) 2023-06-05 00:14:00 -07:00
test_array.py gh-106162: array: suppress warning in test_array (#106404) 2023-07-05 02:02:49 +09:00
test_asdl_parser.py
test_ast.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_asyncgen.py GH-109067: fix randomly failing test_async_gen_asyncio_gc_aclose_09 test (#109142) 2023-09-08 16:27:58 +00:00
test_atexit.py
test_audit.py gh-108294: Add error handling for time.sleep audit event (GH-108363) 2023-09-05 10:25:08 +02:00
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py gh-101517: fix line number propagation in code generated for except* (#103550) 2023-04-24 21:58:51 +01:00
test_bigaddrspace.py
test_bigmem.py gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09:00
test_binascii.py gh-109140: Rename duplicated tests in test_binascii (#109141) 2023-09-08 15:30:28 +00:00
test_binop.py
test_bisect.py
test_bool.py gh-82012: Deprecate bitwise inversion (~) of bool (#103487) 2023-05-03 00:00:42 -07:00
test_buffer.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_bufio.py
test_builtin.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_bytes.py gh-107178: Add the C API tests for the Abstract Objects Layer (GH-107179) 2023-08-07 18:51:43 +03:00
test_bz2.py gh-108418: Speed up bigmem compression tests in dry mode (GH-108419) 2023-08-25 12:37:27 +03:00
test_c_locale_coercion.py
test_calendar.py gh-69714: Make calendar module fully tested (#93655) 2023-07-22 15:20:40 +02:00
test_call.py gh-108494: Argument Clinic: fix support of Limited C API (GH-108536) 2023-08-28 16:04:27 +03:00
test_charmapcodec.py
test_class.py gh-107178: Add the C API tests for the Abstract Objects Layer (GH-107179) 2023-08-07 18:51:43 +03:00
test_clinic.py gh-107603: Argument Clinic: Only include pycore_gc.h if needed (#108726) 2023-08-31 23:42:34 +02:00
test_cmath.py gh-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) 2023-05-10 17:44:52 +01:00
test_cmd.py
test_cmd_line.py gh-106320: Remove private _PyMem API (#107187) 2023-07-24 18:48:06 +00:00
test_cmd_line_script.py gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) 2023-07-10 16:29:03 -04:00
test_code.py gh-109052: Use the base opcode when comparing code objects (gh-109107) 2023-09-09 10:24:49 +09:00
test_code_module.py
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-50644: Forbid pickling of codecs streams (GH-109180) 2023-09-10 20:06:09 +03:00
test_codeop.py gh-103492: Clarify SyntaxWarning with literal comparison (#103493) 2023-04-24 15:42:57 -06:00
test_collections.py gh-91896: Revert some very noisy DeprecationWarnings for ByteString (#104424) 2023-05-13 09:55:35 +01:00
test_colorsys.py gh-106498: Revert incorrect colorsys.rgb_to_hls change (#106627) 2023-07-11 11:07:20 -04:00
test_compare.py gh-56276: Add tests to test_compare (#3199) 2023-05-20 12:07:40 -04:00
test_compile.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_compileall.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_compiler_assemble.py GH-105848: Simplify the arrangement of CALL's stack (GH-107788) 2023-08-09 18:19:39 +00:00
test_compiler_codegen.py GH-105848: Simplify the arrangement of CALL's stack (GH-107788) 2023-08-09 18:19:39 +00:00
test_complex.py gh-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) 2023-05-10 17:44:52 +01:00
test_configparser.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_contains.py
test_context.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_contextlib.py gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311) 2023-07-20 14:41:32 +05:30
test_contextlib_async.py gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311) 2023-07-20 14:41:32 +05:30
test_copy.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
test_copyreg.py
test_coroutines.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test_cprofile.py GH-106152: Add PY_THROW event to cProfile (GH-106161) 2023-06-29 16:14:09 -07:00
test_csv.py gh-109050: Remove remaining tests for legacy Unicode C API (GH-109068) 2023-09-09 05:44:46 +00:00
test_curses.py gh-106194: Rename duplicated tests in test_curses (#106196) 2023-06-28 14:41:08 -06:00
test_datetime.py GH-84976: Move Lib/datetime.py to Lib/_pydatetime 2023-05-03 03:09:45 -06:00
test_dbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_dbm_dumb.py
test_dbm_gnu.py gh-107122: Add clear method to dbm.gdbm.module (gh-107127) 2023-07-23 13:51:12 +00:00
test_dbm_ndbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_decimal.py gh-109050: Remove remaining tests for legacy Unicode C API (GH-109068) 2023-09-09 05:44:46 +00:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_descrtut.py gh-96663: Add a better error message for __dict__-less classes setattr (#103232) 2023-07-21 17:24:26 -07:00
test_devpoll.py
test_dict.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_difflib.py
test_difflib_expect.html
test_dis.py gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
test_doctest.py Test DocTestFinder directly instead of calling support.run_doctest() (GH-108917) 2023-09-11 14:03:30 +03:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py gh-104280: Add test cases for DTrace probes (#107125) 2023-07-31 10:33:37 +02:00
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_embed.py gh-108753: Enhance pystats (#108754) 2023-09-06 15:54:59 +00:00
test_ensurepip.py gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039) 2023-04-17 23:43:34 -05:00
test_enum.py gh-109022: [Enum] require names=() to create empty enum type (GH-109048) 2023-09-07 18:19:03 -07:00
test_enumerate.py
test_eof.py gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
test_epoll.py gh-102795: Fix use of poll in test_epoll's test_control_and_wait (#102796) 2023-05-04 14:38:20 +00:00
test_errno.py
test_except_star.py gh-103590: do not wrap a single exception raised from a try-except* (#103665) 2023-04-27 12:52:15 +01:00
test_exception_group.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_extcall.py
test_faulthandler.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_fcntl.py Make test_fcntl quiet (#108758) 2023-09-01 14:59:09 +02:00
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) 2023-02-21 12:10:29 +09:00
test_fileio.py Make use of TESTFN_ASCII in test_fileio (GH-101645) 2023-02-07 09:22:58 -08:00
test_fileutils.py
test_finalization.py
test_float.py gh-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) 2023-05-10 17:44:52 +01:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py gh-104018: disallow "z" format specifier in %-format of byte strings (GH-104033) 2023-05-01 20:47:14 +01:00
test_fractions.py gh-101773: Optimize creation of Fractions in private methods (#101780) 2023-02-27 18:53:22 +00:00
test_frame.py GH-100126: Skip incomplete frames in more places (GH-100613) 2023-01-09 12:20:04 -08:00
test_frozen.py
test_fstring.py gh-109114: Relax the check for invalid lambdas inside f-strings to avoid false positives (#109121) 2023-09-08 17:00:23 +00:00
test_ftplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_funcattrs.py gh-108000: Test that lambda also has __type_params__ (#108002) 2023-08-16 06:22:18 -07:00
test_functools.py gh-90805: Make sure test_functools works with and without _functoolsmodule (GH-108644) 2023-09-11 19:13:37 +03:00
test_future.py gh-105908: fix barry_as_FLUFL future import (#105909) 2023-06-19 22:50:57 +01:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
test_gdb.py gh-91960: Skip test_gdb if gdb cannot retrive Python frames (#108999) 2023-09-06 14:34:35 +00:00
test_generated_cases.py gh-103186: Make test_generated_cases less noisy by default (GH-109100) 2023-09-07 20:53:38 +03:00
test_generator_stop.py
test_generators.py Fix test_generators: save/restore warnings filters (#108246) 2023-08-21 23:41:13 +00:00
test_genericalias.py gh-105486: Change the repr of ParamSpec list of args in GenericAlias (#105488) 2023-07-01 00:04:50 +00:00
test_genericclass.py
test_genericpath.py gh-106242: Fix path truncation in os.path.normpath (GH-106816) 2023-08-15 16:33:00 +01:00
test_genexps.py
test_getopt.py gh-89392: Use unittest test runner for doctests in test_getopt (GH-108916) 2023-09-05 17:35:28 +03:00
test_getpass.py
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 16:05:39 +00:00
test_gettext.py gh-62519: Make pgettext search plurals when translation is not found (#107118) 2023-07-23 16:08:28 +02:00
test_glob.py
test_global.py
test_grammar.py gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal (GH-109081) 2023-09-07 17:00:13 +03:00
test_graphlib.py
test_grp.py
test_gzip.py gh-108111: Flush gzip write buffer before seeking, fixing bad writes (#108341) 2023-08-24 10:23:01 +02:00
test_hash.py
test_hashlib.py gh-99108: Refresh HACL* from upstream (#104401) 2023-05-11 21:23:52 +00:00
test_heapq.py
test_hmac.py gh-103256: Fix hmac algorithm to support fallback implementation (gh-103286) 2023-04-07 10:51:29 +09:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py gh-99576: Fix cookiejar file that was not truncated for some classes (GH-99616) 2022-12-20 17:51:26 +01:00
test_http_cookies.py
test_httplib.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_httpservers.py gh-105821: Use a raw f-string in test_httpservers.py (#105822) 2023-06-15 10:48:01 +00:00
test_idle.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test_imaplib.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_index.py
test_inspect.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
test_int.py Improve int test coverage (#104024) 2023-04-30 17:16:38 -07:00
test_int_literal.py
test_interpreters.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_io.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_ioctl.py
test_ipaddress.py gh-87799: Improve the textual representation of IPv4-mapped IPv6 addresses (#29345) 2023-07-31 14:33:26 +00:00
test_isinstance.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_iter.py gh-101892: Fix SystemError when a callable iterator call exhausts the iterator (#101896) 2023-03-04 19:51:29 +05:30
test_iterlen.py
test_itertools.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_keyword.py gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_launcher.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test_linecache.py
test_list.py gh-97616: test_list_resize_overflow() uses sys.maxsize (#99057) 2022-11-03 15:56:12 +01:00
test_listcomps.py gh-109182: Fix and improve tests for gh-108654 (GH-109189) 2023-09-11 17:50:33 +03:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py gh-104783: locale.getencoding() fallback uses FS encoding (#105381) 2023-06-06 16:55:21 +02:00
test_logging.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_long.py gh-101266: Fix __sizeof__ for subclasses of int (#101394) 2023-02-05 10:02:53 +00:00
test_longexp.py
test_lzma.py gh-108418: Speed up bigmem compression tests in dry mode (GH-108419) 2023-08-25 12:37:27 +03:00
test_mailbox.py gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_marshal.py gh-99934: test_marshal.py: add more elements in test_deterministic_sets (GH-99935) 2022-12-03 10:53:20 -06:00
test_math.py gh-102837: improve test coverage for math module (#102523) 2023-09-03 01:48:47 -07:00
test_math_property.py gh-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01:00
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py gh-50002: xml.dom.minidom now preserves whitespaces in attributes (GH-107947) 2023-08-23 15:23:41 +03:00
test_mmap.py gh-105235: Prevent reading outside buffer during mmap.find() (#105252) 2023-07-12 22:50:45 -04:00
test_modulefinder.py
test_monitoring.py gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
test_msvcrt.py gh-108996: Skip broken test_msvcrt for now (#109169) 2023-09-08 23:56:53 +00:00
test_multibytecodec.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_multiprocessing_main_handling.py
test_named_expressions.py gh-87447: Fix walrus comprehension rebind checking (#100581) 2023-01-08 15:51:29 -07:00
test_netrc.py gh-89392: Remove test_main() in test_netrc (GH-108860) 2023-09-04 12:41:13 +03:00
test_ntpath.py gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248) 2023-08-22 00:16:02 +00:00
test_numeric_tower.py gh-101773: Optimize creation of Fractions in private methods (#101780) 2023-02-27 18:53:22 +00:00
test_opcache.py gh-108311: Fix test_store_attr_with_hint by disabling optimizer in decorator (#108312) 2023-08-25 16:40:27 +00:00
test_opcodes.py gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) 2023-08-23 17:42:08 +02:00
test_openpty.py
test_operator.py gh-102088 Optimize iter_index itertools recipe (GH-102360) 2023-03-01 21:16:23 -06:00
test_optparse.py
test_ordered_dict.py gh-105736: Sync pure python version of OrderedDict with the C version (#108098) 2023-08-21 11:49:08 +02:00
test_os.py gh-106046: Improve error message from os.fspath if __fspath__ is set to None (#106082) 2023-06-26 00:06:12 +01:00
test_osx_env.py
test_pathlib.py GH-78722: Raise exceptions from pathlib.Path.iterdir() without delay. (#107320) 2023-09-02 16:08:03 +01:00
test_patma.py GH-106135: Add more edge-"cases" to test_patma (GH-106271) 2023-06-30 19:39:50 +00:00
test_pdb.py GH-108976. Keep monitoring data structures valid during de-optimization during callback. (GH-109131) 2023-09-11 14:37:09 +01:00
test_peepholer.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_pep646_syntax.py gh-89392: Fix running test_pep646_syntax as script (GH-108875) 2023-09-04 15:24:03 +03:00
test_perf_profiler.py gh-103650: Fix perf maps address format (#103651) 2023-05-07 20:42:26 +01:00
test_perfmaps.py gh-103295: expose API for writing perf map files (#103546) 2023-05-21 11:12:24 +01:00
test_pickle.py gh-103092: Isolate _pickle module (#102982) 2023-04-04 15:38:54 +05:30
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py gh-97850: Deprecate find_loader and get_loader in pkgutil (GH-98520) 2023-05-03 16:11:54 -07:00
test_platform.py gh-102491: Remove IronPython version check in sys_version (#102492) 2023-03-19 15:52:47 -07:00
test_plistlib.py GH-103857: Deprecate utcnow and utcfromtimestamp (#103858) 2023-04-27 11:32:30 -06:00
test_poll.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_popen.py
test_poplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_positional_only_arg.py
test_posix.py gh-103724: Add test case if no arg as provided in os.register_at_fork (gh-103725) 2023-04-23 17:14:14 -06:00
test_posixpath.py gh-101000: Add os.path.splitroot() (#101002) 2023-01-27 00:28:27 +00:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py
test_print.py
test_profile.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_property.py gh-98963: Restore the ability to have a dict-less property. (#105262) 2023-06-05 03:18:15 +00:00
test_pstats.py
test_pty.py gh-96522: Fix deadlock in pty.spawn (#96639) 2023-05-19 13:22:43 +00:00
test_pulldom.py
test_pwd.py
test_py_compile.py gh-92886: Fix tests that fail when running with optimizations (-O) in test_py_compile.py (GH-93235) 2022-10-19 11:05:08 +01:00
test_pyclbr.py gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
test_pydoc.py gh-108638: Fix tests when _stat extension is missing (#108689) 2023-08-31 23:14:23 +02:00
test_pyexpat.py gh-109230: test_pyexpat no longer depends on the current directory (#109233) 2023-09-10 22:16:59 +00:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py GH-100805: Support numpy.array() in random.choice(). (GH-100830) 2023-01-08 13:40:35 -06:00
test_range.py Revert "Add tests for empty range equality (#103751)" (#103770) 2023-04-24 14:29:57 -04:00
test_re.py gh-56166: Deprecate passing confusing positional arguments in re functions (#107778) 2023-08-16 13:35:35 -07:00
test_readline.py
test_regrtest.py gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
test_repl.py gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +02:00
test_reprlib.py gh-107409: set __wrapped__ attribute in reprlib.recursive_repr (#107410) 2023-08-10 06:55:49 +00:00
test_resource.py
test_richcmp.py
test_rlcompleter.py gh-84805: Autogenerate signature for METH_NOARGS and METH_O extension functions (GH-107794) 2023-08-11 18:08:38 +03:00
test_robotparser.py
test_runpy.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_sax.py
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_shutil.py gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior (GH-99802) 2023-08-16 10:00:03 +03:00
test_signal.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_site.py gh-109237: Fix test_site for non-ASCII working directory (#109238) 2023-09-10 22:04:35 +00:00
test_slice.py GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py gh-65495: Use lowercase mail from and rcpt to in smtplib.SMTP (#107019) 2023-07-22 16:46:59 +02:00
test_smtpnet.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_socket.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_socketserver.py gh-103673: Add missing ForkingUnixStreamServer and ForkingUnixDatagramServer socketservers (#103674) 2023-04-24 22:35:52 +00:00
test_sort.py
test_source_encoding.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_ssl.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_stable_abi_ctypes.py gh-108444: Add PyLong_AsInt() public function (#108445) 2023-08-24 23:55:30 +02:00
test_startfile.py
test_stat.py gh-108638: Fix stat.filemode() when _stat is missing (#108639) 2023-08-29 15:46:46 +00:00
test_statistics.py Use unittest test runner for doctests in test_statistics (GH-108921) 2023-09-07 23:08:55 +03:00
test_str.py gh-109050: Remove remaining tests for legacy Unicode C API (GH-109068) 2023-09-09 05:44:46 +00:00
test_strftime.py gh-99482: remove jython compatibility parts from stdlib and tests (#99484) 2022-12-23 14:17:24 -06:00
test_string.py
test_string_literals.py gh-98401: Invalid escape sequences emits SyntaxWarning (#99011) 2022-11-03 17:53:25 +01:00
test_stringprep.py
test_strptime.py GH-90750: Use datetime.fromisocalendar in _strptime (#103802) 2023-04-27 10:27:27 -06:00
test_strtod.py
test_struct.py gh-107406: Add better struct.Struct repr (#107407) 2023-08-26 15:24:16 +05:30
test_structseq.py
test_subclassinit.py gh-77757: replace exception wrapping by PEP-678 notes in typeobject's __set_name__ (#103402) 2023-04-11 11:53:06 +01:00
test_subprocess.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py gh-106917: fix super classmethod calls to non-classmethods (#106977) 2023-07-24 13:14:56 -07:00
test_support.py gh-109162: libregrtest: remove WorkerJob class (#109204) 2023-09-10 01:41:21 +02:00
test_symtable.py gh-109207: Fix SystemError when printing symtable entry object. (GH-109225) 2023-09-10 15:04:24 +03:00
test_syntax.py gh-108179: Add error message for parser stack overflows (#108256) 2023-08-22 08:41:50 +01:00
test_sys.py gh-108753: Enhance pystats (#108754) 2023-09-06 15:54:59 +00:00
test_sys_setprofile.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_sys_settrace.py gh-109094: remove unnecessary updates of frame->prev_instr in instrumentation functions (#109076) 2023-09-07 18:23:11 +01:00
test_sysconfig.py
test_syslog.py gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) 2022-11-30 07:58:20 +09:00
test_tabnanny.py gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module (#104846) 2023-05-24 09:59:18 +00:00
test_tarfile.py gh-107902: Don't test setting suid/sgid on systems that don't support them (GH-108368) 2023-09-04 15:46:00 +02:00
test_tcl.py gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) 2023-08-07 14:11:39 +03:00
test_tempfile.py gh-108962: Skip test_tempfile.test_flags() if not supported (#108964) 2023-09-05 21:59:40 +00:00
test_textwrap.py
test_thread.py gh-100228: Warn from os.fork() if other threads exist. (#100229) 2022-12-29 14:41:39 -08:00
test_threadedtempfile.py
test_threading.py gh-102029: Deprecate passing arguments to _PyRLock in threading (#102071) 2023-08-17 09:19:07 -07:00
test_threading_local.py GH-100892: Fix race in clearing threading.local (#100922) 2023-01-11 16:03:31 +05:30
test_threadsignals.py
test_time.py gh-106316: Remove pytime.h header file (#106317) 2023-07-01 22:27:18 +00:00
test_timeit.py
test_timeout.py gh-75743: Restore test_timeout.testConnectTimeout() (#109087) 2023-09-07 20:13:32 +02:00
test_tokenize.py gh-108469: Update ast.unparse for unescaped quote support from PEP701 [3.12] (#108553) 2023-09-05 21:01:23 +01:00
test_trace.py gh-68403: Fix test_coverage in test_trace (GH-108910) 2023-09-07 21:28:18 +03:00
test_traceback.py gh-109179: Fix traceback display for SyntaxErrors with notes (#109197) 2023-09-11 19:18:34 +01:00
test_tracemalloc.py gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +02:00
test_ttk_textonly.py
test_tuple.py
test_turtle.py gh-107805: Fix signatures of module-level generated functions in turtle (#107807) 2023-09-01 01:18:15 -07:00
test_type_aliases.py gh-107905: Test raising __value__ for TypeAliasType (#107997) 2023-08-21 13:52:37 +00:00
test_type_annotations.py gh-105164: Detect annotations inside match blocks (#105177) 2023-06-05 06:07:17 -07:00
test_type_cache.py gh-89392: Use normal unittest runner in test_type_cache (GH-108911) 2023-09-05 13:46:17 +00:00
test_type_comments.py gh-107015: Remove async_hacks from the tokenizer (#107018) 2023-07-26 16:34:15 +01:00
test_type_params.py gh-109118: Fix runtime crash when NameError happens in PEP 695 function (#109123) 2023-09-09 02:49:20 +00:00
test_typechecks.py
test_types.py gh-109174: Add support of SimpleNamespace in copy.replace() (GH-109175) 2023-09-10 08:09:25 +03:00
test_typing.py gh-105509: Simplify implementation of typing.Annotated (#105510) 2023-09-01 13:57:25 -07:00
test_ucn.py
test_unary.py gh-99688: Fix outdated tests in test_unary (#99712) 2022-12-11 18:44:29 -05:00
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-108469: Update ast.unparse for unescaped quote support from PEP701 [3.12] (#108553) 2023-09-05 21:01:23 +01:00
test_urllib.py gh-105382: Remove urllib.request cafile parameter (#105384) 2023-06-06 21:17:45 +00:00
test_urllib2.py gh-99352: Ensure HTTPSConnection is available before exercising https tests. (#103828) 2023-04-25 18:02:27 -07:00
test_urllib2_localnet.py gh-105407: Remove unused imports (#105554) 2023-06-09 12:50:31 +00:00
test_urllib2net.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_urllib_response.py
test_urllibnet.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_urlparse.py gh-102153: Start stripping C0 control and space chars in urlsplit (#102508) 2023-05-17 01:49:20 -07:00
test_userdict.py
test_userlist.py
test_userstring.py gh-81005: Refactor str tests to reflect that str and unicode are merged in Python 3 (#13172) 2023-05-23 17:11:29 +03:00
test_utf8_mode.py
test_utf8source.py
test_uuid.py gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) 2023-07-10 16:29:03 -04:00
test_venv.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_wait3.py
test_wait4.py
test_wave.py gh-105096: Deprecate wave getmarkers() method (#105098) 2023-05-31 12:09:41 +00:00
test_weakref.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_weakset.py
test_webbrowser.py bpo-44844: Enable detection of Microsoft Edge browser in webbrowser module (GH-29908) 2023-04-04 17:00:03 +01:00
test_winconsoleio.py
test_winreg.py gh-103092: Isolate winreg (#103250) 2023-04-17 12:30:48 -06:00
test_winsound.py
test_with.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
test_wmi.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_etree.py bpo-45229: Make ElementTree tests discoverable (GH-108859) 2023-09-04 13:04:32 +03:00
test_xml_etree_c.py bpo-45229: Make ElementTree tests discoverable (GH-108859) 2023-09-04 13:04:32 +03:00
test_xmlrpc.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile64.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_zipimport.py gh-103200: Fix performance issues with zipimport.invalidate_caches() (GH-103208) 2023-07-07 22:02:13 +00:00
test_zipimport_support.py
test_zlib.py gh-108418: Speed up bigmem compression tests in dry mode (GH-108419) 2023-08-25 12:37:27 +03:00
testcodec.py
testtar.tar
testtar.tar.xz
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
wheel-0.40.0-py3-none-any.whl gh-95299: Rework test_cppext.py to not invoke setup.py directly (#103316) 2023-04-12 23:17:36 -05:00
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip