cpython/Lib/test
Victor Stinner 7e0fbf5175
gh-110033: Fix signal test_interprocess_signal() (#110035)
Fix test_interprocess_signal() of test_signal. Make sure that the
subprocess.Popen object is deleted before the test raising an
exception in a signal handler. Otherwise, Popen.__del__() can get the
exception which is logged as "Exception ignored in: ...." and the
test fails.
2023-09-28 19:12:11 +02:00
..
audiodata
certdata gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
cjkencodings
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-109972: Split test_gdb.py into test_gdb package (#109977) 2023-09-28 11:24:15 +00:00
mathdata gh-108303: Move all math files to `Lib/test/mathdata/` (#109512) 2023-09-21 21:14:41 +02:00
subprocessdata
support gh-109972: Enhance test_gdb (#110026) 2023-09-28 17:04:01 +00:00
test_asyncio gh-109833: Fix asyncio test_wait_for() (#109834) 2023-09-25 13:27:36 +00:00
test_capi gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_concurrent_futures gh-109594: Fix concurrent.futures test_timeout() (#110018) 2023-09-28 15:21:15 +02:00
test_cppext
test_ctypes Better integration of doctest and unittest in test_ctypes.test_objects (GH-108922) 2023-09-11 14:05:30 +03:00
test_dataclasses
test_email no-issue: Fix typo TestContentTyopeHeader to TestContentTypeHeader (gh-109069) 2023-09-19 18:50:35 +09:00
test_future_stmt gh-109485: Further improve `test_future_stmt` tests (#109486) 2023-09-19 14:01:59 +02:00
test_gdb gh-109972: Enhance test_gdb (#110026) 2023-09-28 17:04:01 +00:00
test_import gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722) 2023-09-22 13:51:58 -07:00
test_importlib gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (#109629) 2023-09-26 13:57:25 +02:00
test_json
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_peg_generator gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_sqlite3 gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_tkinter gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_tomllib
test_tools gh-103053: Skip test_freeze_simple_script() on PGO build (#109591) 2023-09-20 01:58:34 +00:00
test_ttk
test_unittest gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_warnings
test_zipfile gh-88233: zipfile: refactor _strip_extra (#102084) 2023-09-25 19:46:58 -04:00
test_zoneinfo
tkinterdata
tokenizedata gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) 2023-09-18 14:04:17 +01:00
tracedmodules
typinganndata
xmltestdata
ziptestdata
.ruff.toml gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) 2023-09-18 14:04:17 +01:00
__init__.py
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py
_test_embed_structseq.py
_test_multiprocessing.py gh-89363: Skip threading test_is_alive_after_fork() if ASAN (#109835) 2023-09-25 16:02:04 +00:00
_test_venv_multiprocessing.py
_typed_dict_helper.py
audiotests.py
audit-tests.py
autotest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
bisect_cmd.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test.c
curses_tests.py
datetimetester.py
dis_module.py
doctest_aliases.py
doctest_lineno.py
double_const.py
empty.vbs
exception_hierarchy.txt
final_a.py
final_b.py
fork_wait.py
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
levenshtein_examples.json
list_tests.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
lock_tests.py gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (#109629) 2023-09-26 13:57:25 +02:00
mapping_tests.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py gh-93627: Align Python implementation of pickle with C implementation of pickle (GH-103035) 2023-09-10 10:06:08 +03:00
profilee.py
pstats.pck
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py gh-109615: Fix support test_copy_python_src_ignore() (#109958) 2023-09-27 12:32:12 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
relimport.py
reperf.py
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
seq_tests.py
setuptools-67.6.1-py3-none-any.whl
shadowed_super.py
signalinterproctester.py gh-110033: Fix signal test_interprocess_signal() (#110035) 2023-09-28 19:12:11 +02:00
smtpd.py
sortperf.py
ssl_servers.py gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
ssltests.py
string_tests.py
test___all__.py
test__locale.py
test__opcode.py
test__osx_support.py
test__xxinterpchannels.py
test__xxsubinterpreters.py
test_abc.py
test_abstract_numbers.py
test_argparse.py
test_array.py
test_asdl_parser.py
test_ast.py
test_asyncgen.py GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` test (#109142) 2023-09-08 16:27:58 +00:00
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 gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419) 2023-09-14 14:38:31 -06:00
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
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722) 2023-09-22 13:51:58 -07:00
test_cmd_line_script.py
test_code.py gh-109052: Use the base opcode when comparing code objects (gh-109107) 2023-09-09 10:24:49 +09: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 gh-50644: Forbid pickling of codecs streams (GH-109180) 2023-09-10 20:06:09 +03:00
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py gh-109823: Adjust labels in compiler when removing an empty basic block which is a jump target (#109839) 2023-09-25 18:25:05 +00:00
test_compileall.py gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (#109298) 2023-09-12 03:31:15 +02:00
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py
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 gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_descrtut.py
test_devpoll.py
test_dict.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_difflib.py
test_difflib_expect.html
test_dis.py gh-109923: set line number on the POP_TOP that follows a RETURN_GENERATOR (#109924) 2023-09-27 13:24:33 +01:00
test_doctest.py Test DocTestFinder directly instead of calling support.run_doctest() (GH-108917) 2023-09-11 14:03:30 +03:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py
test_ensurepip.py
test_enum.py gh-109022: [Enum] require `names=()` to create empty enum type (GH-109048) 2023-09-07 18:19:03 -07:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
test_exception_group.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py
test_extcall.py
test_faulthandler.py
test_fcntl.py
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 gh-108303: Move all math files to `Lib/test/mathdata/` (#109512) 2023-09-21 21:14:41 +02:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686) 2023-09-21 19:48:20 +00:00
test_frame.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_frozen.py
test_fstring.py gh-109114: Relax the check for invalid lambdas inside f-strings to avoid false positives (#109121) 2023-09-08 17:00:23 +00:00
test_ftplib.py gh-109845: Make test_ftplib more stable under load (GH-109912) 2023-09-26 22:58:46 +03:00
test_funcattrs.py
test_functools.py gh-90805: Make sure test_functools works with and without _functoolsmodule (GH-108644) 2023-09-11 19:13:37 +03:00
test_gc.py
test_generated_cases.py gh-109295: Skip test_generated_cases if different mount drives (#109308) 2023-09-12 04:30:07 +02: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
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-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
test_httpservers.py gh-109096: Deprecate `http.server.CGIHTTPRequestHandler` (#109387) 2023-09-15 14:26:45 -07:00
test_idle.py
test_imaplib.py gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
test_index.py
test_inspect.py gh-109625: Move _ready_to_import() from test_import to support.import_helper (#109626) 2023-09-21 09:39:36 +02:00
test_int.py
test_int_literal.py
test_interpreters.py gh-109793: Allow Switching Interpreters During Finalization (gh-109794) 2023-09-27 13:41:06 -06:00
test_io.py
test_ioctl.py
test_ipaddress.py
test_isinstance.py
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 gh-109182: Fix and improve tests for gh-108654 (GH-109189) 2023-09-11 17:50:33 +03:00
test_lltrace.py
test_locale.py
test_logging.py gh-109461: Update logging module lock to use context manager (#109462) 2023-09-27 18:26:41 +02:00
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py
test_math.py gh-108303: Move all math files to `Lib/test/mathdata/` (#109512) 2023-09-21 21:14:41 +02:00
test_math_property.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py gh-107888: Fix test_mmap.test_access_parameter() on macOS 14 (#109928) 2023-09-27 00:26:34 +02:00
test_modulefinder.py
test_monitoring.py gh-109371: Fix monitoring with instruction events set (gh-109385) 2023-09-18 23:30:08 +09:00
test_msvcrt.py gh-108996: fix and enable test_msvcrt (#109226) 2023-09-22 02:19:48 +02:00
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 gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722) 2023-09-22 13:51:58 -07:00
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py gh-109033: Return filename with os.utime errors (#109034) 2023-09-20 01:18:23 +02:00
test_osx_env.py
test_pathlib.py GH-109187: Improve symlink loop handling in `pathlib.Path.resolve()` (GH-109192) 2023-09-26 17:57:17 +01:00
test_patma.py
test_pdb.py gh-109375: Fix bug where pdb registers an alias without an associated command (#109376) 2023-09-14 22:31:30 +01:00
test_peepholer.py
test_pep646_syntax.py
test_perf_profiler.py gh-109580: Skip test_perf_profiler on ASAN build (#109584) 2023-09-19 19:42:51 +02:00
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 gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
test_positional_only_arg.py
test_posix.py
test_posixpath.py
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 gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_pyclbr.py
test_pydoc.py gh-107782: Use _testcapi to test non-representable signatures (GH-109325) 2023-09-14 09:12:17 +03:00
test_pyexpat.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py
test_readline.py
test_regrtest.py gh-109566: regrtest doesn't enable --rerun if --python is used (#109969) 2023-09-27 16:09:23 +02:00
test_repl.py
test_reprlib.py gh-109818: `reprlib.recursive_repr` copies `__type_params__` (#109819) 2023-09-27 19:26:42 -07:00
test_resource.py
test_richcmp.py
test_rlcompleter.py
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 gh-109237: Fix test_site for non-ASCII working directory (#109238) 2023-09-10 22:04:35 +00:00
test_slice.py
test_smtplib.py
test_smtpnet.py
test_socket.py gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (#109423) 2023-09-14 21:24:11 +00:00
test_socketserver.py
test_sort.py
test_source_encoding.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_ssl.py gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
test_stable_abi_ctypes.py gh-108511: Add C API functions which do not silently ignore errors (GH-109025) 2023-09-17 14:23:31 +03:00
test_startfile.py
test_stat.py
test_statistics.py
test_str.py gh-109050: Remove remaining tests for legacy Unicode C API (GH-109068) 2023-09-09 05:44:46 +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 gh-109615: Fix support test_copy_python_src_ignore() on WASM (#109970) 2023-09-27 17:29:20 +02:00
test_symtable.py gh-109207: Fix SystemError when printing symtable entry object. (GH-109225) 2023-09-10 15:04:24 +03:00
test_syntax.py
test_sys.py gh-109740: Use 't' in `--disable-gil` SOABI (#109922) 2023-09-27 15:24:12 +00:00
test_sys_setprofile.py gh-109371: Fix monitoring with instruction events set (gh-109385) 2023-09-18 23:30:08 +09:00
test_sys_settrace.py gh-105658: fix excess trace events for except block ending with a conditional block (#109384) 2023-09-14 17:06:08 +01:00
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697) 2023-09-22 00:59:08 +02:00
test_tcl.py
test_tempfile.py
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py gh-109593: Fix reentrancy issue in multiprocessing resource_tracker (#109629) 2023-09-26 13:57:25 +02:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_trace.py
test_traceback.py gh-109179: Fix traceback display for SyntaxErrors with notes (#109197) 2023-09-11 19:18:34 +01:00
test_tracemalloc.py
test_ttk_textonly.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 gh-109219: propagate free vars through type param scopes (#109377) 2023-09-14 10:20:32 -06:00
test_typechecks.py
test_types.py gh-109599: Add types.CapsuleType (#109600) 2023-09-25 19:50:39 +02:00
test_typing.py gh-109653: `typing.py`: improve import time by creating soft-deprecated members on demand (#109651) 2023-09-23 08:46:35 +01:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_unicodedata.py gh-109559: Update unicodedata checksums for 15.1.0. (#109597) 2023-09-19 22:40:34 -07:00
test_univnewlines.py
test_unpack.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_unpack_ex.py
test_unparse.py gh-108843: fix ast.unparse for f-string with many quotes (#108981) 2023-09-18 14:56:19 +01:00
test_urllib.py
test_urllib2.py
test_urllib2_localnet.py gh-108303: Move all certificates to `Lib/test/certdata/` (#109489) 2023-09-16 18:47:18 +02:00
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 gh-108303: Fix and move `badsyntax_pep3120.py` (#109513) 2023-09-18 14:04:17 +01:00
test_uuid.py
test_venv.py gh-109615: Fix test_tools.test_freeze SRCDIR (#109935) 2023-09-27 08:18:39 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.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
test_zipimport_support.py
test_zlib.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
testcodec.py
testtar.tar
testtar.tar.xz
tf_inherit_check.py
time_hashlib.py
wheel-0.40.0-py3-none-any.whl
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip