cpython/Lib/test
Alyssa Coghlan 3859e09e3d
gh-74929: PEP 667 C API documentation (gh-119379)
* Add docs for new APIs
* Add soft-deprecation notices
* Add What's New porting entries
* Update comments referencing `PyFrame_LocalsToFast()` to mention the proxy instead
* Other related cleanups found when looking for refs to the deprecated APIs
2024-06-01 13:59:35 +10:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-119273: Don't run test_ioctl in a process group (#119275) 2024-05-29 12:44:09 +00:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support CI: set correct working directory for Hypothesis cache (GH-119345) 2024-05-29 14:13:18 +02:00
test_asyncio Remove almost all unpaired backticks in docstrings (#119231) 2024-05-22 12:35:18 -04:00
test_capi gh-119585: Fix crash involving `PyGILState_Release()` and `PyThreadState_Clear()` (#119753) 2024-05-31 10:50:52 -04:00
test_cext
test_concurrent_futures
test_cppext
test_ctypes gh-97588: Align ctypes struct layout to GCC/MSVC (GH-97702) 2024-05-29 12:02:53 +02:00
test_dataclasses gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (#119480) 2024-05-29 17:26:22 +00:00
test_doctest GH-111744: Make breakpoint() enter the debugger immediately (GH-118579) 2024-05-05 07:05:01 -07:00
test_email gh-118643: Fix AttributeError in the email module (GH-119099) 2024-05-22 10:17:46 +00:00
test_free_threading gh-119247: Add macros to use PySequence_Fast safely in free-threaded build (#119315) 2024-05-22 17:45:34 +00:00
test_future_stmt gh-116860: Remove outdated `test_parserhack` from `test_future` (#116861) 2024-05-28 09:16:52 +00:00
test_gdb
test_import gh-119659: Move `@no_rerun` to `test.support` (#119660) 2024-05-28 18:50:50 +03:00
test_importlib gh-118727: Don't drop the GIL in `drop_gil()` unless the current thread holds it (#118745) 2024-05-23 16:59:35 -04:00
test_inspect gh-87106: Fix inspect.signature.bind() handling of positional-only arguments with **kwargs (GH-103404) 2024-05-13 10:56:09 +03:00
test_interpreters gh-117953: Always Run Extension Init Func in Main Interpreter First (gh-118157) 2024-05-07 04:21:51 +00:00
test_json
test_module gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib GH-82805: Fix handling of single-dot file extensions in pathlib (#118952) 2024-05-25 21:01:36 +01:00
test_peg_generator gh-118235: Move RAISE_SYNTAX_ERROR actions to invalid rules and make sure they stay there (GH-119731) 2024-05-30 09:27:32 +02:00
test_pydoc
test_pyrepl gh-118894: Make asyncio REPL use pyrepl (GH-119433) 2024-05-31 22:26:02 +02:00
test_sqlite3 gh-118928: sqlite3: disallow sequences of params with named placeholders (#118929) 2024-05-14 16:10:55 +00:00
test_tkinter gh-107262: Update Tkinter tests for Tcl/Tk 8.6.14 (GH-119322) 2024-05-30 20:34:59 +00:00
test_tomllib
test_tools
test_ttk gh-107262: Update Tkinter tests for Tcl/Tk 8.6.14 (GH-119322) 2024-05-30 20:34:59 +00:00
test_unittest
test_warnings
test_zipfile Re-order imports to align with zipp 3.18.2 (#119587) 2024-05-27 01:33:16 +00:00
test_zoneinfo gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
tkinterdata
tokenizedata
tracedmodules
typinganndata
wheeldata
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py gh-103134: Update multiprocessing.managers.ListProxy and DictProxy (GH-103133) 2024-05-20 14:28:36 +00:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-29 16:51:09 +01:00
autotest.py
bisect_cmd.py
clinic.test.c gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631) 2024-05-28 12:01:37 +03:00
cov.py
curses_tests.py
datetimetester.py gh-119659: Move `@no_rerun` to `test.support` (#119660) 2024-05-28 18:50:50 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py
lock_tests.py
mapping_tests.py
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (#119140) 2024-05-18 09:24:22 -04:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
seq_tests.py gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py
test__colorize.py
test__interpchannels.py
test__interpreters.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_android.py
test_argparse.py gh-118805: Remove type, choices, metavar params of `BooleanOptionalAction` (#118806) 2024-05-09 11:46:45 +00:00
test_array.py
test_asdl_parser.py
test_ast.py gh-119562: Remove AST nodes deprecated since Python 3.8 (#119563) 2024-05-26 12:34:48 +00:00
test_asyncgen.py GH-117714: implement athrow().close() and asend().close() using throw (GH-117906) 2024-05-06 17:13:15 +00:00
test_atexit.py
test_audit.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-29 16:51:09 +01:00
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py GH-111744: Support opcode events in bdb (GH-111834) 2024-05-04 07:44:49 -07:00
test_bigaddrspace.py
test_bigmem.py
test_binascii.py gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) 2024-05-07 11:18:45 +02:00
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py Fix typos in test_buffer.py and update numpy issue links (#118963) 2024-05-15 22:16:34 -07:00
test_bufio.py
test_builtin.py gh-118899: Add tests for `NotImplemented` attribute access (#118902) 2024-05-12 14:00:49 +00:00
test_bytes.py
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_charmapcodec.py
test_class.py gh-118362: Fix thread safety around lookups from the type cache in the face of concurrent mutators (#118454) 2024-05-06 10:50:35 -07:00
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py Fixing a typo in test_cmd_line.py (#118728) 2024-05-08 19:58:48 +00:00
test_cmd_line_script.py
test_code.py gh-119180: Add LOAD_COMMON_CONSTANT opcode (#119321) 2024-05-22 00:46:39 +00:00
test_code_module.py
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py
test_codeop.py
test_collections.py gh-118803: Remove `ByteString` from `typing` and `collections.abc` (#118804) 2024-05-09 00:37:55 +01:00
test_colorsys.py
test_compare.py
test_compile.py gh-119180: Add LOAD_COMMON_CONSTANT opcode (#119321) 2024-05-22 00:46:39 +00:00
test_compileall.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py gh-109218: Deprecate weird cases in the complex() constructor (GH-119620) 2024-05-30 23:30:57 +03:00
test_configparser.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_contains.py
test_context.py
test_contextlib.py
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py
test_cprofile.py
test_csv.py
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py gh-118164: str(10**10000) hangs if the C _decimal module is missing (#118503) 2024-05-04 18:22:33 -05:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-119180: Lazily wrap annotations on classmethod and staticmethod (#119864) 2024-05-31 14:05:51 -07:00
test_descrtut.py
test_devpoll.py
test_dict.py
test_dict_version.py
test_dictcomps.py
test_dictviews.py
test_difflib.py gh-119105: difflib.py Differ.compare is too slow [for degenerate cases] (#119376) 2024-05-22 18:25:08 -05:00
test_difflib_expect.html
test_dis.py gh-93554: add test for quickening of code in loops ending with conditional statement (#119485) 2024-05-29 11:44:04 +01:00
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py
test_ensurepip.py
test_enum.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
test_exception_group.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-118702: Implement vectorcall for BaseException (#118703) 2024-05-10 21:08:24 +02:00
test_extcall.py
test_external_inspection.py
test_faulthandler.py
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_fileio.py
test_fileutils.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py gh-119780: Adjust exception messages in Lib/test/test_format.py (GH-119781) 2024-05-31 11:07:16 +03:00
test_fractions.py gh-119189: Fix the power operator for Fraction (GH-119242) 2024-05-31 10:05:09 +00:00
test_frame.py gh-118921: Add `copy()` method for `FrameLocalsProxy` (#118923) 2024-05-10 15:53:10 -07:00
test_frozen.py
test_fstring.py
test_ftplib.py
test_funcattrs.py
test_functools.py gh-119011: `type.__type_params__` now return an empty tuple (#119296) 2024-05-28 18:12:58 +00:00
test_gc.py gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
test_generated_cases.py gh-119689: generate stack effect metadata for pseudo instructions (#119691) 2024-05-29 09:47:56 +00:00
test_generator_stop.py
test_generators.py
test_genericalias.py gh-110209: Add __class_getitem__ for generator and coroutine (#110212) 2024-05-06 18:41:32 -07:00
test_genericclass.py
test_genericpath.py gh-118507 : Refactor `nt._path_is*` to improve applicability for other cases (GH-118755) 2024-05-21 21:36:36 +01:00
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.py
test_gettext.py
test_glob.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_http_cookies.py
test_httplib.py
test_httpservers.py
test_idle.py
test_imaplib.py
test_index.py
test_int.py Try to repair oddball test bots timing out in test_int (#119166) 2024-05-18 20:54:23 -05:00
test_int_literal.py
test_io.py
test_ioctl.py gh-119770: Make termios ioctl() constants positive (#119840) 2024-05-31 17:18:40 +02:00
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py gh-117657: Fix itertools.count thread safety (#119268) 2024-05-21 10:16:34 -07:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension (GH-119426) 2024-05-29 18:51:13 +01:00
test_linecache.py
test_list.py
test_listcomps.py gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
test_lltrace.py
test_locale.py
test_logging.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_long.py GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) 2024-05-23 11:06:10 +01:00
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py
test_math.py gh-118671: Updated dead ActiveState links (#118730) 2024-05-08 01:06:38 -06:00
test_math_property.py
test_memoryio.py gh-118527: Intern code consts in free-threaded build (#118667) 2024-05-06 20:12:39 -04:00
test_memoryview.py
test_metaclass.py gh-118465: Add __firstlineno__ attribute to class (GH-118475) 2024-05-06 12:02:37 +03:00
test_mimetypes.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_minidom.py
test_mmap.py gh-118209: Add Windows structured exception handling to mmap module (GH-118213) 2024-05-10 10:47:30 +01:00
test_modulefinder.py
test_monitoring.py gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (#119216) 2024-05-21 20:42:51 +00:00
test_msvcrt.py
test_multibytecodec.py
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py
test_ntpath.py gh-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-118355) 2024-05-24 19:04:17 +01:00
test_numeric_tower.py
test_opcache.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optimizer.py
test_optparse.py
test_ordered_dict.py gh-118846: Fix PGO tests in free-threaded build (#118862) 2024-05-09 16:06:20 -04:00
test_os.py GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (#119766) 2024-05-30 03:45:47 +00:00
test_osx_env.py
test_patma.py
test_pdb.py gh-102864: Add switching frame test for pdb (#119564) 2024-05-26 17:05:23 +00:00
test_peepholer.py gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
test_pep646_syntax.py
test_perf_profiler.py gh-118518: Check for perf version and not kernel version in test_perf_profiler (#118640) 2024-05-07 20:41:07 +01:00
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_platform.py
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py
test_posixpath.py gh-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-118355) 2024-05-24 19:04:17 +01:00
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py gh-118131: Command-line interface for the `random` module (#118132) 2024-05-05 06:30:03 +00:00
test_range.py
test_re.py
test_readline.py
test_regrtest.py gh-119050: Add XML support to libregrtest refleak checker (#119148) 2024-05-20 17:05:39 -04:00
test_repl.py gh-118817: Fix `asyncio REPL` on Windows (#118819) 2024-05-09 08:20:46 -07:00
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_sax.py
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (#119634) 2024-05-29 20:11:30 +00:00
test_signal.py
test_site.py
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465) 2024-05-23 23:26:09 +02:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py
test_stable_abi_ctypes.py gh-74929: Implement PEP 667 (GH-115153) 2024-05-04 12:12:10 +01:00
test_startfile.py
test_stat.py
test_statistics.py [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (#118801) 2024-05-09 11:16:37 +03:00
test_str.py gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631) 2024-05-28 12:01:37 +03:00
test_strftime.py
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) 2024-05-11 14:46:07 -07:00
test_strtod.py
test_struct.py gh-118846: Fix PGO tests in free-threaded build (#118862) 2024-05-09 16:06:20 -04:00
test_structseq.py
test_subclassinit.py
test_subprocess.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py gh-118090: Improve error message for empty type param brackets (GH-118091) 2024-05-07 14:01:06 +02:00
test_sys.py gh-74929: PEP 667 C API documentation (gh-119379) 2024-06-01 13:59:35 +10:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_tcl.py gh-66410: Do not stringify arguments of Tkinter callback (GH-98592) 2024-05-07 12:07:32 +00:00
test_tempfile.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_termios.py gh-119770: Make termios ioctl() constants positive (#119840) 2024-05-31 17:18:40 +02:00
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py gh-118495: Skip test using threads after forking when running with TSAN (#118530) 2024-05-03 11:14:26 -04:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py
test_trace.py gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
test_traceback.py gh-118893: Evaluate all statements in the new REPL separately (#119318) 2024-05-21 23:16:56 +00:00
test_tracemalloc.py
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py
test_type_aliases.py gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822) 2024-05-31 14:05:24 -07:00
test_type_annotations.py gh-119180: PEP 649: Add __annotate__ attributes (#119209) 2024-05-22 04:38:12 +02:00
test_type_cache.py
test_type_comments.py
test_type_params.py gh-119011: `type.__type_params__` now return an empty tuple (#119296) 2024-05-28 18:12:58 +00:00
test_typechecks.py
test_types.py
test_typing.py gh-119180: PEP 649: Add __annotate__ attributes (#119209) 2024-05-22 04:38:12 +02:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) 2024-05-20 20:29:17 +00:00
test_unparse.py
test_urllib.py
test_urllib2.py
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) 2024-05-14 16:59:21 +03:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py
test_venv.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py
test_winapi.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-29 16:51:09 +01:00
test_winconsoleio.py
test_winreg.py
test_winsound.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_with.py
test_wmi.py
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_zipfile64.py
test_zipimport.py gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
test_zipimport_support.py
test_zlib.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py