cpython/Lib/test
Mario Corchero d65b783b69
gh-61215: New mock to wait for multi-threaded events to happen (#16094)
mock: Add `ThreadingMock` class

Add a new class that allows to wait for a call to happen by using
`Event` objects. This mock class can be used to test and validate
expectations of multithreading code.

It uses two attributes for events to distinguish calls with any argument
and calls with specific arguments.

The calls with specific arguments need a lock to prevent two calls in
parallel from creating the same event twice.

The timeout is configured at class and constructor level to allow users
to set a timeout, we considered passing it as an argument to the
function but it could collide with a function parameter. Alternatively
we also considered passing it as positional only but from an API
caller perspective it was unclear what the first number meant on the
function call, think `mock.wait_until_called(1, "arg1", "arg2")`, where
1 is the timeout.

Lastly we also considered adding the new attributes to magic mock
directly rather than having a custom mock class for multi threading
scenarios, but we preferred to have specialised class that can be
composed if necessary. Additionally, having added it to `MagicMock`
directly would have resulted in `AsyncMock` having this logic, which
would not work as expected, since when if user "waits" on a
coroutine does not have the same meaning as waiting on a standard
call.

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
2023-07-03 07:56:54 +01:00
..
audiodata gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02: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
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest gh-101634: regrtest reports decoding error as failed test (#106169) 2023-06-28 04:26:52 +02:00
subprocessdata
support Update test.support.interpreters to include missing RunFailedError import (#103841) 2023-06-26 17:30:20 +02:00
test_asyncio gh-105987: Fix reference counting issue in _asyncio._swap_current_task (#105989) 2023-06-24 10:53:24 +05:30
test_capi gh-106200: Remove unused imports (#106201) 2023-06-28 11:55:41 +00:00
test_ctypes gh-105751, test_ctypes: Remove disabled tests (#105826) 2023-06-15 12:22:01 +00:00
test_email gh-72346: Added isdst deprecation warning to email.utils.localtime (GH-91450) 2023-03-19 19:20:20 -05:00
test_import gh-102251: Disable non-rerunnable test in test_import (#106013) 2023-06-24 01:34:05 +02:00
test_importlib gh-104310: Rename the New Function in importlib.util (gh-105255) 2023-06-08 18:19:58 +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_peg_generator gh-105063: Disable test_peg_generator.TestCParser bco. ref leaks (#106024) 2023-06-23 19:04:17 +02:00
test_sqlite3 gh-105875: Require SQLite 3.15.2 or newer (#105876) 2023-06-19 00:29:08 +02:00
test_tkinter gh-105077: Fix test_tkinter refleak checking (GH-105078) 2023-05-30 03:53:55 +00: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-104780: Remove 2to3 program and lib2to3 module (#104781) 2023-05-23 19:40:02 +02:00
test_ttk gh-102778: Add sys.last_exc, deprecate sys.last_type, sys.last_value,sys.last_traceback (#102779) 2023-03-18 11:47:11 +00:00
test_unittest gh-61215: New mock to wait for multi-threaded events to happen (#16094) 2023-07-03 07:56:54 +01:00
test_warnings gh-39615: Add warnings.warn() skip_file_prefixes support (#100840) 2023-01-27 18:35:14 -08:00
test_zipfile gh-103861: Fix Zip64 extensions not being properly applied in some cases (#103863) 2023-05-16 00:43:44 -07: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-96073: Fix wild replacement in inspect.formatannotation (#96074) 2022-10-07 11:23:06 -07:00
xmltestdata
ziptestdata bpo-28494: Test existing zipfile working behavior. (GH-15853) 2019-09-10 09:14:11 -07:00
__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 gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06:00
_test_multiprocessing.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
_test_venv_multiprocessing.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00: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
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 gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520) 2023-01-13 11:31:06 +00: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-92536: Argument Clinic no longer emits PyUnicode_READY() (#105208) 2023-06-02 01:31:58 +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
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-103944: Remove last use of utcfromtimestamp (#103995) 2023-05-03 11:17:27 -04: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 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 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 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 gh-105042: Disable unmatched parens syntax error in python tokenize (#105061) 2023-05-30 22:52:52 +01:00
inspect_fodder2.py gh-105013: Fix inspect.getsource with parenthesized multiline lambdas (#105021) 2023-05-28 00:20:42 +01:00
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 bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
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
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 bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157) 2019-06-06 03:13:08 -07: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 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 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 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-100129: Add tests for pickling all builtin types and functions (GH-100142) 2022-12-21 16:31:22 +02: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 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 gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
pythoninfo.py gh-75552: Remove deprecated tkinter.tix module (GH-104902) 2023-05-27 12:34:19 -05:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py bpo-36528: Remove duplicate re tests. (GH-2689) 2019-09-11 17:02:34 +01:00
recursion.tar bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02:00
regrtest.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
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-95299: Rework test_cppext.py to not invoke setup.py directly (#103316) 2023-04-12 23:17:36 -05:00
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
sgml_input.html
shadowed_super.py gh-87729: add LOAD_SUPER_ATTR instruction for faster super() (#103497) 2023-04-24 22:22:14 +00:00
signalinterproctester.py Use support.sleeping_retry() and support.busy_retry() (#93848) 2022-06-15 14:09:56 +02:00
smtpd.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
sortperf.py Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
ssl_cert.pem
ssl_key.passwd.pem bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
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 gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
string_tests.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
talos-2019-0758.pem
test___all__.py gh-105407: Remove unused imports (#105554) 2023-06-09 12:50:31 +00: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-105481: remove HAS_ARG, HAS_CONST, IS_JUMP_OPCODE, IS_PSEUDO_OPCODE and replace by their new versions (#105865) 2023-06-17 17:00:16 +01:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test__xxinterpchannels.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test__xxsubinterpreters.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test_abc.py gh-98284: better error message for undefined abstractmethod (#97971) 2022-11-05 09:31:57 -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: fix test_array modifies warning filter (#106181) 2023-06-28 16:50:36 +09: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-105588: Add missing error checks to some obj2ast_* converters (GH-105589) 2023-06-15 15:45:13 -07:00
test_asyncgen.py GH-89091: raise RuntimeWarning for unawaited async generator methods (#104611) 2023-05-26 16:53:29 +05:30
test_atexit.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_audit.py gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520) 2023-01-13 11:31:06 +00: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-101517: fix line number propagation in code generated for except* (#103550) 2023-04-24 21:58:51 +01: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 gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09: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-82012: Deprecate bitwise inversion (~) of bool (#103487) 2023-05-03 00:00:42 -07:00
test_buffer.py gh-106197: Deduplicate tests in test_buffer (#106198) 2023-06-28 07:43:41 -07:00
test_bufio.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_builtin.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_bytes.py gh-94808: Add coverage for bytesarray_setitem (#95802) 2022-10-10 08:28:41 -07:00
test_bz2.py bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules (GH-7822) 2023-02-23 06:00:58 -08: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-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_call.py gh-106023: Remove _PyObject_FastCall() function (#106265) 2023-06-30 11:46:43 +02: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_class.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_clinic.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +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 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-97556: Raise null bytes syntax error upon null in multiline string (GH-104136) 2023-05-04 14:26:23 +02:00
test_code.py GH-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00: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-102406: replace exception chaining by PEP-678 notes in codecs (#102407) 2023-03-21 21:36:31 +00: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
test_compare.py gh-56276: Add tests to test_compare (#3199) 2023-05-20 12:07:40 -04:00
test_compile.py gh-104615: don't make unsafe swaps in apply_static_swaps (#104620) 2023-05-18 21:22:03 +00:00
test_compileall.py bpo-40447: accept all path-like objects in compileall.compile_file (#19883) 2022-12-23 14:19:16 -06:00
test_compiler_assemble.py gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059) 2023-06-29 09:34:00 -07:00
test_compiler_codegen.py GH-106008: Make implicit boolean conversions explicit (GH-106003) 2023-06-29 13:49:54 -07: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_concurrent_futures.py gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468) 2023-03-15 21:44:52 -07:00
test_configparser.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_contains.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
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-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup (#103792) 2023-04-24 22:17:02 +00:00
test_contextlib_async.py gh-95882: fix regression in the traceback of exceptions propagated from inside a contextlib context manager (#95883) 2023-01-03 15:47:13 +00:00
test_copy.py gh-100871: Improve copy module tests (GH-100872) 2023-01-11 09:14:41 -08: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-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00:00
test_cppext.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_cprofile.py GH-106152: Add PY_THROW event to cProfile (GH-106161) 2023-06-29 16:14:09 -07:00
test_crashers.py bpo-41043: Escape literal part of the path for glob(). (GH-20994) 2020-06-20 11:10:31 +03:00
test_csv.py gh-80480: array: Add 'w' typecode. (#105242) 2023-06-04 16:45:00 +00:00
test_curses.py gh-106194: Rename duplicated tests in test_curses (#106196) 2023-06-28 14:41:08 -06:00
test_dataclasses.py gh-104035: Do not ignore user-defined __{get,set}state__ in slotted frozen dataclasses (#104041) 2023-05-01 09:19:06 -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 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-106078: Convert _decimal types to heap types (#106079) 2023-06-29 10:27:20 +00: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 gh-102213: Optimize the performance of __getattr__ (GH-103761) 2023-05-01 18:10:35 +08: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 gh-94808: Improve coverage of dictresize (GH-100619) 2022-12-31 18:15:30 +09: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-98512: Add more tests for ValuesView (#98515) 2022-11-02 19:10:42 -07: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-106008: Make implicit boolean conversions explicit (GH-106003) 2023-06-29 13:49:54 -07:00
test_doctest.py gh-102500: Implement PEP 688 (#102521) 2023-05-04 07:59:46 -07: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-99113: Add PyInterpreterConfig.own_gil (gh-104204) 2023-05-05 15:59:20 -06: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-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) 2023-06-09 08:56:05 -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 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-105730: support more callables in ExceptionGroup.split() and subgroup() (#106035) 2023-06-23 19:47: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-103333: Pickle the keyword attributes of AttributeError (#103352) 2023-05-12 13:33:23 -07: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 gh-104469: Convert _testcapi/exceptions to use AC (gh-104502) 2023-05-21 18:39:45 +09:00
test_fcntl.py gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163) 2023-03-01 23:56:19 +09: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-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 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-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) 2023-05-10 17:44:52 +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 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 bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_fstring.py gh-105915: Fix SyntaxWarning becoming a SyntaxError with -We in test_fstring (#105943) 2023-06-20 16:13:07 +02:00
test_ftplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_funcattrs.py gh-104600: Make function.__type_params__ writable (#104601) 2023-05-18 16:45:37 -07:00
test_functools.py gh-104600: Make function.__type_params__ writable (#104601) 2023-05-18 16:45:37 -07: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-106023: Remove _PyObject_FastCall() function (#106265) 2023-06-30 11:46:43 +02:00
test_generator_stop.py
test_generators.py gh-104770: Let generator.close() return value (#104771) 2023-05-23 13:51:56 -07: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 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_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-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 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 gh-103492: Clarify SyntaxWarning with literal comparison (#103493) 2023-04-24 15:42:57 -06: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 GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (#106167) 2023-06-28 00:55:11 +00: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-99108: Refresh HACL* from upstream (#104401) 2023-05-11 21:23:52 +00:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
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 gh-95813: Improve HTMLParser from the view of inheritance (#95874) 2022-08-18 13:16:33 +02:00
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 bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_httplib.py gh-69152: add method get_proxy_response_headers to HTTPConnection class (#104248) 2023-05-16 06:20:30 +00: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-71383: IDLE - Document testing subsets of modules (#104463) 2023-05-13 23:55:20 -04:00
test_imaplib.py gh-85136: Remove disabled remote IMAP tests (#106022) 2023-06-23 13:39:50 +00:00
test_index.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_inspect.py gh-105080: Fixed inconsistent signature on derived classes (#105217) 2023-06-02 16:22:33 -06: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-101524: Split Up the _xxsubinterpreters Module (gh-101526) 2023-02-03 18:14:43 -07:00
test_io.py gh-62948: IOBase finalizer logs close() errors (#105104) 2023-05-31 11:41:19 +00: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-82836: fix private network check (#97733) 2022-11-29 13:32:18 -08: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-101588: Deprecate pickle/copy/deepcopy support in itertools (GH-104965) 2023-05-26 15:32:53 -05:00
test_keyword.py gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
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-103805: Lib test f541 linting issue fix (#103812) 2023-04-24 23:24:49 +00: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: test_list_resize_overflow() uses sys.maxsize (#99057) 2022-11-03 15:56:12 +01:00
test_listcomps.py gh-104602: Add additional test for listcomp with lambda (#104639) 2023-05-19 09:16:39 -06: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-103606: raise RuntimeError if config file is invalid or empty (#104701) 2023-05-20 22:26:49 +00: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 bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules (GH-7822) 2023-02-23 06:00:58 -08:00
test_mailbox.py gh-93121: fix test_mailbox where some test cases were accidentally dropped (#93242) 2023-04-06 23:19:11 +01: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-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01: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 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-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_mmap.py gh-103987: fix several crashes in mmap module (#103990) 2023-05-19 20:34:12 -07:00
test_module.py gh-104057: Fix direct invocation of test_module (GH-104059) 2023-05-01 20:17:47 +00:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
test_monitoring.py GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230) 2023-06-05 11:07:04 +01: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 gh-87447: Fix walrus comprehension rebind checking (#100581) 2023-01-08 15:51:29 -07: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_ntpath.py gh-104803: Implement ntpath.isdevdrive for checking whether a path is on a Windows Dev Drive (GH-104805) 2023-05-29 10:05:32 +01: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-106214: Fix test_opcache to skip threaded tests on non-threaded platforms (GH-106166) 2023-06-28 13:04:59 -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 gh-102088 Optimize iter_index itertools recipe (GH-102360) 2023-03-01 21:16:23 -06: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 gh-101446: Change repr of collections.OrderedDict (#101661) 2023-02-07 20:01:10 -06: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 bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_pathlib.py GH-89812: Improve test for pathlib.Path.stat() (GH-106064) 2023-07-01 13:33:29 +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-103124: Multiline statement support for pdb (GH-103125) 2023-06-15 23:34:42 +00:00
test_peepholer.py gh-104635: Eliminate redundant STORE_FAST instructions in the compiler (gh-105320) 2023-06-08 08:39:56 +09: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-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 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_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 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-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01: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-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 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 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 bpo-38659: [Enum] add _simple_enum decorator (GH-25497) 2021-04-21 10:20:44 -07:00
test_pty.py gh-96522: Fix deadlock in pty.spawn (#96639) 2023-05-19 13:22:43 +00: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-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
test_pydoc.py gh-102541: Fix Helper.help("mod") for non-existent mod (#105934) 2023-07-01 18:46:06 -04: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-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-105687: Remove deprecated objects from re module (#105688) 2023-06-14 12:26:20 +02: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-101634: regrtest reports decoding error as failed test (#106169) 2023-06-28 04:26:52 +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-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_shutil.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_signal.py GH-102397: Fix segfault from race condition in signal handling (#102399) 2023-03-08 13:29:39 +05:30
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 GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01: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_socket.py gh-92658: Fix typo in docs and tests for HV_GUID_PARENT (GH-105267) 2023-06-06 17:11:19 +01:00
test_socketserver.py gh-103673: Add missing ForkingUnixStreamServer and ForkingUnixDatagramServer socketservers (#103674) 2023-04-24 22:35:52 +00: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-99891: Fix infinite recursion in the tokenizer when showing warnings (GH-99893) 2022-11-30 03:36:06 -08:00
test_ssl.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_stable_abi_ctypes.py gh-105927: Add PyWeakref_GetRef() function (#105932) 2023-06-21 11:40:09 +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-102670: Use sumprod() to simplify, speed up, and improve accuracy of statistics functions (GH-102649) 2023-03-13 20:06:43 -05:00
test_str.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_strftime.py gh-99482: remove jython compatibility parts from stdlib and tests (#99484) 2022-12-23 14:17:24 -06: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-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-98248: Normalizing the error messages in function struct.pack (GH-98252) 2022-12-04 20:24:18 +00: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 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-105436: Ignore unrelated errors when checking empty env (GH-105742) 2023-06-14 00:00:16 +01:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py gh-105035: fix super() calls on unusual types (e.g. meta-types) (#105094) 2023-05-30 14:36:24 -06:00
test_support.py gh-104835: Remove unittest's deprecated getTestCaseNames, makeSuite, findTestCases (#104836) 2023-05-24 21:16:43 +00: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-98931: Add custom error messages to invalid import/from with multiple targets (#105985) 2023-06-22 15:56:40 +00:00
test_sys.py GH-91095: Specialize calls to normal Python classes. (GH-99331) 2023-06-22 09:48:19 +01: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-91095: Specialize calls to normal Python classes. (GH-99331) 2023-06-22 09:48:19 +01: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 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-102120: [TarFile] Add an iter function that doesn't cache (GH-102128) 2023-05-23 13:44:40 -07:00
test_tcl.py gh-104411: Update test_getint for Tcl 9.0 (GH-104412) 2023-06-06 13:01:22 +03:00
test_tempfile.py gh-51574: Make tempfile.mkdtemp() always return absolute paths (#94612) 2023-04-25 16:05:59 +00: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 gh-100228: Warn from os.fork() if other threads exist. (#100229) 2022-12-29 14:41:39 -08: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-104690 Disallow thread creation and fork at interpreter finalization (#104826) 2023-06-04 04:06:45 +00: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 gh-95174: Add pthread stubs for WASI (GH-95234) 2022-07-27 20:28:06 +02:00
test_time.py gh-106316: Remove pytime.h header file (#106317) 2023-07-01 22:27:18 +00: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_tokenize.py gh-106200: Remove unused imports (#106201) 2023-06-28 11:55:41 +00:00
test_trace.py gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441) 2023-05-09 11:02:14 -06:00
test_traceback.py gh-105292: Add option to make traceback.TracebackException.format_exception_only recurse into exception groups (#105294) 2023-06-06 11:26:18 +02:00
test_tracemalloc.py gh-106320: Remove private _PyTraceMalloc C API functions (#106324) 2023-07-02 00:49:18 +00: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 gh-88773: Added teleport method to Turtle library (#103974) 2023-04-30 13:17:36 -07:00
test_type_aliases.py gh-105486: Change the repr of ParamSpec list of args in GenericAlias (#105488) 2023-07-01 00:04:50 +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-103091: Add PyUnstable_Type_AssignVersionTag (#103095) 2023-04-24 10:07:47 -06:00
test_type_comments.py gh-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05:00
test_type_params.py gh-105433: Add pickle tests for PEP695 (#105443) 2023-06-15 17:58:40 -07:00
test_typechecks.py
test_types.py test_types: Replace raw assert statements (#105500) 2023-06-08 07:46:33 -07:00
test_typing.py gh-105974: Revert unintentional behaviour change for protocols with non-callable members and custom __subclasshook__ methods (#105976) 2023-06-23 14:59:25 +00: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 gh-99688: Fix outdated tests in test_unary (#99712) 2022-12-11 18:44:29 -05: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-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00: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-106145: Make end_{lineno,col_offset} required on type_param nodes (#106224) 2023-06-30 23:45:08 +00: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-81403: Fix for CacheFTPHandler in urllib (#13951) 2023-04-22 21:41:23 -07: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-102153: Start stripping C0 control and space chars in urlsplit (#102508) 2023-05-17 01:49:20 -07:00
test_userdict.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 2019-06-05 18:22:31 +03:00
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 bpo-47000: Add locale.getencoding() (GH-32068) 2022-04-09 09:54:54 +09:00
test_utf8source.py
test_uuid.py gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709) 2023-03-23 17:42:43 -06:00
test_venv.py gh-103224: Use the realpath of the Python executable in test_venv (GH-103243) 2023-06-01 10:39:59 +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-105096: Deprecate wave getmarkers() method (#105098) 2023-05-31 12:09:41 +00:00
test_weakref.py gh-99184: Bypass instance attribute access in repr of weakref.ref (#99244) 2023-04-24 12:57:36 -06:00
test_weakset.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
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 bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) 2021-10-05 13:17:13 +01:00
test_winreg.py gh-103092: Isolate winreg (#103250) 2023-04-17 12:30:48 -06: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 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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_xml_dom_minicompat.py
test_xml_etree.py gh-100933: Improve check_element helper in test_xml_etree (#100934) 2023-02-08 11:13:43 +01:00
test_xml_etree_c.py gh-92123: Convert _elementtree types to heap types (#99221) 2023-01-20 12:40:06 +01:00
test_xmlrpc.py xmlrpc.client uses datetime.datetime.isoformat() (#105741) 2023-06-14 17:00:40 +02: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_zipfile64.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_zipimport.py gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059) 2023-05-03 04:55:22 -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-101322: Ensure test_zlib.ZlibDecompressorTest runs, fix errors in ZlibDecompressor (#101323) 2023-02-04 12:07:30 -08: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
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