cpython/Lib/test
2025-07-15 11:56:42 +02:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
mathdata
regrtestdata/import_from_tests
subprocessdata
support gh-116738: Make grp module thread-safe (#135434) 2025-07-14 11:18:41 -07:00
test_ast
test_asyncio gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_capi gh-132629: Deprecate accepting out-of-range values for unsigned integers in PyArg_Parse (GH-132630) 2025-07-13 12:44:54 +03:00
test_cext gh-111506: Add _Py_OPAQUE_PYOBJECT to hide PyObject layout & related API (GH-136505) 2025-07-12 09:55:12 +02:00
test_concurrent_futures gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_cppext gh-135906: Test the internal C API in test_cext (#136247) 2025-07-11 16:48:43 +02:00
test_ctypes gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_dataclasses
test_doctest
test_email gh-134759: fix UnboundLocalError in email.message.Message.get_payload (#136071) 2025-07-12 13:30:09 +00:00
test_free_threading gh-116738: Make grp module thread-safe (#135434) 2025-07-14 11:18:41 -07:00
test_future_stmt
test_gdb
test_import
test_importlib Update bytecode magic number in tests for the 3.14 release candidate (#136427) 2025-07-08 20:11:48 +03:00
test_inspect gh-136549: Fix signature of threading.excepthook() (GH-136559) 2025-07-12 18:54:26 +03:00
test_interpreters gh-136285: Improve pickle protocol testing in test_interpreters (#136286) 2025-07-06 07:35:30 +00:00
test_json gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib
test_peg_generator
test_pydoc
test_pyrepl
test_sqlite3 gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem (GH-136326) 2025-07-07 06:29:00 +00:00
test_string GH-132661: Add `string.templatelib.convert()` (#135217) 2025-07-15 11:56:42 +02:00
test_tkinter
test_tomllib
test_tools
test_ttk
test_unittest gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_warnings
test_zipfile Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_zoneinfo gh-136297: Fix hypothesis and subTest usage in test_zoneinfo_property.py (#136384) 2025-07-08 07:51:36 +00:00
tkinterdata
tokenizedata
tracedmodules
translationdata
typinganndata gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwardrefs (#136319) 2025-07-06 16:44:20 -07:00
wheeldata
xmltestdata
zipimport_data
.ruff.toml
__init__.py
__main__.py
_code_definitions.py
_crossinterp_definitions.py
_test_atexit.py
_test_eintr.py
_test_embed_structseq.py
_test_gc_fast_cycles.py
_test_monitoring_shutdown.py
_test_multiprocessing.py
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 21:23:38 +01:00
autotest.py
bisect_cmd.py
clinic.test.c gh-132629: Deprecate accepting out-of-range values for unsigned integers in PyArg_Parse (GH-132630) 2025-07-13 12:44:54 +03:00
cov.py
curses_tests.py
datetimetester.py
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
mp_preload_flush.py
multibytecodec_support.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py gh-127971: fix off-by-one read beyond the end of a string during search (#132574) 2025-07-13 15:33:34 +02:00
test___all__.py
test__colorize.py
test__interpchannels.py
test__interpreters.py gh-135855: Raise TypeError When Passing Non-dict Object to _interpreters.set___main___attrs (gh-135856) 2025-06-24 12:53:14 -06:00
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_android.py
test_annotationlib.py
test_apple.py
test_argparse.py Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_array.py
test_asdl_parser.py
test_asyncgen.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_atexit.py
test_audit.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 21:23:38 +01:00
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_build_details.py
test_builtin.py gh-136438: Make sure test_builtins pass with all optimization levels (#136474) 2025-07-10 11:57:29 +03:00
test_bytes.py gh-91153: prevent a crash in bytearray.__setitem__(ind, ...) when ind.__index__ has side-effects (#132379) 2025-07-12 13:37:52 +00:00
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_charmapcodec.py
test_class.py
test_clinic.py gh-135256: Simplify parsing parameters in Argument Clinic (GH-135257) 2025-07-13 23:27:48 +03:00
test_cmath.py
test_cmd.py
test_cmd_line.py GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712) 2025-07-15 10:45:41 +01:00
test_cmd_line_script.py
test_code.py
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
test_colorsys.py
test_compare.py
test_compile.py
test_compileall.py
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py
test_configparser.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_contains.py
test_context.py
test_contextlib.py
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_cprofile.py
test_crossinterp.py
test_csv.py
test_curses.py
test_datetime.py
test_dbm.py gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) 2025-07-07 15:14:17 +03:00
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py gh-87790: support thousands separators for formatting fractional part of Decimal (#132202) 2025-07-07 11:16:27 +03:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_devpoll.py
test_dict.py
test_dictcomps.py Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712) 2025-07-15 10:45:41 +01:00
test_ensurepip.py
test_enum.py gh-107538: [Enum] fix handling of inverted/negative values (GH-132273) 2025-07-10 16:49:09 -07:00
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-127146: Add skip_emscripten_stack_overflow in a few places (#135722) 2025-06-20 05:27:02 +08:00
test_extcall.py
test_external_inspection.py gh-135953: Implement sampling tool under profile.sample (#135998) 2025-07-10 18:44:24 +01:00
test_faulthandler.py
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileio.py gh-133982: Use implementation-specific open in test_fileio.OtherFileTests (GH-135364) 2025-06-30 17:56:11 -04:00
test_fileutils.py
test_finalization.py
test_float.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_fractions.py gh-87790: support thousands separators for formatting fractional part of Fraction (#132204) 2025-07-07 11:16:31 +03:00
test_frame.py
test_frozen.py
test_fstring.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_ftplib.py
test_funcattrs.py
test_functools.py
test_gc.py gh-136517: Print uncollectable objects if DEBUG_UNCOLLECTABLE mode was set (#136518) 2025-07-10 22:13:23 +01:00
test_generated_cases.py gh-136183: Deal with escapes in JIT optimizer's constant evaluator (GH-136184) 2025-07-02 14:08:25 +08:00
test_generator_stop.py
test_generators.py
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.py gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (#135831) 2025-07-04 23:44:37 +10:00
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py gh-90733: improve hashlib.scrypt interface (#136100) 2025-07-14 12:49:34 +02:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) 2025-07-04 07:00:23 +00:00
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py
test_idle.py
test_imaplib.py
test_index.py
test_int.py
test_int_literal.py
test_io.py gh-133982: Test _pyio.BytesIO in free-threaded tests (gh-136218) 2025-07-04 11:27:21 +09:00
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py
test_linecache.py
test_list.py
test_listcomps.py Doc: fix duplicated words (#136086) 2025-06-29 18:04:02 -04:00
test_lltrace.py
test_locale.py
test_logging.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py
test_math.py gh-135853: add math.fmax and math.fmin (#135888) 2025-07-12 11:31:10 +00:00
test_math_property.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py
test_modulefinder.py
test_monitoring.py
test_msvcrt.py
test_multibytecodec.py
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py gh-135815: skip netrc security checks if os.getuid is missing (#135816) 2025-06-22 19:48:06 +00:00
test_ntpath.py
test_nturl2path.py
test_numeric_tower.py
test_opcache.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optimizer.py
test_optparse.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_ordered_dict.py
test_os.py gh-134657: Remove newly added private names from asyncio.__all__ (#134665) 2025-07-09 13:25:46 +05:30
test_osx_env.py
test_patma.py
test_pdb.py
test_peepholer.py gh-134280: Disable constant folding for ~ with a boolean argument (GH-134982) 2025-07-01 20:24:04 +03:00
test_pep646_syntax.py
test_perf_profiler.py gh-134986: Catch PermissionError when trying to call perf in tests (#134987) 2025-06-23 12:28:05 +02:00
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py
test_platform.py gh-136066: simplify platform._platform() (#136069) 2025-06-29 09:56:52 +02:00
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py
test_posixpath.py
test_pow.py
test_pprint.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
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 gh-105456: Remove 3 deprecated sre_* modules (#135994) 2025-07-01 17:31:07 +02:00
test_pyexpat.py gh-133157: remove usage of _Py_NO_SANITIZE_UNDEFINED in pyexpat (#135346) 2025-07-01 10:54:08 +02:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py gh-105456: Remove 3 deprecated sre_* modules (#135994) 2025-07-01 17:31:07 +02:00
test_readline.py
test_regrtest.py gh-135494: Fix python -m test --pgo -x test_re (#135713) 2025-06-24 12:21:35 +02:00
test_remote_pdb.py
test_repl.py
test_reprlib.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_sample_profiler.py gh-135953: Implement sampling tool under profile.sample (#135998) 2025-07-10 18:44:24 +01: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 Doc: More duplicate word fixes (GH-136299) 2025-07-11 21:18:47 +03:00
test_shelve.py gh-99631: Add custom loads and dumps support for the shelve module (#118065) 2025-07-12 14:27:32 +02:00
test_shlex.py
test_shutil.py
test_signal.py
test_site.py
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py gh-99813: Start using SSL_sendfile when available (#99907) 2025-07-12 12:42:35 +00:00
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_str.py gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) 2025-06-27 12:00:25 +02:00
test_strftime.py
test_string_literals.py
test_stringprep.py
test_strptime.py gh-136028: Fix parsing month names containing "İ" (U+0130) in strptime() (GH-136029) 2025-06-27 16:47:03 +03:00
test_strtod.py
test_struct.py
test_structseq.py
test_subclassinit.py
test_subprocess.py
test_sundry.py
test_super.py
test_support.py gh-136547: allow to temporarily disable hash algorithms in tests (#136570) 2025-07-13 10:58:15 +02:00
test_symtable.py gh-121914: Change the names of the symbol tables for lambda and genexpr (GH-135288) 2025-07-13 21:09:42 +03:00
test_syntax.py gh-135422: Fix regression in SyntaxError messages after #134036 (#135423) 2025-06-30 21:52:26 +03:00
test_sys.py gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981) 2025-06-27 14:35:55 +03:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py
test_tcl.py
test_tempfile.py gh-136156: Remove tempfile test_link_tmpfile() (#136534) 2025-07-11 16:45:31 +02:00
test_termios.py
test_textwrap.py
test_thread.py
test_thread_local_bytecode.py
test_threadedtempfile.py
test_threading.py gh-87135: threading.Lock: Raise rather than hang on Python finalization (GH-135991) 2025-07-01 10:57:42 +02:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py
test_tstring.py gh-129958: New syntax error in format spec applies to both f-strings and t-strings (#135570) 2025-06-26 15:02:50 +02:00
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py
test_type_aliases.py
test_type_annotations.py
test_type_cache.py
test_type_comments.py
test_type_params.py
test_typechecks.py
test_types.py gh-136203: Improve TypeError msg when comparing two MappingProxyTypes (#136204) 2025-07-02 19:05:28 +03:00
test_typing.py gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwardrefs (#136319) 2025-07-06 16:44:20 -07: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
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
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py GH-133711: Enable UTF-8 mode by default (PEP 686) (#133712) 2025-07-15 10:45:41 +01:00
test_utf8source.py
test_uuid.py gh-89083: Add CLI tests for UUIDv{6,7,8} (#136548) 2025-07-12 14:06:15 +02:00
test_venv.py
test_wait3.py
test_wait4.py
test_wave.py gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH-136529) 2025-07-13 08:49:12 +03:00
test_weakref.py
test_weakset.py
test_webbrowser.py
test_winapi.py
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py
test_xml_etree.py gh-135640: Adds more type checking to ElementTree (GH-135643) 2025-07-03 10:48:47 +03:00
test_xml_etree_c.py
test_xmlrpc.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py
test_zlib.py
test_zstd.py gh-136394: Fix race condition in test_zstd (GH-136432) 2025-07-10 08:47:27 -04:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py