cpython/Lib/test
Eric Snow f32369480d
gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609)
(see https://github.com/python/cpython/issues/98608)

This change does the following:

1. change the argument to a new `_PyInterpreterConfig` struct
2. rename the function to `_Py_NewInterpreterFromConfig()`, inspired by `Py_InitializeFromConfig()` (takes a `_PyInterpreterConfig`  instead of `isolated_subinterpreter`)
3. split up the boolean `isolated_subinterpreter` into the corresponding multiple granular settings
   * allow_fork
   * allow_subprocess
   * allow_threads
4. add `PyInterpreterState.feature_flags` to store those settings
5. add a function for checking if a feature is enabled on an opaque `PyInterpreterState *`
6. drop `PyConfig._isolated_interpreter`

The existing default (see `Py_NewInterpeter()` and `Py_Initialize*()`) allows fork, subprocess, and threads and the optional "isolated" interpreter (see the `_xxsubinterpreters` module) disables all three.  None of that changes here; the defaults are preserved.

Note that the given `_PyInterpreterConfig` will not be used outside `_Py_NewInterpreterFromConfig()`, nor preserved.  This contrasts with how `PyConfig` is currently preserved, used, and even modified outside `Py_InitializeFromConfig()`.  I'd rather just avoid that mess from the start for `_PyInterpreterConfig`.  We can preserve it later if we find an actual need.

This change allows us to follow up with a number of improvements (e.g. stop disallowing subprocess and support disallowing exec instead).

(Note that this PR adds "private" symbols.  We'll probably make them public, and add docs, in a separate change.)
2022-10-26 11:16:30 -06:00
..
audiodata gh-77171 Support WAVE_FORMAT_EXTENSIBLE in the wave module (GH-96777) 2022-09-14 14:34:40 +01:00
capath bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
cjkencodings
crashers Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
data
decimaltestdata Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest gh-95027: Fix regrtest stdout encoding on Windows (#98492) 2022-10-21 16:21:36 +02:00
sndhdrdata
subprocessdata
support gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609) 2022-10-26 11:16:30 -06:00
test_asyncio GH-89237: fix hang in proactor subprocess.wait_closed() (#98572) 2022-10-24 13:21:42 -07:00
test_ctypes bpo-38748: Add ctypes test for stack corruption due to misaligned arguments (GH-26204) 2022-09-26 17:27:44 +01:00
test_email gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201) 2022-07-25 09:17:25 +03:00
test_import gh-94315: Check for DAC override capability (GH-94316) 2022-06-27 20:27:19 +02:00
test_importlib gh-97930: Merge with importlib_resources 5.9 (GH-97929) 2022-10-16 15:00:39 -04:00
test_json gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
test_lib2to3 Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_peg_generator gh-93124: Fix typos in comments (GH-93125) 2022-05-25 08:34:14 -07:00
test_sqlite3 gh-77617: Add sqlite3 command-line interface (#95026) 2022-08-01 12:25:16 +02:00
test_tkinter Add more tkinter.Canvas tests (GH-98475) 2022-10-20 13:43:12 +03:00
test_tomllib gh-90473: Reduce recursion limit on WASI even further (GH-94333) 2022-06-27 16:19:47 +02:00
test_tools gh-95731: Fix module docstring extraction in pygettext (#95732) 2022-10-15 07:57:53 -07:00
test_ttk gh-73588: Fix generation of the default name of tkinter.Checkbutton. (GH-97547) 2022-09-27 14:05:05 +03:00
test_unittest gh-97837: Change deprecation warning message in unittest (#97838) 2022-10-04 17:29:18 -07:00
test_warnings gh-95853: Add script to automate WASM build (GH-95828) 2022-08-13 21:56:08 +02:00
test_zoneinfo gh-97955: Migrate zoneinfo to Argument Clinic (#97958) 2022-10-07 11:06:23 -07:00
tracedmodules
typinganndata GH-96073: Fix wild replacement in inspect.formatannotation (#96074) 2022-10-07 11:23:06 -07:00
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) 2021-12-09 13:53:44 +00:00
_test_eintr.py Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
_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 bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
_test_multiprocessing.py gh-92886: Fix tests that fail when running with optimizations (-O) in _test_multiprocessing.py (GH-93233) 2022-10-19 11:07:07 +01:00
_test_venv_multiprocessing.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-20 14:53:38 +01:00
_testcppext.cpp gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +02:00
_typed_dict_helper.py bpo-44863: Allow generic typing.TypedDict (#27663) 2022-05-03 07:21:42 -06:00
allsans.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ann_module.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) 2021-07-16 20:33:40 -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) 2021-09-25 10:56:22 +02:00
ann_module6.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) 2021-09-25 10:56:22 +02:00
ann_module7.py bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) 2022-01-21 13:24:33 -08:00
ann_module8.py bpo-46571: improve typing.no_type_check to skip foreign objects (GH-31042) 2022-02-18 17:53:29 -08:00
audiotest.au
audiotests.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
audit-tests.py Add more syslog tests (GH-97953) 2022-10-07 20:17:08 +03: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 bpo-40003: test.bisect_cmd copies Python options (GH-19246) 2020-03-31 17:25:56 +02:00
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE converter (GH-97729) 2022-10-03 10:42:54 +03:00
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_1_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_textanno.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
datetimetester.py gh-69142: add %:z strftime format code (gh-95983) 2022-08-28 14:27:42 -07:00
dis_module.py
doctest_aliases.py
doctest_lineno.py bpo-28249: fix lineno location for empty DocTest instances (GH-30498) 2022-05-19 17:46:15 +02:00
double_const.py
empty.vbs
exception_hierarchy.txt bpo-46417: Factorize _PyExc_InitTypes() code (GH-30804) 2022-01-22 21:48:56 +01:00
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py bpo-45256: Remove the usage of the C stack in Python to Python calls (GH-28488) 2021-10-09 16:51:30 +01:00
good_getattr.py
idnsans.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ieee754.txt bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606) 2021-06-12 10:23:02 +01:00
imp_dummy.py
inspect_fodder.py bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) 2020-12-04 18:45:38 +02:00
inspect_fodder2.py bpo-35113: Fix inspect.getsource to return correct source for inner classes (#10307) 2020-04-18 21:49:32 +05:30
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 bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert3.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert4.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycertecc.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
levenshtein_examples.json gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
list_tests.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
lock_tests.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
mailcap.txt
make_ssl_certs.py Fix a typo in the message from make_ssl_certs. (GH-30152) 2021-12-16 21:08:18 -08:00
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mock_socket.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
mod_generics_cache.py bpo-46348: modernize test_typing (GH-30547) 2022-01-12 08:48:10 -08:00
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
nokia.pem
nosan.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
nullbytecert.pem
nullcert.pem
pickletester.py gh-95196: Disable incorrect pickling of the C implemented classmethod descriptors (GH-96383) 2022-10-05 14:21:16 +03:00
profilee.py
pstats.pck
pycacert.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pycakey.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pyclbr_input.py
pydoc_mod.py bpo-26120: make pydoc exclude __future__ imports from the data block of the module (GH-30888) 2022-03-28 22:02:57 +01:00
pydocfodder.py
pythoninfo.py gh-95174: Add pthread stubs for WASI (GH-95234) 2022-07-27 20:28:06 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02:00
regrtest.py
relimport.py
reperf.py
revocation.crl bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
setup_testcppext.py gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +02:00
sgml_input.html
signalinterproctester.py Use support.sleeping_retry() and support.busy_retry() (#93848) 2022-06-15 14:09:56 +02:00
Sine-1000Hz-300ms.aif
smtpd.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
sortperf.py Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
ssltests.py Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) 2021-05-01 13:53:57 -07:00
string_tests.py gh-94808: Cover str.rsplit for UCS1, UCS2 or UCS4 (#98228) 2022-10-15 11:40:22 -07:00
talos-2019-0758.pem
test___all__.py bpo-47061: deprecate the aifc module (GH-32134) 2022-04-05 12:05:48 -07:00
test___future__.py
test__locale.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test__opcode.py gh-94216: add pseudo instructions to the dis/opcodes modules (GH-94241) 2022-07-01 15:33:35 +01:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test__xxsubinterpreters.py Add test.support.busy_retry() (#93770) 2022-06-15 11:42:10 +02:00
test_abc.py gh-91578: improved error message when trying to instantiate an abstract class with missing methods (gh-47246) 2022-05-12 11:26:11 -04:00
test_abstract_numbers.py
test_aifc.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_argparse.py gh-92445 Improve interaction between nargs="*" and choices() (GH-92565) 2022-08-25 06:18:38 -05:00
test_array.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
test_ast.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_asyncgen.py gh-96348: Deprecate the 3-arg signature of coroutine.throw and generator.throw (GH-96428) 2022-09-30 09:43:02 +01:00
test_asynchat.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_asyncore.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_atexit.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_audioop.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_audit.py Add more syslog tests (GH-97953) 2022-10-07 20:17:08 +03:00
test_augassign.py
test_base64.py gh-93096: Remove python -m base64 -t (gh-94230) 2022-07-02 15:53:43 +09:00
test_baseexception.py gh-97591: In Exception.__setstate__() acquire strong references before calling tp_hash slot (#97700) 2022-10-01 20:57:17 -07:00
test_bdb.py gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers. (GH-93962) 2022-06-22 14:05:45 +02:00
test_bigaddrspace.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_bigmem.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_binascii.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_binop.py
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-94808: Add coverage for boolobject.c:bool_new (GH-94859) 2022-07-14 16:53:06 -07:00
test_buffer.py gh-90751: memoryview now supports half-float (#96738) 2022-09-10 22:44:10 +02:00
test_bufio.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_builtin.py gh-96670: Raise SyntaxError when parsing NULL bytes (#97594) 2022-09-27 23:23:42 +01:00
test_bytes.py gh-94808: Add coverage for bytesarray_setitem (#95802) 2022-10-10 08:28:41 -07:00
test_bz2.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_c_locale_coercion.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_calendar.py gh-57539: Increase calendar test coverage (GH-93468) 2022-06-07 10:44:29 +02:00
test_call.py gh-91058: Add error suggestions to 'import from' import errors (#98305) 2022-10-25 23:56:59 +01:00
test_capi.py gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609) 2022-10-26 11:16:30 -06:00
test_cgi.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_cgitb.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_charmapcodec.py bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
test_check_c_globals.py gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) 2022-08-09 16:04:05 -07:00
test_class.py gh-94808: Add test coverage for PyObject_HasAttrString (#96627) 2022-10-03 13:37:15 -07:00
test_clinic.py gh-92886: [clinic.py] raise exception on invalid input instead of assertion (GH-98051) 2022-10-07 14:41:35 -07:00
test_cmath.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_cmd.py gh-67248: cmd: Sort miscellaneous help topics (#92254) 2022-05-03 21:36:52 -06:00
test_cmd_line.py gh-96512: Move int_max_str_digits setting to PyConfig (#96944) 2022-10-03 13:55:45 -07:00
test_cmd_line_script.py gh-96670: Raise SyntaxError when parsing NULL bytes (#97594) 2022-09-27 23:23:42 +01:00
test_code.py GH-97779: Ensure that *all* frame objects are backed by "complete" frames (GH-97845) 2022-10-04 17:30:03 -07:00
test_code_module.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_codeccallbacks.py bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593) 2022-05-02 12:37:48 +03: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 gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (#94370) 2022-10-21 16:01:05 -07:00
test_codeop.py gh-96052: codeop: fix handling compiler warnings in incomplete input (GH-96132) 2022-09-16 17:37:30 +03:00
test_collections.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_colorsys.py
test_compare.py
test_compile.py gh-98461: Fix location of RETURN_VALUE in async generator bytecode. compiler_jump_if no longer needs a pointer to the loc. (GH-98494) 2022-10-25 12:26:26 +01:00
test_compileall.py gh-90473: Skip and document more failing tests on WASI (GH-93436) 2022-06-03 00:44:48 +02:00
test_complex.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_concurrent_futures.py gh-95166: cancel map waited on future on timeout (GH-95169) 2022-07-28 11:20:10 +02:00
test_configparser.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_contains.py
test_context.py gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) 2022-05-23 21:09:59 +02:00
test_contextlib.py gh-92118: Add test for traceback when exception is modified by (Async)ExitStack.__exit__ (GH-92339) 2022-05-05 17:39:33 +01:00
test_contextlib_async.py GH-89369: test_contextlib_async finalizes event loop after each test (#93074) 2022-05-24 15:41:32 +02:00
test_copy.py gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) 2022-06-09 10:12:43 +03:00
test_copyreg.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_coroutines.py gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) 2022-10-07 16:12:28 -07:00
test_cppext.py gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +02:00
test_cprofile.py
test_crashers.py bpo-41043: Escape literal part of the path for glob(). (GH-20994) 2020-06-20 11:10:31 +03:00
test_crypt.py gh-91217: deprecate crypt (GH-91459) 2022-04-11 17:02:19 -07:00
test_csv.py gh-65496: Correct wording on csv's skipinitialspace argument (#96170) 2022-10-07 11:15:34 -07:00
test_curses.py gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) 2022-04-26 07:59:56 +03:00
test_dataclasses.py bpo-35540 dataclasses.asdict now supports defaultdict fields (gh-32056) 2022-10-06 17:11:59 -07:00
test_datetime.py Revert "Revert "bpo-45229: Make datetime tests discoverable (GH-28615)" (GH-28650)" (GH-28667) 2021-10-01 10:57:58 +03:00
test_dbm.py bpo-45500: Rewrite test_dbm (GH-29002) 2021-10-19 21:11:28 +02:00
test_dbm_dumb.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_dbm_gnu.py GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) 2022-09-08 19:32:40 -07:00
test_dbm_ndbm.py GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) 2022-09-08 19:32:40 -07:00
test_decimal.py gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) 2022-09-02 09:35:08 -07:00
test_decorators.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_defaultdict.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_deque.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_descr.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_descrtut.py gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) 2022-08-08 14:00:17 +03:00
test_devpoll.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_dict.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dictcomps.py bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_dictviews.py gh-96408: Test set operation on items dict view. (GH-96438) 2022-08-30 17:43:23 -05:00
test_difflib.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_difflib_expect.html
test_dis.py gh-92886: make test_ast pass with -O (assertions off) (GH-98058) 2022-10-07 16:30:23 -07:00
test_distutils.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00
test_doctest.py gh-93883: elide traceback indicators when possible (#93994) 2022-07-11 07:40:53 +01:00
test_doctest.txt
test_doctest2.py bpo-45229: Make doctest tests discoverable (GH-28986) 2021-10-20 16:36:27 +02:00
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) 2022-03-30 12:00:27 +01:00
test_dtrace.py gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473) 2022-06-03 22:14:31 +02:00
test_dynamic.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_dynamicclassattribute.py
test_eintr.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01:00
test_embed.py gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609) 2022-10-26 11:16:30 -06:00
test_ensurepip.py bpo-42856: Add --with-wheel-pkg-dir=PATH configure option (GH-24210) 2021-01-20 17:07:21 +01:00
test_enum.py gh-96865: [Enum] fix Flag to use CONFORM boundary (GH-97528) 2022-10-05 15:25:55 -07:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
test_eof.py bpo-44396: Update multi-line-start location when reallocating tokenizer buffers (GH-26676) 2021-06-12 10:53:49 -07:00
test_epoll.py bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) 2020-12-16 11:16:25 +01:00
test_errno.py
test_except_star.py Run Tools/scripts/reindent.py (#94225) 2022-06-26 10:34:06 +02:00
test_exception_group.py Increase test coverage of Objects/exceptions.c (GH-94674) 2022-07-08 19:01:47 +01:00
test_exception_hierarchy.py gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
test_exception_variations.py bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) 2022-01-27 13:40:44 +00:00
test_exceptions.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_extcall.py gh-96751: Remove dead code from CALL_FUNCTION_EX opcode (GH-96752) 2022-09-15 10:33:13 +01:00
test_faulthandler.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_fcntl.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_file.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_file_eintr.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_filecmp.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_fileinput.py gh-93157: Fix fileinput didn't support errors in inplace mode (GH-95128) 2022-07-24 11:42:11 +09:00
test_fileio.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_fileutils.py bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701) 2020-10-14 18:44:07 -07:00
test_float.py gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) 2022-08-10 19:25:39 +01:00
test_flufl.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 11:46:29 +03:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049) 2022-04-11 15:34:18 +01:00
test_fractions.py Allow whitespace around a slash in fraction string inputs (GH-96496) 2022-09-02 11:10:58 -05:00
test_frame.py gh-97922: Run the GC only on eval breaker (#97920) 2022-10-08 07:57:09 -07:00
test_frozen.py bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_fstring.py gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (#94895) 2022-07-16 19:51:53 +01:00
test_ftplib.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py gh-64373: Convert _functools to Argument Clinic (#96640) 2022-10-07 10:36:40 -07:00
test_future.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py gh-93353: Add test.support.late_deletion() (#93774) 2022-06-14 01:09:23 +02:00
test_gdb.py Do not run test_gdb when gdb embeds Python 2. (GH-31956) 2022-03-17 18:00:56 +09:00
test_generator_stop.py
test_generators.py GH-97752: Clear the previous member of newly-created generator/coroutine frames (GH-97795) 2022-10-04 00:36:52 +01:00
test_genericalias.py GH-87390: Add remaining tests for PEP 646 (#98267) 2022-10-25 07:44:30 -07:00
test_genericclass.py gh-92114: Improve error message for types with __class_getitem__ = None (GH-92115) 2022-05-02 08:29:49 +03:00
test_genericpath.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_genexps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_getargs2.py gh-94938: Fix errror detection of unexpected keyword arguments (GH-94999) 2022-07-28 07:40:36 +03:00
test_getopt.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_getpass.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_getpath.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_gettext.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_glob.py bpo-37578: glob.glob -- added include_hidden parameter (GH-30153) 2021-12-18 06:23:34 -08:00
test_global.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_grammar.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_graphlib.py no-issue: remove unused import from test_graphlib.py (GH-29853) 2021-11-30 11:27:37 +09:00
test_grp.py gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
test_gzip.py bpo-46267: Test compresslevel in gzip.compress (#30416) 2022-05-02 23:11:06 -06:00
test_hash.py bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) 2021-10-10 17:29:46 +09:00
test_hashlib.py gh-94199: Remove hashlib.pbkdf2_hmac() Python implementation (GH-94200) 2022-06-28 11:51:13 +02:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_hmac.py bpo-43988: Use check disallow instantiation helper (GH-26392) 2021-05-27 08:43:52 +02:00
test_html.py
test_htmlparser.py gh-95813: Improve HTMLParser from the view of inheritance (#95874) 2022-08-18 13:16:33 +02:00
test_http_cookiejar.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_http_cookies.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_httplib.py gh-95149: Enhance http.HTTPStatus with properties that indicate the HTTP status category (GH-95453) 2022-08-30 11:11:44 -07:00
test_httpservers.py gh-87389: Fix an open redirection vulnerability in http.server. (#93879) 2022-06-21 13:16:57 -07:00
test_idle.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_imaplib.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_imghdr.py gh-91217: deprecate imghdr (#91461) 2022-04-13 10:47:41 -07:00
test_imp.py gh-98354: Add unicode check for 'name' attribute in _imp_create_builtin (GH-98412) 2022-10-19 17:25:10 -07:00
test_index.py
test_inspect.py GH-83901: Improve Signature.bind error message for missing keyword-only params (#95347) 2022-10-07 15:24:17 -07:00
test_int.py gh-90716: add _pylong.py module (#96673) 2022-10-25 22:00:50 -07:00
test_int_literal.py
test_interpreters.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_io.py gh-94169: Remove deprecated io.OpenWrapper (#94170) 2022-06-24 08:46:53 +02:00
test_ioctl.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_ipaddress.py gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
test_isinstance.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_iter.py gh-94808: Coverage: Check picklablability of calliter (#95923) 2022-10-03 13:50:30 -07:00
test_iterlen.py
test_itertools.py GH-98363: Fix exception handling in batched() (GH-98523) 2022-10-21 12:31:52 -05:00
test_keyword.py
test_keywordonlyarg.py bpo-40679: Use the function's qualname in certain TypeErrors (GH-20236) 2020-05-22 13:40:17 -07:00
test_kqueue.py
test_largefile.py gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) 2022-05-19 12:43:16 +02:00
test_launcher.py gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460) 2022-10-19 23:00:09 +01:00
test_linecache.py gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) 2022-06-30 10:18:18 +01:00
test_list.py gh-97616: list_resize() checks for integer overflow (#97617) 2022-09-29 00:07:07 +02:00
test_listcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_lltrace.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_locale.py gh-94226: Remove the locale.format() function (#94229) 2022-06-26 12:41:19 +02:00
test_logging.py gh-90195: Unset logger disabled flag when configuring it. (GH-96530) 2022-09-03 13:38:38 +01:00
test_long.py gh-94808: Cover PyObject_PyBytes case with custom __bytes__ method (#96610) 2022-10-06 05:16:16 -07:00
test_longexp.py
test_lzma.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_mailbox.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_mailcap.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_marshal.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_math.py bpo-37295: Use constant-time comb() and perm() for larger n depending on k (GH-30305) 2022-01-09 15:32:25 +02:00
test_memoryio.py
test_memoryview.py gh-90751: memoryview now supports half-float (#96738) 2022-09-10 22:44:10 +02:00
test_metaclass.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_mimetypes.py bpo-45639: Add webp and avif image formats to mimetypes (#29259) 2022-05-03 15:17:57 -06:00
test_minidom.py gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr (#96176) 2022-08-23 09:16:02 -07:00
test_mmap.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_module.py gh-97850: Remove all known instances of module_repr() (#97876) 2022-10-05 11:42:26 -07:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
test_msilib.py gh-91217: deprecate msilib (GH-91515) 2022-04-14 12:50:11 -07:00
test_multibytecodec.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
test_multiprocessing_spawn.py
test_named_expressions.py bpo-43017: Improve error message for unparenthesised tuples in comprehensions (GH24314) 2021-01-31 22:52:56 +00:00
test_netrc.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_nis.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_nntplib.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_ntpath.py gh-81790: support "UNC" device paths in ntpath.splitdrive() (GH-91882) 2022-06-10 16:59:55 +01:00
test_numeric_tower.py gh-68163: Correct conversion of Rational instances to float (GH-25619) 2022-09-04 13:15:59 +01:00
test_opcache.py GH-94822: Don't specialize when metaclasses are involved (GH-94892) 2022-07-18 10:10:22 -07:00
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-44019: Add test_all_exported_names for operator module (GH-29124) 2021-10-22 07:58:04 +09:00
test_optparse.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_ordered_dict.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_os.py gh-98393: os module reject bytes-like, only accept bytes (#98394) 2022-10-18 17:52:31 +02:00
test_ossaudiodev.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_osx_env.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_pathlib.py gh-94909: fix joining of absolute and relative Windows paths in pathlib (GH-95450) 2022-08-12 14:23:41 -07:00
test_patma.py gh-94499 Add test for private name mangling in class pattern matching (#94500) 2022-07-13 09:13:10 -07:00
test_pdb.py gh-93696: Locate frozen module source with __file__ (#93697) 2022-10-25 06:22:53 -07:00
test_peepholer.py gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952) 2022-10-20 18:27:41 -04:00
test_pep646_syntax.py bpo-43224: Implement PEP 646 grammar changes (GH-31018) 2022-03-26 09:55:35 -07:00
test_perf_profiler.py gh-96143: subprocess API %s/universal_newlines=/text=/g. (GH-96468) 2022-09-01 02:47:40 -07:00
test_pickle.py GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) 2022-06-28 10:01:43 +03:00
test_picklebuffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_pickletools.py bpo-45229: Make pickle tests discoverable (GH-28467) 2021-09-20 18:21:33 +03:00
test_pipes.py gh-91217: deprecate-pipes (GH-91779) 2022-04-21 19:28:34 -07:00
test_pkg.py
test_pkgutil.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_platform.py gh-89545: Updates platform module to use new internal _wmi module on Windows to directly query OS properties (GH-96289) 2022-09-07 21:09:20 +01:00
test_plistlib.py bpo-42095: plistlib: Add tests that compare with plutil(1) (#27173) 2021-07-17 12:11:04 +02:00
test_poll.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_popen.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_poplib.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_positional_only_arg.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_posix.py gh-95023: Added os.setns and os.unshare functions (#95046) 2022-10-20 11:08:54 +02:00
test_posixpath.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_pow.py bpo-46218: Change long_pow() to sliding window algorithm (GH-30319) 2022-01-02 13:18:20 -06:00
test_pprint.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_print.py bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) 2021-07-27 21:30:32 +01:00
test_profile.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_property.py bpo-41287: Handle doc argument of property.__init__ in subclasses (#23205) 2022-05-28 20:25:51 -07:00
test_pstats.py bpo-38659: [Enum] add _simple_enum decorator (GH-25497) 2021-04-21 10:20:44 -07:00
test_pty.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_pulldom.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
test_pwd.py gh-95376: Add test for names containing null (#GH-5394) 2022-08-06 18:53:19 +02:00
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-95913: make the new internal classes pdb.ModuleTarget/ScriptTarget private (GH-96053) 2022-08-18 11:16:07 +01:00
test_pydoc.py gh-65961: Do not rely solely on __cached__ (GH-97990) 2022-10-06 15:40:22 -07:00
test_pyexpat.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_queue.py gh-90473: Skip test_queue when threading is not available (GH-93712) 2022-06-11 11:55:11 +02:00
test_quopri.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_raise.py bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) 2022-01-27 10:24:48 +00:00
test_random.py GH-81620: Add random.binomialvariate() (GH-94719) 2022-07-13 09:46:04 -05:00
test_range.py bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) 2021-09-04 21:02:21 +03:00
test_re.py gh-94675: Add a regression test for rjsmin re slowdown (GH-94685) 2022-08-03 16:19:36 -07:00
test_readline.py bpo-45195: Fix test_readline.test_nonascii() (GH-28329) 2021-09-14 17:38:04 +02:00
test_regrtest.py gh-93353: regrtest supports checking tmp files with -j2 (#93909) 2022-06-16 21:48:26 +02:00
test_repl.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_reprlib.py gh-92734: Add indentation feature to reprlib.Repr (GH-92735) 2022-09-08 13:51:44 -05:00
test_resource.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_richcmp.py
test_rlcompleter.py gh-92032: Add soft keywords to rlcompleter (#92029) 2022-05-02 16:36:29 -06:00
test_robotparser.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_runpy.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_sax.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (#31144) 2022-09-20 18:34:13 -07:00
test_scope.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_script_helper.py bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01:00
test_secrets.py
test_select.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_selectors.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_set.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_setcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_shelve.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_shlex.py gh-94352: shlex.split() no longer accepts None (#94353) 2022-07-04 15:29:19 +02:00
test_shutil.py gh-74696: Pass root_dir to custom archivers which support it (GH-94251) 2022-10-05 12:48:59 +03:00
test_signal.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_site.py gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206) 2022-06-24 11:48:53 +01:00
test_slice.py
test_smtplib.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
test_smtpnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_sndhdr.py gh-91217: deprecate-sndhdr (#91806) 2022-04-22 15:48:03 -07:00
test_socket.py gh-95243: Mitigate the race condition in testSockName (#96173) 2022-08-24 18:37:18 -07:00
test_socketserver.py gh-93852: Add test.support.create_unix_domain_name() (#93914) 2022-06-17 13:16:51 +02:00
test_sort.py gh-95173: Add a regression test for sorting tuples containing None (#95464) 2022-08-01 18:02:09 +02:00
test_source_encoding.py gh-96268: Fix loading invalid UTF-8 (#96270) 2022-09-07 14:23:54 -07:00
test_spwd.py gh-91217: deprecate spwd (#91846) 2022-04-23 14:48:17 -07:00
test_ssl.py gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282) 2022-07-27 09:19:49 +02:00
test_stable_abi_ctypes.py gh-93274: Expose receiving vectorcall in the Limited API (GH-95717) 2022-08-08 14:12:05 +02:00
test_startfile.py bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
test_stat.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_statistics.py GH-95861: Add support for Spearman's rank correlation coefficient (GH-95863) 2022-08-18 13:48:27 -05:00
test_strftime.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_string.py bpo-46307: Add string.Template.get_identifiers() method (GH-30493) 2022-01-11 11:15:42 -08:00
test_string_literals.py gh-94808: Coverage: Test uppercase string literal prefixes (GH-95925) 2022-09-24 13:43:16 +03:00
test_stringprep.py
test_strptime.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_strtod.py
test_struct.py GH-78724: Initialize struct.Struct in __new__ (GH-94532) 2022-09-25 14:32:48 +01:00
test_structmembers.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_structseq.py bpo-42128: Add __match_args__ to structseq-based classes (GH-24732) 2021-03-04 00:03:44 +00:00
test_subclassinit.py
test_subprocess.py gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with encoding or errors args (#97826) 2022-10-04 17:47:49 -07:00
test_sunau.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_sundry.py bpo-45124: Remove the bdist_msi command (GH-28195) 2021-09-07 12:34:27 +02:00
test_super.py bpo-46921: Vectorcall support for super() (GH-31687) 2022-03-06 14:21:28 +08:00
test_support.py Add test.support.busy_retry() (#93770) 2022-06-15 11:42:10 +02:00
test_symtable.py gh-98393: os module reject bytes-like, only accept bytes (#98394) 2022-10-18 17:52:31 +02:00
test_syntax.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_sys.py gh-91051: allow setting a callback hook on PyType_Modified (GH-97875) 2022-10-21 14:41:51 +01:00
test_sys_setprofile.py gh-98257: Make _PyEval_SetTrace() reentrant (#98258) 2022-10-20 00:31:47 +02:00
test_sys_settrace.py gh-98257: Make _PyEval_SetTrace() reentrant (#98258) 2022-10-20 00:31:47 +02:00
test_sysconfig.py gh-95853: Multiple ops and debug for wasm_build.py (#96744) 2022-09-11 09:51:23 +02:00
test_syslog.py Add more syslog tests (GH-97953) 2022-10-07 20:17:08 +03:00
test_tabnanny.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_tarfile.py gh-70441: Fix test_tarfile on systems w/o bz2 (gh-2962) (#94258) 2022-06-25 12:53:37 +02:00
test_tcl.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_telnetlib.py gh-91217: deprecate telnetlib (GH-91958) 2022-04-26 10:45:08 -07:00
test_tempfile.py gh-58451: Add optional delete_on_close parameter to NamedTemporaryFile (GH-97015) 2022-10-04 23:37:33 +01:00
test_textwrap.py bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) 2020-10-18 20:01:15 +03:00
test_thread.py test_thread uses support.sleeping_retry() (#93849) 2022-06-15 13:52:13 +02:00
test_threadedtempfile.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_threading.py GH-93503: Add thread-specific APIs to set profiling and tracing functions in the C-API (#93504) 2022-08-24 23:21:39 +01:00
test_threading_local.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_threadsignals.py gh-95174: Add pthread stubs for WASI (GH-95234) 2022-07-27 20:28:06 +02:00
test_time.py Remove space. (GH-97807) 2022-10-03 17:12:36 -07:00
test_timeit.py bpo-40670: More reliable validation of statements in timeit.Timer. (GH-22358) 2020-09-22 16:16:46 +03:00
test_timeout.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_tix.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_tokenize.py gh-94808: Coverage: Test that maximum indentation level is handled (#95926) 2022-10-06 10:39:17 -07:00
test_trace.py bpo-37971: fix the position of decorator application (GH-30027) 2021-12-11 00:45:02 +01:00
test_traceback.py gh-91058: Add error suggestions to 'import from' import errors (#98305) 2022-10-25 23:56:59 +01:00
test_tracemalloc.py GH-96612: Skip incomplete frames in tracemalloc traces. (GH-96613) 2022-09-06 17:37:47 +01:00
test_ttk_textonly.py bpo-45229: Make tkinter tests discoverable (GH-28637) 2021-10-13 18:12:48 +02:00
test_tuple.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_turtle.py bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 14:57:55 +01:00
test_type_annotations.py bpo-45060: Get rid of few uses of the equality operators with None (GH-28087) 2021-08-31 16:59:52 +03:00
test_type_cache.py bpo-44914: Add tests for some invariants of tp_version_tag (GH-27774) 2021-08-16 20:18:36 +01:00
test_type_comments.py gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997) 2022-08-12 19:27:50 +02:00
test_typechecks.py
test_types.py gh-96348: Deprecate the 3-arg signature of coroutine.throw and generator.throw (GH-96428) 2022-09-30 09:43:02 +01:00
test_typing.py gh-98713: Use @cpython_only for a test that fails on PyPy (#98714) 2022-10-26 14:15:39 +01:00
test_ucn.py bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (GH-22575) 2020-10-06 16:21:56 +02:00
test_unary.py
test_unicode.py gh-94808: Improve coverage of unicode_find and unicode_rfind (#98648) 2022-10-25 16:37:53 -07:00
test_unicode_file.py gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 15:57:26 +02:00
test_unicode_file_functions.py gh-95853: Add script to automate WASM build (GH-95828) 2022-08-13 21:56:08 +02:00
test_unicode_identifiers.py bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) 2020-05-12 12:42:04 +03:00
test_unicodedata.py gh-96954: Add tests for unicodedata.name/lookup (#96955) 2022-09-21 14:52:40 +02:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_unpack.py gh-91625: Don't ignore extended args of adaptive opcodes (GH-91626) 2022-04-17 14:04:29 -04:00
test_unpack_ex.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_unparse.py gh-92986: Fix ast.unparse when ImportFrom.level is None (#92992) 2022-09-05 20:14:50 +03:00
test_urllib.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_urllib2.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_urllib2_localnet.py gh-87497: Document that urllib.request sends headers in camel case (GH-24661) 2022-04-13 19:19:16 -07:00
test_urllib2net.py GH-93112: Fix missing ResourceDenied import in test_urllib2net (#93113) 2022-05-24 14:09:52 +02:00
test_urllib_response.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_urllibnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_urlparse.py gh-96035: Make urllib.parse.urlparse reject non-numeric ports (#98273) 2022-10-20 14:00:56 -07:00
test_userdict.py
test_userlist.py
test_userstring.py bpo-44110: Improve string's __getitem__ error message (GH-26042) 2021-06-27 15:04:57 +03:00
test_utf8_mode.py bpo-47000: Add locale.getencoding() (GH-32068) 2022-04-09 09:54:54 +09:00
test_utf8source.py
test_uu.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_uuid.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_venv.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-20 14:53:38 +01:00
test_wait3.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wait4.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wave.py gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509) 2022-09-23 16:08:21 +01:00
test_weakref.py gh-79512: Fixed names and __module__ value of weakref classes (GH-93719) 2022-06-14 07:18:03 +03:00
test_weakset.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_webbrowser.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_winconsoleio.py bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) 2021-10-05 13:17:13 +01:00
test_winreg.py [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
test_winsound.py gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489) 2022-05-22 18:54:24 -07:00
test_with.py bpo-12022: Change error type for bad objects in "with" and "async with" (GH-26809) 2021-06-29 11:27:04 +03:00
test_wmi.py gh-96684: Silently suppress COM security errors in _wmi module (GH-96690) 2022-09-08 22:02:04 +01:00
test_wsgiref.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_xdrlib.py gh-91217: deprecate xdrlib (GH-92066) 2022-04-29 18:22:10 -07:00
test_xml_dom_minicompat.py
test_xml_etree.py gh-91447: Fix findtext to only give an empty string on None (GH-91486) 2022-08-01 09:52:39 -07:00
test_xml_etree_c.py bpo-27946: Fix possible crash in ElementTree.Element (GH-29915) 2021-12-05 14:22:54 +02:00
test_xmlrpc.py gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) 2022-09-02 09:35:08 -07:00
test_xmlrpc_net.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_xxlimited.py bpo-45459: Add Py_buffer to limited API (GH-29991) 2022-02-02 07:03:10 -08:00
test_xxtestfuzz.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py Add more tests for throwing into yield from (GH-94097) 2022-06-23 16:48:28 -07:00
test_zipapp.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_zipfile.py gh-45108: Improve docstring and testing of ZipFile.testfile() (GH-96233) 2022-09-03 08:58:25 +03:00
test_zipfile64.py gh-45108: Improve docstring and testing of ZipFile.testfile() (GH-96233) 2022-09-03 08:58:25 +03:00
test_zipimport.py gh-91181: drop support for bytes on sys.path (GH-31934) 2022-07-16 18:07:53 -07:00
test_zipimport_support.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_zlib.py gh-95534: Improve gzip reading speed by 10% (#97664) 2022-10-16 19:10:58 -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