cpython/Lib/test
Barney Gale a0d3d3ec9d
GH-110109: pathlib ABCs: do not vary path syntax by host OS. (#113219)
Change the value of `pathlib._abc.PurePathBase.pathmod` from `os.path` to
`posixpath`.

User subclasses of `PurePathBase` and `PathBase` previously used the host
OS's path syntax, e.g. backslashes as separators on Windows. This is wrong
in most use cases, and likely to catch developers out unless they test on
both Windows and non-Windows machines.

In this patch we change the default to POSIX syntax, regardless of OS. This
is somewhat arguable (why not make all aspects of syntax abstract and
individually configurable?) but an improvement all the same.

This change has no effect on `PurePath`, `Path`, nor their subclasses. Only
private APIs are affected.
2023-12-22 18:09:50 +00:00
..
archivetestdata gh-108303: Move zip and tar archives to Lib/test/archivetestdata (#111549) 2023-11-04 10:57:53 +01:00
audiodata
certdata gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00
cjkencodings
configdata gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) 2023-11-09 14:52:32 +01:00
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest gh-108223: Refer to PEP 703 as Free Threading (#112780) 2023-12-06 12:55:58 +01:00
mathdata gh-108303: Move all math files to Lib/test/mathdata/ (#109512) 2023-09-21 21:14:41 +02:00
regrtestdata/import_from_tests gh-108927: Fix removing testing modules from sys.modules (GH-108952) 2023-12-04 15:43:27 +00:00
subprocessdata
support GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_asyncio GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (#113334) 2023-12-20 15:09:01 -08:00
test_capi GH-111485: Generate instruction and uop metadata (GH-113287) 2023-12-20 14:27:25 +00:00
test_concurrent_futures GH-110829: Ensure Thread.join() joins the OS thread (#110848) 2023-11-04 13:59:24 +00:00
test_cppext gh-112535: Add test on _Py_ThreadId() (#112709) 2023-12-04 22:40:06 +00:00
test_ctypes gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959) 2023-12-13 17:08:15 +01:00
test_dataclasses gh-109409: Fix inheritance of frozen dataclass from non-frozen dataclass mixins (gh-109437) 2023-10-12 09:05:23 -04:00
test_email [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (#111116) 2023-12-15 16:10:40 +01:00
test_future_stmt gh-109485: Further improve test_future_stmt tests (#109486) 2023-09-19 14:01:59 +02:00
test_gdb gh-110995: Fix test_gdb check_usable_gdb() (#110998) 2023-10-17 20:19:14 +02:00
test_import gh-95754: Better AttributeError on partially initialised module (#112577) 2023-12-21 13:24:10 -08:00
test_importlib gh-113174: Sync with importlib_metadata 7.0 (#113175) 2023-12-21 15:04:05 -05:00
test_inspect gh-112139: Add inspect.Signature.format and use it in pydoc (#112143) 2023-12-02 15:39:43 -08:00
test_interpreters gh-76785: Show the Traceback for Uncaught Subinterpreter Exceptions (gh-113034) 2023-12-13 00:00:54 +00:00
test_json GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_module gh-112414: Add additional unit tests for calling repr() on a namespace package (#112475) 2023-11-28 00:09:59 +00:00
test_multiprocessing_fork gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_forkserver gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_spawn gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_pathlib GH-110109: pathlib ABCs: do not vary path syntax by host OS. (#113219) 2023-12-22 18:09:50 +00:00
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-75666: Tkinter: "unbind(sequence, funcid)" now only unbinds "funcid" (GH-111322) 2023-12-06 16:42:15 +02:00
test_tomllib gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
test_tools gh-113384: Skip test_freeze for framework builds on macOS (#113390) 2023-12-22 11:35:54 +01:00
test_ttk gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00
test_unittest gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTestCase (#110776) 2023-10-31 15:03:54 -07:00
test_warnings gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097) 2023-12-01 22:18:16 +00:00
test_zipfile gh-108303: Move zip and tar archives to Lib/test/archivetestdata (#111549) 2023-11-04 10:57:53 +01:00
test_zoneinfo gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975) 2023-10-21 14:26:03 +03:00
tkinterdata
tokenizedata gh-108303: Fix and move badsyntax_pep3120.py (#109513) 2023-09-18 14:04:17 +01:00
tracedmodules
typinganndata gh-108303: Move more typing related files to Lib/test/typinganndata (#111825) 2023-11-08 14:19:34 +00:00
xmltestdata
.ruff.toml Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +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 gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643) 2023-11-03 09:45:53 +02:00
_test_eintr.py gh-109592: test_eintr tolerates 20 ms when comparing timings (#110102) 2023-09-29 15:20:59 +02:00
_test_embed_set_config.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
_test_embed_structseq.py
_test_multiprocessing.py gh-82300: Add track parameter to multiprocessing.shared_memory (#110778) 2023-12-05 00:11:44 -08:00
_test_venv_multiprocessing.py
audiotests.py
audit-tests.py GH-110829: Ensure Thread.join() joins the OS thread (#110848) 2023-11-04 13:59:24 +00:00
autotest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
bisect_cmd.py gh-108834: regrtest reruns failed tests in subprocesses (#108839) 2023-09-03 21:37:15 +00:00
clinic.test.c gh-112205: Support docstring for @getter (#113160) 2023-12-20 21:52:12 +09:00
cov.py gh-110722: Make -m test -T -j use sys.monitoring (GH-111710) 2023-11-10 18:17:45 +01:00
curses_tests.py
datetimetester.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
dis_module.py
doctest_aliases.py
doctest_lineno.py gh-61648: Detect line numbers of properties in doctests (GH-113161) 2023-12-15 15:24:30 +02:00
empty.vbs
exception_hierarchy.txt
fork_wait.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-109974: Fix more threading lock_tests race conditions (#110089) 2023-09-29 12:21:18 +00: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
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py gh-82565: Add tests for pickle and unpickle with bad files (GH-16606) 2023-12-01 13:36:37 +00:00
profilee.py
pstats.pck
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py gh-111863: Rename Py_NOGIL to Py_GIL_DISABLED (#111864) 2023-11-20 15:52:00 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
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 gh-110160: Fix flaky test_find_periodic_pattern in string_tests (#110170) 2023-10-01 16:20:01 +02:00
test___all__.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test__locale.py
test__opcode.py gh-110923: Fix silently skipped tests in test__opcode.py (#110926) 2023-10-16 13:30:35 +00:00
test__osx_support.py
test__xxinterpchannels.py gh-76785: Add Interpreter.prepare_main() (gh-113021) 2023-12-12 18:06:06 +00:00
test__xxsubinterpreters.py gh-76785: Add Interpreter.prepare_main() (gh-113021) 2023-12-12 18:06:06 +00:00
test_abc.py gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_abstract_numbers.py
test_argparse.py
test_array.py gh-106162: array: suppress warning in test_array (#106404) 2023-07-05 02:02:49 +09:00
test_asdl_parser.py
test_ast.py gh-111798: Use lower Py_C_RECURSION_LIMIT in debug mode (#112124) 2023-11-16 13:52:33 +00:00
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 GH-110829: Ensure Thread.join() joins the OS thread (#110848) 2023-11-04 13:59:24 +00:00
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py gh-67565: Add tests for C-contiguity checks (GH-110951) 2023-10-20 01:09:57 +03:00
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_bufio.py
test_builtin.py gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) 2023-12-14 14:24:24 +02:00
test_bytes.py gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) 2023-11-30 17:22:04 +02:00
test_bz2.py gh-108418: Speed up bigmem compression tests in dry mode (GH-108419) 2023-08-25 12:37:27 +03:00
test_c_locale_coercion.py gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (#113378) 2023-12-22 12:09:16 +01:00
test_calendar.py gh-69714: Make calendar module fully tested (#93655) 2023-07-22 15:20:40 +02:00
test_call.py gh-108494: Argument Clinic: fix support of Limited C API (GH-108536) 2023-08-28 16:04:27 +03:00
test_charmapcodec.py
test_class.py gh-107178: Add the C API tests for the Abstract Objects Layer (GH-107179) 2023-08-07 18:51:43 +03:00
test_clinic.py gh-113336: Remove the 'version' directive from Argument Clinic (#113341) 2023-12-21 13:10:41 +01:00
test_cmath.py
test_cmd.py gh-102130: Support tab completion in cmd for Libedit. (GH-107748) 2023-12-05 08:24:56 +01:00
test_cmd_line.py gh-112532: Require mimalloc in --disable-gil builds (gh-112883) 2023-12-12 09:04:48 +09:00
test_cmd_line_script.py gh-67224: Show source lines in tracebacks when using the -c option when running Python (#111200) 2023-10-26 15:17:28 +09:00
test_code.py gh-112962: in dis module, put cache information in the Instruction instead of creating fake Instructions to represent it (#113016) 2023-12-13 12:00:21 +00:00
test_code_module.py GH-102895 Add an option local_exit in code.interact to block exit() from terminating the whole process (GH-102896) 2023-10-18 11:36:43 -07:00
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) 2023-11-06 19:59:22 +09:00
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-109848: Make test_rot13_func in test_codecs independent (GH-109850) 2023-10-07 16:01:39 +03:00
test_codeop.py gh-111366: Correctly show custom syntax error messages in the codeop module functions (#111384) 2023-10-30 19:24:21 +00:00
test_collections.py gh-110275: Named tuple's __replace__() now raises TypeError for invalid arguments (GH-110299) 2023-12-04 13:30:32 +02:00
test_colorsys.py gh-106498: Revert incorrect colorsys.rgb_to_hls change (#106627) 2023-07-11 11:07:20 -04:00
test_compare.py
test_compile.py gh-113054: Compiler no longer replaces a redundant jump with no line number by a NOP (#113139) 2023-12-19 11:04:44 +00:00
test_compileall.py gh-105931: Fix surprising compileall stripdir behaviour (GH-108671) 2023-10-23 13:55:39 +00:00
test_compiler_assemble.py GH-105848: Simplify the arrangement of CALL's stack (GH-107788) 2023-08-09 18:19:39 +00:00
test_compiler_codegen.py GH-105848: Simplify the arrangement of CALL's stack (GH-107788) 2023-08-09 18:19:39 +00:00
test_complex.py gh-109802: Increase test coverage for complexobject.c (GH-112452) 2023-11-28 10:18:33 +02:00
test_configparser.py gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) 2023-11-09 14:52:32 +01:00
test_contains.py
test_context.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_contextlib.py gh-103791: handle BaseExceptionGroup in contextlib.suppress() (#111910) 2023-11-10 13:32:36 +00:00
test_contextlib_async.py gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (#110500) 2023-10-10 11:38:40 +02:00
test_copy.py gh-110275: Named tuple's __replace__() now raises TypeError for invalid arguments (GH-110299) 2023-12-04 13:30:32 +02:00
test_copyreg.py
test_coroutines.py gh-111058: Change coro.cr_frame/gen.gi_frame to be None for a closed coroutine/generator. (#112428) 2023-12-01 12:57:31 +00:00
test_cprofile.py gh-100762: Fix optimization in gen_close (#111069) 2023-10-25 16:22:34 +01:00
test_csv.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00
test_curses.py gh-106194: Rename duplicated tests in test_curses (#106196) 2023-06-28 14:41:08 -06:00
test_datetime.py
test_dbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_dbm_dumb.py
test_dbm_gnu.py gh-107122: Add clear method to dbm.gdbm.module (gh-107127) 2023-07-23 13:51:12 +00:00
test_dbm_ndbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_decimal.py gh-89902: Deprecate non-standard format specifier "N" for Decimal (GH-110508) 2023-10-08 10:01:39 +03:00
test_decorators.py gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 (gh-110163) 2023-10-27 00:24:56 -05:00
test_defaultdict.py
test_deque.py
test_descr.py gh-113157 gh-89519: Fix method descriptors (gh-113233) 2023-12-21 16:08:35 -06:00
test_descrtut.py gh-96663: Add a better error message for __dict__-less classes setattr (#103232) 2023-07-21 17:24:26 -07:00
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-112383: Fix test_loop_quicken when an executor is installed (GH-113153) 2023-12-15 17:27:57 +00:00
test_doctest.py gh-61648: Detect line numbers of properties in doctests (GH-113161) 2023-12-15 15:24:30 +02:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py gh-104280: Add test cases for DTrace probes (#107125) 2023-07-31 10:33:37 +02:00
test_dynamic.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_dynamicclassattribute.py
test_eintr.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_embed.py gh-112532: Require mimalloc in --disable-gil builds (gh-112883) 2023-12-12 09:04:48 +09:00
test_ensurepip.py
test_enum.py gh-112328: [Enum] Make some private attributes public. (GH-112514) 2023-12-05 08:27:36 -08: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 gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097) 2023-12-01 22:18:16 +00:00
test_extcall.py
test_faulthandler.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_fcntl.py Make test_fcntl quiet (#108758) 2023-09-01 14:59:09 +02:00
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py
test_fileio.py gh-111799: Fix testRecursiveRepr from test_fileio on WASI (GH-112181) 2023-11-16 15:12:27 -08:00
test_fileutils.py
test_finalization.py
test_float.py gh-111765: Move old PyFloat_* tests to Lib/test/test_capi/test_float.py (GH-111766) 2023-11-07 13:40:58 +02:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py gh-67790: Support basic formatting for Fraction (#111320) 2023-12-16 10:58:31 +00:00
test_frame.py gh-79932: raise exception if frame.clear() is called on a suspended frame (#111792) 2023-11-07 08:49:30 +00:00
test_frozen.py
test_fstring.py gh-99606: Make code generated for an empty f-string identical to that of a normal empty string (#112407) 2023-11-26 17:13:57 +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 gh-81137: deprecate assignment of code object to a function of a mismatched type (#111823) 2023-11-07 18:54:36 +00:00
test_functools.py GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_gc.py
test_generated_cases.py GH-111485: Delete the old generator code. (GH-113321) 2023-12-21 12:46:28 +00:00
test_generator_stop.py
test_generators.py Fix test_generators: save/restore warnings filters (#108246) 2023-08-21 23:41:13 +00:00
test_genericalias.py gh-107431: Make multiprocessing.managers.{DictProxy,ListProxy} generic (#107433) 2023-11-10 23:23:27 +00:00
test_genericclass.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_genericpath.py gh-106242: Fix path truncation in os.path.normpath (GH-106816) 2023-08-15 16:33:00 +01:00
test_genexps.py
test_getopt.py gh-89392: Use unittest test runner for doctests in test_getopt (GH-108916) 2023-09-05 17:35:28 +03:00
test_getpass.py gh-76912: Raise OSError from any failure in getpass.getuser() (#29739) 2023-11-27 10:05:55 -08:00
test_getpath.py gh-106718: Treat PyConfig.stdlib_dir as highest-priority setting for stdlib_dir when calculating paths (GH-108730) 2023-11-01 21:11:18 +00:00
test_gettext.py gh-88434: Emit deprecation warnings for non-integer numbers in gettext if translation not found (GH-110574) 2023-10-14 09:07:02 +03:00
test_glob.py GH-72904: Add glob.translate() function (#106703) 2023-11-13 17:15:56 +00:00
test_global.py
test_grammar.py gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal (GH-109081) 2023-09-07 17:00:13 +03:00
test_graphlib.py
test_grp.py
test_gzip.py gh-108111: Flush gzip write buffer before seeking, fixing bad writes (#108341) 2023-08-24 10:23:01 +02:00
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-113199: Make read1() and readline() of HTTPResponse close IO after reading all data (GH-113200) 2023-12-18 22:17:16 +02:00
test_httpservers.py gh-109096: Deprecate http.server.CGIHTTPRequestHandler (#109387) 2023-09-15 14:26:45 -07:00
test_idle.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
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_int.py
test_int_literal.py
test_io.py gh-111800: Fix test_recursive_repr from test_io under WASI to not recurse so deeply (GH-112150) 2023-11-16 11:47:38 -08:00
test_ioctl.py
test_ipaddress.py gh-109466: Add ipv6_mapped property to IPv4Address (#109467) 2023-11-05 16:50:31 +00:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py gh-113202: Add a strict option to itertools.batched() (gh-113203) 2023-12-16 09:13:50 -06:00
test_keyword.py
test_keywordonlyarg.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_kqueue.py gh-110395: test: assert after the child dies. (#111816) 2023-11-07 06:05:56 +00:00
test_largefile.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_launcher.py gh-83180: Made launcher treat shebang 'python' tags as low priority so that active virtual environments are preferred (GH-108101) 2023-10-02 12:22:55 +00:00
test_linecache.py
test_list.py
test_listcomps.py gh-110543: Fix CodeType.replace in presence of comprehensions (#110586) 2023-11-08 13:11:59 -07:00
test_lltrace.py
test_locale.py
test_logging.py gh-110875: Handle '.' properties in logging formatter configuration c… (GH-110943) 2023-11-09 18:55:22 +00:00
test_long.py
test_longexp.py
test_lzma.py gh-108418: Speed up bigmem compression tests in dry mode (GH-108419) 2023-08-25 12:37:27 +03:00
test_mailbox.py gh-90890: New methods to access mailbox.Maildir message info and flags (#103905) 2023-11-11 17:41:33 +00:00
test_marshal.py
test_math.py gh-102837: more tests for the math module (GH-111930) 2023-11-13 10:57:57 +01:00
test_math_property.py
test_memoryio.py gh-111049: Fix crash during garbage collection of the BytesIO buffer object (GH-111221) 2023-12-14 10:04:23 +00:00
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py gh-50002: xml.dom.minidom now preserves whitespaces in attributes (GH-107947) 2023-08-23 15:23:41 +03:00
test_mmap.py gh-111835: Add seekable method to mmap.mmap (gh-111852) 2023-11-09 20:13:35 +09:00
test_modulefinder.py
test_monitoring.py GH-109369: Exit tier 2 if executor is invalid (GH-111657) 2023-11-09 11:19:51 +00:00
test_msvcrt.py gh-110147: test_msvcrt: run console I/O tests in new processes (#110268) 2023-10-05 19:52:26 +02:00
test_multibytecodec.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py gh-89392: Remove test_main() in test_netrc (GH-108860) 2023-09-04 12:41:13 +03:00
test_ntpath.py GH-112675: Move path joining tests into test_posixpath and test_ntpath (#112676) 2023-12-07 21:45:40 +00:00
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 gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) 2023-08-23 17:42:08 +02:00
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py gh-105736: Sync pure python version of OrderedDict with the C version (#108098) 2023-08-21 11:49:08 +02:00
test_os.py gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091) 2023-12-14 13:27:43 +02:00
test_osx_env.py
test_patma.py gh-110686: Test pattern matching with runtime_checkable protocols (#110687) 2023-12-10 07:21:20 -08:00
test_pdb.py gh-102980: Redirect output of pdb's interact command, add tests and improve docs (#111194) 2023-12-07 11:19:33 +00:00
test_peepholer.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_pep646_syntax.py gh-89392: Fix running test_pep646_syntax as script (GH-108875) 2023-09-04 15:24:03 +03:00
test_perf_profiler.py gh-109587: Allow "precompiled" perf-trampolines to largely mitigate the cost of enabling perf-trampolines (#109666) 2023-10-27 03:57:29 +00: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 gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
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 gh-59616: Support os.chmod(follow_symlinks=True) and os.lchmod() on Windows (GH-113049) 2023-12-14 13:28:37 +02:00
test_posixpath.py GH-112675: Move path joining tests into test_posixpath and test_ntpath (#112676) 2023-12-07 21:45:40 +00:00
test_pow.py
test_pprint.py gh-111147: Fix test_set_of_sets_reprs in test_pprint (GH-111148) 2023-11-27 12:01:26 +02:00
test_print.py
test_profile.py
test_property.py gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 (gh-110163) 2023-10-27 00:24:56 -05:00
test_pstats.py gh-57879: Increase test coverage for pstats.py (gh-111447) 2023-11-21 22:32:09 +09:00
test_pty.py gh-110673: test_pty raises on short write (#110677) 2023-10-11 21:30:15 +00:00
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-112139: Add inspect.Signature.format and use it in pydoc (#112143) 2023-12-02 15:39:43 -08:00
test_pyexpat.py gh-111490: Make the exception type check in test_pyexpat more specific (GH-111491) 2023-11-03 10:28:14 +02:00
test_queue.py
test_quopri.py
test_raise.py gh-112217: Add check to call result for do_raise() where cause is a type. (#112216) 2023-11-27 21:13:27 +00:00
test_random.py Add extra tests for random.binomialvariate (gh-112325) 2023-11-23 12:31:03 -06:00
test_range.py
test_re.py GH-83162: Rename re.error for better clarity. (#101677) 2023-12-11 15:45:08 -05:00
test_readline.py gh-112510: Add readline.backend for the backend readline uses (GH-112511) 2023-12-01 14:05:55 +00:00
test_regrtest.py gh-108927: Fix removing testing modules from sys.modules (GH-108952) 2023-12-04 15:43:27 +00:00
test_repl.py gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097) 2023-12-01 22:18:16 +00:00
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 GH-111808: Make the default value for test.support.infinite_recursion() conditional on compiler optimizations (GH-112223) 2023-11-17 15:52:11 -08:00
test_rlcompleter.py gh-84805: Autogenerate signature for METH_NOARGS and METH_O extension functions (GH-107794) 2023-08-11 18:08:38 +03:00
test_robotparser.py
test_runpy.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_sax.py
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py gh-110038: KqueueSelector must count all read/write events (#110039) 2023-09-28 17:25:10 +00:00
test_set.py gh-110525: Delete test_c_api method from set object (#110688) 2023-10-13 10:06:25 +02:00
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) 2023-12-14 09:16:06 +02:00
test_signal.py gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (#112834) 2023-12-07 19:41:27 +01:00
test_site.py gh-108747: Add unit tests for site.{usercustomize,sitecustomize} hooks (#109470) 2023-10-17 22:05:41 -07:00
test_slice.py
test_smtplib.py gh-65495: Use lowercase mail from and rcpt to in smtplib.SMTP (#107019) 2023-07-22 16:46:59 +02:00
test_smtpnet.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_socket.py bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) 2023-12-01 15:16:49 +00:00
test_socketserver.py gh-110393: Remove watchdog with hardcoded timeout (#110400) 2023-10-05 15:02:48 +00:00
test_sort.py
test_source_encoding.py gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727) 2023-10-12 09:34:35 +02:00
test_ssl.py gh-112454: Disable TLS-PSK if OpenSSL was built without PSK support (#112491) 2023-11-28 16:15:39 -08:00
test_stable_abi_ctypes.py gh-111089: Revert PyUnicode_AsUTF8() changes (#111833) 2023-11-07 22:36:13 +00:00
test_startfile.py
test_stat.py bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) 2023-12-13 22:23:13 +02:00
test_statistics.py gh-112540: Support zero inputs in geometric_mean() (gh-112880) 2023-12-08 12:05:56 -06:00
test_str.py gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) 2023-11-30 17:22:04 +02:00
test_strftime.py
test_string.py
test_string_literals.py gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (#111381) 2023-10-27 12:19:34 +09:00
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py gh-112358: Fix Python 3.12 regression with subclassing struct.Struct. (#112424) 2023-11-26 14:29:52 +00:00
test_structseq.py gh-110222: Add support of PyStructSequence in copy.replace() (GH-110223) 2023-10-04 19:47:41 +03:00
test_subclassinit.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_subprocess.py gh-113117: Support posix_spawn in subprocess.Popen with close_fds=True (#113118) 2023-12-17 21:34:57 +00:00
test_sundry.py
test_super.py gh-113212: Improve error message & document zero-arg super inside nested functions and generator expressions (GH-113307) 2023-12-22 17:12:08 +02:00
test_support.py GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_symtable.py gh-113325: Remove a debugging print accidentally left in test_symtable (GH-113368) 2023-12-21 20:12:07 +02:00
test_syntax.py gh-113297: Fix segfault in compiler for with statement with 19 context managers (#113327) 2023-12-22 01:50:26 +00:00
test_sys.py gh-76785: Fixes for test.support.interpreters (gh-112982) 2023-12-12 08:24:31 -07:00
test_sys_setprofile.py gh-110892: Return NULL for PyTrace_RETURN events caused by an exception (GH-110909) 2023-11-02 16:38:08 +00:00
test_sys_settrace.py gh-111798: Use lower Py_C_RECURSION_LIMIT in debug mode (#112124) 2023-11-16 13:52:33 +00:00
test_sysconfig.py gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778) 2023-12-13 15:38:45 +00:00
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-87264: Convert tarinfo type to stat type (GH-113230) 2023-12-19 11:04:43 -08:00
test_tcl.py gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) 2023-08-07 14:11:39 +03:00
test_tempfile.py gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows (GH-112762) 2023-12-07 17:21:36 +00:00
test_termios.py gh-81002: Add tests for termios (GH-110386) 2023-10-10 13:35:15 +02:00
test_textwrap.py
test_thread.py GH-110829: Ensure Thread.join() joins the OS thread (#110848) 2023-11-04 13:59:24 +00:00
test_threadedtempfile.py
test_threading.py gh-76785: Fix test_threading on Non-Subinterpreter Builds (gh-113014) 2023-12-12 16:54:39 +00:00
test_threading_local.py
test_threadsignals.py
test_time.py gh-106316: Remove pytime.h header file (#106317) 2023-07-01 22:27:18 +00:00
test_timeit.py
test_timeout.py gh-75743: Restore test_timeout.testConnectTimeout() (#109087) 2023-09-07 20:13:32 +02:00
test_tokenize.py gh-112943: Correctly compute end offsets for multiline tokens in the tokenize module (#112949) 2023-12-11 11:44:22 +00:00
test_trace.py gh-68403: Fix test_coverage in test_trace (GH-108910) 2023-09-07 21:28:18 +03:00
test_traceback.py gh-112730: Use color to highlight error locations (gh-112732) 2023-12-06 23:29:54 +01:00
test_tracemalloc.py gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +02:00
test_ttk_textonly.py gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00
test_tty.py gh-110392: Fix tty functions (GH-110642) 2023-10-14 08:50:41 +03:00
test_tuple.py
test_turtle.py gh-107805: Fix signatures of module-level generated functions in turtle (#107807) 2023-09-01 01:18:15 -07:00
test_type_aliases.py gh-108303: Move more typing related files to Lib/test/typinganndata (#111825) 2023-11-08 14:19:34 +00:00
test_type_annotations.py
test_type_cache.py gh-89392: Use normal unittest runner in test_type_cache (GH-108911) 2023-09-05 13:46:17 +00:00
test_type_comments.py gh-111420: Allow type comments in parenthesized with statements (#111468) 2023-10-31 21:02:42 +00:00
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-74690: Avoid a costly type check where possible in _ProtocolMeta.__subclasscheck__ (#112717) 2023-12-04 19:35:46 +00: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-96954: use a directed acyclic word graph for storing the unicodedata codepoint names (#97906) 2023-11-04 15:56:58 +01: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-110259: Fix f-strings with multiline expressions and format specs (#110271) 2023-10-05 14:26:44 +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 gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_urllib_response.py
test_urllibnet.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_urlparse.py
test_userdict.py gh-111809: Fix test_deep_repr from test_userdict on WASI (GH-112229) 2023-11-22 14:55:25 -08:00
test_userlist.py gh-111810: Fix test_repr_deep from test_userlist on WASI (#112197) 2023-11-17 16:08:23 -08:00
test_userstring.py
test_utf8_mode.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_utf8source.py gh-108303: Fix and move badsyntax_pep3120.py (#109513) 2023-09-18 14:04:17 +01:00
test_uuid.py gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) 2023-07-10 16:29:03 -04:00
test_venv.py gh-86179: Implement realpath() on Windows for getpath.py calculations (GH-113033) 2023-12-13 23:41:43 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_weakset.py gh-110525: Delete test_c_api method from set object (#110688) 2023-10-13 10:06:25 +02:00
test_webbrowser.py gh-87277: Don't look for X11 browsers on macOS in webbrowser (#24480) 2023-12-21 14:43:38 +01:00
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py gh-112278: Add retry in WMI tests in case of slow initialization (GH-113154) 2023-12-15 13:42:37 +00:00
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_etree.py GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_xml_etree_c.py bpo-45229: Make ElementTree tests discoverable (GH-108859) 2023-09-04 13:04:32 +03:00
test_xmlrpc.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile64.py
test_zipimport.py gh-103200: Fix performance issues with zipimport.invalidate_caches() (GH-103208) 2023-07-07 22:02:13 +00:00
test_zipimport_support.py
test_zlib.py gh-112769: test_zlib: Fix comparison of ZLIB_RUNTIME_VERSION with non-int suffix (GH-112771) 2023-12-05 21:39:28 +02:00
testcodec.py
tf_inherit_check.py
time_hashlib.py
wheel-0.40.0-py3-none-any.whl
win_console_handler.py
xmltests.py