cpython/Lib/test
Eric Snow 3831144f9c
gh-76785: Fix Windows Refleak in test_interpreters (gh-117913)
gh-117662 introduced some refleaks, or, rather, exposed some existing refleaks.  The leaks are coming when test.support.os_helper is imported in a "legacy" interpreter.  I've updated test.test_interpreters.utils to avoid importing os_helper, which fixes the leaks.  I'll address the root cause separately.
2024-04-15 20:16:37 -06:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest Enhance regrtest get_signal_name(): support shell exit code (#117647) 2024-04-08 17:16:43 +00:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support gh-76785: Handle Legacy Interpreters Properly (gh-117490) 2024-04-11 23:23:25 +00:00
test_asyncio gh-117722: Fix Stream.readuntil with non-bytes buffer objects (#117723) 2024-04-11 07:41:55 -07:00
test_capi gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-117695) 2024-04-15 12:44:54 +03:00
test_cext gh-117478: Add @support.requires_gil_enabled decorator (#117479) 2024-04-04 14:10:46 -04:00
test_concurrent_futures gh-117688: Fix deadlock in test_no_stale_references with GIL disabled (#117720) 2024-04-15 12:54:56 -04:00
test_cppext
test_ctypes gh-117142: Port _ctypes to multi-phase init (GH-117181) 2024-04-10 11:00:01 +00:00
test_dataclasses
test_doctest gh-117692: Fix AttributeError in DocTestFinder on wrapped builtin_or_method (#117699) 2024-04-10 10:52:47 +01:00
test_email
test_future_stmt
test_gdb gh-117474: Skip GIL test in free-threaded build (#117475) 2024-04-04 16:27:14 -04:00
test_import gh-117649: Raise ImportError for unsupported modules in free-threaded build (#117651) 2024-04-11 15:00:54 -04:00
test_importlib gh-117649: Raise ImportError for unsupported modules in free-threaded build (#117651) 2024-04-11 15:00:54 -04:00
test_inspect gh-117764: Add more tests for signatures of builtins (GH-117816) 2024-04-12 14:55:29 +00:00
test_interpreters gh-76785: Fix Windows Refleak in test_interpreters (gh-117913) 2024-04-15 20:16:37 -06:00
test_json gh-115692: Add tests to increase json coverage (#115693) 2024-04-14 06:11:06 -06:00
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib GH-115060: Speed up pathlib.Path.glob() by omitting initial stat() (#117831) 2024-04-14 00:08:03 +01:00
test_peg_generator gh-117889: Fix PGO test in test_peg_generator (#117893) 2024-04-15 13:59:34 +00:00
test_pydoc
test_sqlite3
test_tkinter
test_tomllib
test_tools gh-117711: Only check for 'test/wheeldata' when it's actually used (#117712) 2024-04-11 11:37:28 +02:00
test_ttk
test_unittest
test_warnings
test_zipfile
test_zoneinfo
tkinterdata
tokenizedata
tracedmodules
typinganndata
wheeldata
xmltestdata
.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-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
_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-117534: Add checking for input parameter in iso_to_ymd (#117543) 2024-04-09 13:53:00 -04:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
lock_tests.py
mapping_tests.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
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-117889: Fix PGO test in test_peg_generator (#117893) 2024-04-15 13:59:34 +00:00
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 gh-117431: Adapt str.find and friends to Argument Clinic (#117468) 2024-04-03 17:59:18 +02:00
test___all__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxinterpchannels.py gh-76785: Add More Tests to test_interpreters.test_api (gh-117662) 2024-04-10 18:37:01 -06:00
test__xxsubinterpreters.py gh-76785: Add More Tests to test_interpreters.test_api (gh-117662) 2024-04-10 18:37:01 -06:00
test_abc.py
test_abstract_numbers.py
test_argparse.py
test_array.py
test_asdl_parser.py
test_ast.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_asyncgen.py
test_atexit.py
test_audit.py
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_builtin.py
test_bytes.py
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_charmapcodec.py
test_class.py GH-117750: When clearing object's dict, clear inline values but leave dict attached (GH-117808) 2024-04-15 14:45:05 +01:00
test_clinic.py gh-113317: Add Codegen class to Argument Clinic (#117626) 2024-04-11 12:15:48 +02:00
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py
test_code.py gh-117376: Partial implementation of deferred reference counting (#117696) 2024-04-12 17:36:20 +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-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_colorsys.py
test_compare.py
test_compile.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_compileall.py
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py gh-109802: Add coverage test for complex_abs() (GH-117449) 2024-04-04 14:54:17 +00:00
test_configparser.py
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
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-117764: Add docstrings and signatures for the types of None, Ellipsis and NotImplemented (GH-117813) 2024-04-12 15:45:23 +03:00
test_descrtut.py
test_devpoll.py
test_dict.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_difflib.py
test_difflib_expect.html
test_dis.py
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py gh-117645: Skip test_dynamic global specialization on WASI (#117646) 2024-04-08 21:11:08 +02:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py
test_ensurepip.py
test_enum.py gh-117663: [Enum] fix _simple_enum's detection of aliases (GH-117664) 2024-04-09 11:31:07 -07:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
test_exception_group.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-117606: Truncate extremely long error message in test_exceptions (#117670) 2024-04-11 08:37:01 +01:00
test_extcall.py
test_external_inspection.py
test_faulthandler.py gh-117658: Fix check_dump_traceback_threads in free-threaded build (#117659) 2024-04-09 11:50:49 -04:00
test_fcntl.py gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileio.py
test_fileutils.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frame.py
test_frozen.py
test_fstring.py
test_ftplib.py
test_funcattrs.py
test_functools.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_gc.py gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
test_generated_cases.py
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
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 gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
test_httpservers.py gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
test_idle.py
test_imaplib.py
test_index.py
test_int.py
test_int_literal.py
test_io.py gh-117755: Skip test_io.test_constructor() on s390x (#117801) 2024-04-15 10:24:47 +02:00
test_ioctl.py
test_ipaddress.py
test_isinstance.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_iter.py
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
test_lltrace.py
test_locale.py
test_logging.py gh-117552: Add timeout in HTTPHandlerTest (#117553) 2024-04-08 10:46:56 -04:00
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py gh-117467: Add preserving of mailbox owner on flush (GH-117510) 2024-04-04 13:32:53 +03:00
test_marshal.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_math.py gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +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
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-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
test_osx_env.py
test_patma.py
test_pdb.py
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
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-117636: Remove redundant type check in os.path.join() (#117638) 2024-04-14 14:04:14 -07: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 gh-117531: Unblock getters after non-immediate queue shutdown (#117532) 2024-04-10 08:01:42 -07:00
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py gh-117594: Require cpu resource to test_search_anchor_at_beginning (gh-117595) 2024-04-07 23:58:19 +00:00
test_readline.py
test_regrtest.py Enhance regrtest get_signal_name(): support shell exit code (#117647) 2024-04-08 17:16:43 +00:00
test_repl.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py gh-117764: Add docstrings and signatures for the types of None, Ellipsis and NotImplemented (GH-117813) 2024-04-12 15:45:23 +03:00
test_robotparser.py
test_runpy.py
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
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-115627: Fix ssl test_pha_required_nocert() (#117821) 2024-04-12 20:41:16 +02:00
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.py
test_str.py gh-117709: Add vectorcall support for str() with positional-only arguments (#117746) 2024-04-11 13:55:37 +00:00
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
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py
test_sys.py gh-111926: Make weakrefs thread-safe in free-threaded builds (#117168) 2024-04-08 10:58:38 -04:00
test_sys_setprofile.py
test_sys_settrace.py gh-116303: Skip tests if C recursion limit is unavailable (GH-117368) 2024-04-08 14:45:25 +02:00
test_sysconfig.py
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 gh-117649: Raise ImportError for unsupported modules in free-threaded build (#117651) 2024-04-11 15:00:54 -04: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_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
test_typing.py gh-117516: Implement typing.TypeIs (#117517) 2024-04-09 10:50:37 +00: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
test_utf8source.py
test_uuid.py
test_venv.py gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817) 2024-04-15 15:36:06 +01:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-117657: Add TSAN suppressions for the free-threaded build (#117736) 2024-04-15 12:08:25 -04:00
test_weakset.py
test_webbrowser.py gh-68583: webbrowser: replace getopt with argparse, add long options (#117047) 2024-04-13 08:56:56 -06:00
test_winapi.py gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817) 2024-04-15 15:36:06 +01:00
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py gh-112278: Improve error handling in wmi module and tests (GH-117818) 2024-04-15 15:43:11 +01:00
test_wsgiref.py gh-102247: http: support rfc9110 status codes (GH-117611) 2024-04-13 07:33:20 -07:00
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
test_zipimport_support.py
test_zlib.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py