cpython/Lib/test
Sam Gross 64e221d7ad
gh-117657: Skip tests that use threads after fork (#122194)
These tests fail when run under thread sanitizer due to the use of fork
and threads.
2024-07-23 16:30:49 -04:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers gh-121921: Make bogus_code_obj.py crash the interpreter (#121922) 2024-07-18 04:02:08 -04:00
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-99242 Ignore error when running regression tests under certain conditions. (GH-121663) 2024-07-13 11:52:08 +02:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) 2024-07-17 16:18:42 +02:00
test_asyncio gh-117657: Skip tests that use threads after fork (#122194) 2024-07-23 16:30:49 -04:00
test_capi Refactor test_capi.test_long (GH-122113) 2024-07-22 21:43:00 +03:00
test_cext Check for compiler warnings in test_cext on Windows (#121088) 2024-06-28 14:41:37 +02:00
test_concurrent_futures gh-117657: Skip test when running under TSan (GH-121549) 2024-07-09 14:12:45 -07:00
test_cppext Check for compiler warnings in test_cext on Windows (#121088) 2024-06-28 14:41:37 +02:00
test_ctypes gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_dataclasses
test_doctest
test_email gh-120930: Remove extra blank occuring in wrapped encoded words in email headers (GH-121747) 2024-07-18 14:48:05 +02:00
test_free_threading gh-120317: Lock around global state in the tokenize module (#120318) 2024-07-16 11:35:57 +02:00
test_future_stmt
test_gdb
test_import gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-121503) 2024-07-08 15:10:00 -06:00
test_importlib gh-59110: zipimport: support namespace packages when no directory entry exists (GH-121233) 2024-07-04 15:04:24 +00:00
test_inspect gh-121027: Make the functools.partial object a method descriptor (GH-121089) 2024-07-03 09:02:15 +03:00
test_interpreters gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121805) 2024-07-15 19:43:59 +00:00
test_json gh-122163: Add notes for JSON serialization errors (GH-122165) 2024-07-23 20:02:54 +03:00
test_module
test_multiprocessing_fork gh-117657: Skip test when running under TSan (GH-121549) 2024-07-09 14:12:45 -07:00
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib gh-122096: Remove accidentally left debugging prints (#122097) 2024-07-21 20:48:39 +01:00
test_peg_generator
test_pydoc gh-122129: Improve support of method descriptors and wrappers in the help title (GH-122157) 2024-07-23 20:45:21 +03:00
test_pyrepl gh-121973: Fix flaky test_pyrepl tests (GH-122140) 2024-07-23 15:17:13 +02:00
test_sqlite3 gh-95144: Improve error message of `... in None` (GH-119888) 2024-07-12 16:34:17 +00:00
test_tkinter
test_tomllib
test_tools
test_ttk
test_unittest gh-121708: Improve test coverage for `unittest.util` (GH-121713) 2024-07-14 10:08:47 +02:00
test_warnings gh-122088: Copy the coroutine status of the underlying callable in `@warnings.deprecated` (#122086) 2024-07-23 10:59:28 +01:00
test_zipfile
test_zoneinfo
tkinterdata
tokenizedata
tracedmodules
typinganndata
wheeldata
xmltestdata
zipimport_data
.ruff.toml
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py gh-107851: Fix spurious failures in fcntl eintr tests (#121556) 2024-07-10 10:36:52 -04:00
_test_embed_set_config.py
_test_embed_structseq.py
_test_monitoring_shutdown.py
_test_multiprocessing.py
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py
autotest.py
bisect_cmd.py
clinic.test.c
cov.py
curses_tests.py
datetimetester.py gh-120713: Normalize year with century for datetime.strftime (GH-120820) 2024-06-29 09:32:42 +03:00
dis_module.py
empty.vbs
exception_hierarchy.txt gh-119521: Remove _IncompleteInputError from the docs (GH-120993) 2024-06-27 09:09:22 +02:00
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
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py
test__colorize.py
test__interpchannels.py gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121805) 2024-07-15 19:43:59 +00:00
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-121018: Fix more cases of exiting in argparse when exit_on_error=False (GH-121056) 2024-06-28 17:21:59 +03:00
test_array.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_asdl_parser.py
test_ast.py gh-121130: Fix f-string format specifiers with debug expressions (#121150) 2024-07-16 19:57:22 +01:00
test_asyncgen.py
test_atexit.py
test_audit.py
test_augassign.py
test_base64.py
test_baseexception.py gh-119521: Remove _IncompleteInputError from the docs (GH-120993) 2024-06-27 09:09:22 +02:00
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_builtin.py gh-121637: Syntax error for optimized-away incorrect await (#121656) 2024-07-22 14:12:43 -07:00
test_bytes.py
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_charmapcodec.py
test_class.py gh-121860: Fix crash when materializing managed dict (#121866) 2024-07-16 14:58:36 -04:00
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py
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 gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_configparser.py
test_contains.py gh-95144: Improve error message of `... in None` (GH-119888) 2024-07-12 16:34:17 +00:00
test_context.py
test_contextlib.py
test_contextlib_async.py
test_copy.py gh-121300: Add `replace` to `copy.__all__` (#121302) 2024-07-03 20:33:56 +05:30
test_copyreg.py
test_coroutines.py
test_cprofile.py gh-120289: Disallow disable() and clear() in external timer to prevent use-after-free (#120297) 2024-07-18 12:47:22 -07:00
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
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_devpoll.py
test_dict.py
test_dict_version.py
test_dictcomps.py
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-117482: Expand Tests for Slot Wrappers of Inherited Slots of Static Builtin Types (gh-122192) 2024-07-23 19:57:26 +00:00
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
test_extcall.py
test_external_inspection.py
test_faulthandler.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py gh-57141: Make shallow argument to filecmp.dircmp keyword-only (#121767) 2024-07-14 15:53:32 -07:00
test_fileinput.py
test_fileio.py
test_fileutils.py
test_finalization.py
test_float.py gh-84978: Add float.from_number() and complex.from_number() (GH-26827) 2024-07-15 16:07:00 +00:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_fractions.py gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271) 2024-07-19 08:06:53 +03:00
test_frame.py
test_frozen.py
test_fstring.py gh-122026: Fix identification of mismatched parentheses inside f-strings (#122028) 2024-07-19 19:08:08 +02:00
test_ftplib.py
test_funcattrs.py
test_functools.py gh-121027: Make the functools.partial object a method descriptor (GH-121089) 2024-07-03 09:02:15 +03:00
test_gc.py
test_generated_cases.py GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) 2024-07-23 14:12:06 +01:00
test_generator_stop.py
test_generators.py gh-121657: Additional `yield from` error test using lambda (GH-121722) 2024-07-18 14:29:03 +02:00
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.py gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) 2024-07-11 16:21:37 -04: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
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
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
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py Remove now unused function from itertools tests (#122100) 2024-07-22 10:03:20 -05:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py
test_linecache.py
test_list.py GH-121012: Set index to -1 when list iterators become exhausted in tier 2 (GH-121483) 2024-07-08 14:20:13 +01:00
test_listcomps.py
test_lltrace.py
test_locale.py
test_logging.py gh-117657: Skip tests that fork with threads under TSan (#121599) 2024-07-15 16:43:51 -04:00
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py
test_math.py
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
test_ntpath.py
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
test_os.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_osx_env.py
test_patma.py
test_pdb.py gh-111051: [tests] Wait a second to support filesystems with low-resolution mtime (GH-121959) 2024-07-22 13:03:07 +02:00
test_peepholer.py
test_pep646_syntax.py
test_perf_profiler.py
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py gh-59022: Added tests for `pkgutil.extend_path` (#59022) (GH-121673) 2024-07-16 17:14:26 +02: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-121200: Fix test_expanduser_pwd2() of test_posixpath (#121228) 2024-07-01 17:49:03 +02: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
test_range.py
test_re.py
test_readline.py gh-121160: Add some tests for readline.set_history_length (GH-121326) 2024-07-16 16:09:08 +02:00
test_regrtest.py Move get_signal_name() to test.support (#121251) 2024-07-02 10:34:13 +02:00
test_repl.py gh-121790: Fix interactive console initialization (#121793) 2024-07-16 00:24:18 +02:00
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_sax.py
test_sched.py
test_scope.py gh-121863: Immortalize names in code objects to avoid crash (GH-121903) 2024-07-17 11:31:28 +02:00
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py gh-121795: Improve performance of set membership testing from set arguments (#121796) 2024-07-22 10:05:23 -05:00
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py Fix Several Typos in Readme & Tests (#121559) 2024-07-17 00:24:35 -07:00
test_signal.py gh-121065: Temporarily skip flaky test on free-threaded build (#121100) 2024-06-27 14:03:09 -04:00
test_site.py gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) 2024-07-11 16:21:37 -04:00
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
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_str.py
test_strftime.py
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structseq.py
test_subclassinit.py
test_subprocess.py gh-121571: Do not use `EnvironmentError` in tests, use `OSError` instead (#121572) 2024-07-10 13:11:46 +03:00
test_sundry.py
test_super.py
test_support.py Move get_signal_name() to test.support (#121251) 2024-07-02 10:34:13 +02:00
test_symtable.py gh-119698: deprecate ``symtable.Class.get_methods`` (#121902) 2024-07-22 07:04:17 -07:00
test_syntax.py
test_sys.py GH-120024: Use pointer for stack pointer (GH-121923) 2024-07-18 12:47:21 +01:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py gh-122014: Account for abi_thread in test_sysconfig.test_user_similar (gh-122017) 2024-07-19 16:48:20 +00:00
test_syslog.py
test_tabnanny.py
test_tarfile.py
test_tcl.py
test_tempfile.py
test_termios.py
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) 2024-07-19 08:06:02 +00:00
test_trace.py
test_traceback.py
test_tracemalloc.py
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-117482: Expand Tests for Slot Wrappers of Inherited Slots of Static Builtin Types (gh-122192) 2024-07-23 19:57:26 +00:00
test_typing.py
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
test_utf8source.py
test_uuid.py
test_venv.py gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) 2024-07-11 16:21:37 -04:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-121220: Mark test_threaded_weak_value_dict_copy() as CPU-heavy (#121221) 2024-07-01 15:33:02 +02:00
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_etree.py
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 Improve zipimport tests (GH-121535) 2024-07-10 11:29:03 +03:00
test_zipimport_support.py
test_zlib.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py