cpython/Lib/test
Victor Stinner bf8b374639
gh-111495: Add more tests on PyEval C APIs (#122789)
* Add Lib/test/test_capi/test_eval.py
* Add Modules/_testlimitedcapi/eval.c
2024-08-08 14:16:20 +02:00
..
archivetestdata gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) 2024-03-22 20:08:00 +02:00
audiodata
certdata gh-107361: strengthen default SSL context flags (#112389) 2024-03-06 13:44:58 -08:00
cjkencodings
configdata gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879) 2023-11-09 14:52:32 +01:00
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-122420: Fix accounting for immortal interned strings in refleak.py (GH-122421) 2024-07-30 00:15:03 +02:00
mathdata gh-122637: fix tanh(±0+infj) and tanh(±0+nanj) to return ±0+nanj (#122638) 2024-08-04 10:05:30 +01: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-117482: Fix the Slot Wrapper Inheritance Tests (gh-122248) 2024-07-29 10:23:23 -06:00
test_ast gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of files (#122293) 2024-07-29 12:59:42 +02:00
test_asyncio gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (#122338) 2024-07-27 11:57:48 +05:30
test_capi gh-111495: Add more tests on PyEval C APIs (#122789) 2024-08-08 14:16:20 +02: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-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. (GH-122281) 2024-07-30 09:37:58 +02:00
test_dataclasses gh-119180: Add `annotationlib` module to support PEP 649 (#119891) 2024-07-23 21:16:50 +00:00
test_doctest gh-120417: Move imports to doctests in test_doctest (#120679) 2024-06-18 15:54:53 +02:00
test_email gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) 2024-07-31 00:19:48 +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 gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_gdb Fix incorrect usage of ``support.requires_gil_enabled`` (#118170) 2024-04-25 11:11:59 -04:00
test_import gh-122188: Remove _imp.pyc_magic_number (GH-122503) 2024-08-02 13:12:19 +03: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-122087: Add tests for ismethoddescriptor() and isroutine() with partial objects (GH-122219) 2024-07-25 10:12:26 +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 gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
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-73991: Rework `pathlib.Path.rmtree()` into `delete()` (#122368) 2024-08-07 01:34:44 +01:00
test_peg_generator gh-118235: Move RAISE_SYNTAX_ERROR actions to invalid rules and make sure they stay there (GH-119731) 2024-05-30 09:27:32 +02:00
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-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456) 2024-07-31 10:33:29 +00:00
test_sqlite3 gh-95144: Improve error message of `... in None` (GH-119888) 2024-07-12 16:34:17 +00:00
test_tkinter gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) 2024-06-24 12:17:25 +03:00
test_tomllib
test_tools gh-120418: Don't assume wheeldata is deleted if `WHEEL_PKG_DIR` is set (#120419) 2024-06-12 21:19:36 +02:00
test_ttk gh-120873: Add tests for new widget options in Tk 8.7 (GH-120877) 2024-06-22 16:19:42 +03:00
test_unittest gh-121708: Improve test coverage for `unittest.util` (GH-121713) 2024-07-14 10:08:47 +02:00
test_warnings gh-122255: Add black box tests in test_warnings (GH-122227) 2024-08-08 10:35:47 +03:00
test_zipfile gh-119588: Implement zipfile.Path.is_symlink (zipp 3.19.0). (#119591) 2024-06-03 11:13:07 -04:00
test_zoneinfo gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
tkinterdata
tokenizedata
tracedmodules
typinganndata gh-114053: Fix another edge case involving `get_type_hints`, PEP 695 and PEP 563 (#120272) 2024-06-25 16:53:18 +01:00
wheeldata gh-116877: Update `wheel` to version `0.43.0` (#116878) 2024-03-18 11:50:32 -04:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml Bump ruff to 0.2.0 (#114932) 2024-02-02 21:04:15 +00:00
__init__.py
__main__.py
_test_atexit.py gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643) 2023-11-03 09:45:53 +02:00
_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 gh-120417: Remove unused imports in tests (part 1) (#120629) 2024-06-17 21:05:56 +02:00
_test_embed_structseq.py
_test_monitoring_shutdown.py gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py gh-120012: clarify the behaviour of `multiprocessing.Queue.empty` on closed queues. (GH-120102) 2024-06-13 19:03:01 +00:00
_test_venv_multiprocessing.py
archiver_tests.py gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082) 2024-02-11 12:38:07 +02:00
audiotests.py
audit-tests.py gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) 2024-05-29 16:51:09 +01:00
autotest.py
bisect_cmd.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
clinic.test.c gh-113993: Allow interned strings to be mortal, and fix related issues (GH-120520) 2024-06-21 17:19:31 +02: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-120782: Update datetime test for static type immutability (#122800) 2024-08-08 10:05:06 +05:30
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 gh-120384: Fix array-out-of-bounds crash in `list_ass_subscript` (#120442) 2024-06-21 13:48:38 +03:00
lock_tests.py gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) 2024-07-30 11:53:07 +03:00
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 gh-122459: Optimize pickling by name objects without __module__ (GH-122460) 2024-08-05 16:21:32 +03:00
profilee.py
pstats.pck
pyclbr_input.py gh-120449: fix ``test_pyclbr`` introspection for mangled names (GH-120450) 2024-06-18 14:29:43 +00:00
pythoninfo.py gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (#119140) 2024-05-18 09:24:22 -04:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
seq_tests.py gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
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 gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test__colorize.py gh-117225: Move colorize functionality to own internal module (#118283) 2024-05-01 12:27:06 -06:00
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 Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01: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_abc.py
test_abstract_numbers.py gh-77465: Increase test coverage for the numbers module (GH-111738) 2024-01-25 16:35:05 +02:00
test_android.py gh-116622: Android logging fixes (#122698) 2024-08-06 12:28:58 +08:00
test_annotationlib.py gh-119180: Add evaluate functions for type params and type aliases (#122212) 2024-07-27 17:24:10 +00:00
test_argparse.py gh-121151: argparse: Fix wrapping of long usage text of arguments inside a mutually exclusive groups (GH-121159) 2024-08-07 15:20:38 +02:00
test_array.py Fix typos in comments and docstring (#122720) 2024-08-07 07:39:16 +01:00
test_asdl_parser.py
test_asyncgen.py GH-117714: implement athrow().close() and asend().close() using throw (GH-117906) 2024-05-06 17:13:15 +00:00
test_atexit.py
test_audit.py gh-120373: Mark test_audit.test_http as requiring the network resource (#120374) 2024-06-24 07:18:46 -06:00
test_augassign.py
test_base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
test_baseexception.py gh-119521: Remove _IncompleteInputError from the docs (GH-120993) 2024-06-27 09:09:22 +02:00
test_bdb.py gh-120417: Modify test_bdb to use the import (#120628) 2024-06-17 21:06:18 +02:00
test_bigaddrspace.py
test_bigmem.py
test_binascii.py gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) 2024-05-07 11:18:45 +02:00
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py Fix typos in test_buffer.py and update numpy issue links (#118963) 2024-05-15 22:16:34 -07:00
test_bufio.py
test_builtin.py gh-116402: Avoid readline in test_builtin TTY input tests (GH-122447) 2024-07-30 16:57:19 +00:00
test_bytes.py gh-116417: Move limited C API abstract.c tests to _testlimitedcapi (#116986) 2024-03-19 10:44:13 +00:00
test_bz2.py gh-115961: Add name and mode attributes for compressed file-like objects (GH-116036) 2024-04-21 11:46:39 +03:00
test_c_locale_coercion.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_calendar.py
test_call.py gh-120417: Remove unused imports in tests (part 1) (#120629) 2024-06-17 21:05:56 +02:00
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 gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) 2024-08-07 23:30:10 +03: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-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (#121017) 2024-06-26 10:39:07 +00:00
test_cmd_line_script.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_code.py gh-119180: Add LOAD_COMMON_CONSTANT opcode (#119321) 2024-05-22 00:46:39 +00:00
test_code_module.py gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) 2024-08-07 23:20:57 +03: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-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_codeop.py gh-113703: Correctly identify incomplete f-strings in the codeop module (#113709) 2024-01-05 12:16:46 +00:00
test_collections.py gh-118803: Remove `ByteString` from `typing` and `collections.abc` (#118804) 2024-05-09 00:37:55 +01:00
test_colorsys.py
test_compare.py
test_compile.py gh-122445: populate only modified fields in __static_attributes__ (#122446) 2024-08-02 15:40:42 +01:00
test_compileall.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_compiler_assemble.py gh-117680: make _PyInstructionSequence a PyObject and use it in tests (#117629) 2024-04-17 16:42:04 +01:00
test_compiler_codegen.py gh-93691: fix too broad source locations of for statement iterators (#120330) 2024-06-12 12:53:19 +01:00
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 gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
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 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-121300: Add `replace` to `copy.__all__` (#121302) 2024-07-03 20:33:56 +05:30
test_copyreg.py
test_coroutines.py gh-114091: Reword error message for unawaitable types (#114090) 2024-06-17 20:18:17 +05:30
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 gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) 2024-07-25 10:04:47 +03:00
test_curses.py gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00:00
test_datetime.py gh-120242: Fix handling of `[setUp,tearDown]Class` in `test_datetime` (#120243) 2024-06-08 10:51:09 +03:00
test_dbm.py gh-100414: Add SQLite backend to dbm (#114481) 2024-02-14 11:14:56 +00:00
test_dbm_dumb.py gh-83383: Always mark the dbm.dumb database as unmodified after open() and sync() (GH-114560) 2024-02-04 17:23:26 +02:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_decimal.py Restore decimal context after decimal doctests (GH-120149) 2024-06-06 20:12:32 +03:00
test_decorators.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_defaultdict.py
test_deque.py gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) 2024-02-14 16:08:26 +00:00
test_descr.py gh-117657: Fix `__slots__` thread safety in free-threaded build (#119368) 2024-06-17 18:44:54 +00:00
test_descrtut.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
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 gh-115801: Only allow sequence of strings as input for difflib.unified_diff (GH-118333) 2024-06-10 14:06:18 +03:00
test_difflib_expect.html
test_dis.py GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164) 2024-07-25 16:24:29 +01:00
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_dynamicclassattribute.py
test_eintr.py
test_embed.py gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) 2024-08-03 15:15:26 +02:00
test_ensurepip.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_enum.py gh-120361: Add `nonmember` test with enum flags inside to `test_enum` (GH-120364) 2024-06-14 10:25:35 -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-120544: Add `else: fail()` to tests where exception is expected (#120545) 2024-06-15 10:33:14 +00:00
test_extcall.py
test_external_inspection.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
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 gh-116622: Test updates for Android (#117299) 2024-04-05 20:57:36 +00:00
test_file.py
test_file_eintr.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_filecmp.py gh-122400: Handle ValueError in filecmp (GH-122401) 2024-07-30 08:50:30 +00:00
test_fileinput.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_fileio.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_fileutils.py
test_finalization.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
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 gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309) 2024-07-30 22:11:00 +00:00
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 gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) 2024-02-17 11:57:51 +00: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-119180: Add `annotationlib` module to support PEP 649 (#119891) 2024-07-23 21:16:50 +00:00
test_gc.py gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
test_generated_cases.py GH-122155: Track local variables between pops and pushes in cases generator (GH-122286) 2024-08-01 09:27:26 +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 gh-110209: Add __class_getitem__ for generator and coroutine (#110212) 2024-05-06 18:41:32 -07:00
test_genericclass.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_genericpath.py gh-118507 : Refactor `nt._path_is*` to improve applicability for other cases (GH-118755) 2024-05-21 21:36:36 +01:00
test_genexps.py gh-119057: Use better error messages for zero division (#119066) 2024-06-03 19:03:56 +03:00
test_getopt.py
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-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) 2024-07-11 16:21:37 -04: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-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322) 2024-05-04 12:11:11 +01:00
test_global.py
test_grammar.py gh-119180: Add `annotationlib` module to support PEP 649 (#119891) 2024-07-23 21:16:50 +00:00
test_graphlib.py
test_grp.py
test_gzip.py gh-112346: Always set OS byte to 255, simpler gzip.compress function. (GH-120486) 2024-06-15 18:46:39 +00:00
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py bpo-14322: added test case for invalid update to hmac (#26636) 2024-02-25 03:33:28 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
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-117879: Fix test_httpservers for the build with profiling (GH-117932) 2024-04-17 12:50:07 +03:00
test_idle.py
test_imaplib.py gh-120417: Remove unused imports in tests (part 3) (#120631) 2024-06-17 21:04:58 +02:00
test_index.py
test_int.py gh-120417: Remove unused imports in tests (part 3) (#120631) 2024-06-17 21:04:58 +02:00
test_int_literal.py
test_io.py gh-119506: fix `_io.TextIOWrapper.write()` write during flush (#119507) 2024-06-03 16:47:36 +09:00
test_ioctl.py gh-119770: Make termios ioctl() constants positive (#119840) 2024-05-31 17:18:40 +02:00
test_ipaddress.py gh-117566: fix IPv6Address.is_loopback for IPv4-mapped loopbacks (GH-117567) 2024-04-25 15:17:40 +00:00
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 gh-93691: fix too broad source locations of for statement iterators (#120330) 2024-06-12 12:53:19 +01:00
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 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-120754: Add more tests around seek + readall (#122103) 2024-07-23 23:14:35 -07:00
test_launcher.py gh-119070: Update test_shebang_executable_extension to always use non-installed version (GH-119846) 2024-06-04 10:17:45 +02:00
test_linecache.py gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) 2024-07-27 10:10:42 +00:00
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 gh-119666: fix multiple class-scope comprehensions referencing __class__ (#120295) 2024-06-09 22:23:30 -04:00
test_lltrace.py
test_locale.py
test_logging.py gh-116263: Do not rollover empty files in RotatingFileHandler (GH-122788) 2024-08-08 09:48:11 +03:00
test_long.py gh-119740: Remove deprecated trunc delegation (#119743) 2024-06-02 10:16:49 +01:00
test_longexp.py
test_lzma.py gh-115961: Add name and mode attributes for compressed file-like objects (GH-116036) 2024-04-21 11:46:39 +03:00
test_mailbox.py gh-120417: Remove unused imports in tests (part 3) (#120631) 2024-06-17 21:04:58 +02: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-118671: Updated dead ActiveState links (#118730) 2024-05-08 01:06:38 -06:00
test_math_property.py
test_memoryio.py gh-118527: Intern code consts in free-threaded build (#118667) 2024-05-06 20:12:39 -04:00
test_memoryview.py
test_metaclass.py gh-118465: Add __firstlineno__ attribute to class (GH-118475) 2024-05-06 12:02:37 +03:00
test_mimetypes.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_minidom.py
test_mmap.py gh-118209: Add Windows structured exception handling to mmap module (GH-118213) 2024-05-10 10:47:30 +01:00
test_modulefinder.py
test_monitoring.py gh-122247: Move instruction instrumentation sanity check after tracing check (#122251) 2024-08-07 21:30:14 -07:00
test_msvcrt.py
test_multibytecodec.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_multiprocessing_main_handling.py
test_named_expressions.py gh-100746: Improve `test_named_expressions.py` (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py
test_ntpath.py gh-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-118355) 2024-05-24 19:04:17 +01:00
test_numeric_tower.py
test_opcache.py gh-118335: Configure Tier 2 interpreter at build time (#118339) 2024-04-30 18:26:34 -07:00
test_opcodes.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_openpty.py
test_operator.py gh-118285: Fix signatures of operator.{attrgetter,itemgetter,methodcaller} instances (GH-118316) 2024-04-29 19:30:48 +03:00
test_optimizer.py gh-118335: Configure Tier 2 interpreter at build time (#118339) 2024-04-30 18:26:34 -07:00
test_optparse.py
test_ordered_dict.py gh-118846: Fix PGO tests in free-threaded build (#118862) 2024-05-09 16:06:20 -04:00
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 syntax error on comma-less tuple-style sequence patterns (#115485) 2024-05-01 01:33:28 -07:00
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 gh-120417: Remove unused imports in tests (part 3) (#120631) 2024-06-17 21:04:58 +02:00
test_pep646_syntax.py
test_perf_profiler.py gh-120417: Remove unused imports in tests (part 3) (#120631) 2024-06-17 21:04:58 +02:00
test_perfmaps.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_pickle.py gh-122311: Add more tests for pickle (GH-122376) 2024-07-28 11:33:17 +03:00
test_picklebuffer.py
test_pickletools.py
test_pkg.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
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 gh-114099: Additions to standard library to support iOS (GH-117052) 2024-03-28 03:59:33 -04:00
test_plistlib.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
test_poll.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_popen.py
test_poplib.py
test_positional_only_arg.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_posix.py gh-89928: Fix integer conversion of device numbers (GH-31794) 2024-06-04 19:36:37 +03:00
test_posixpath.py gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don't support pwd.getpwall (GH-122521) 2024-07-31 21:35:10 +03:00
test_pow.py
test_pprint.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
test_print.py
test_profile.py gh-69990: Make Profile.print_stats support sorting by multiple values (GH-104590) 2024-02-16 12:03:46 +00:00
test_property.py bpo-24766: doc= argument to subclasses of property not handled correctly (GH-2487) 2024-06-10 08:55:49 +00: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-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_pulldom.py
test_pwd.py
test_py_compile.py Fix test_py_compile with -O mode (GH-115345) 2024-02-19 19:02:51 +02:00
test_pyclbr.py gh-120449: fix ``test_pyclbr`` introspection for mangled names (GH-120450) 2024-06-18 14:29:43 +00:00
test_pyexpat.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_queue.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
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 gh-118131: Command-line interface for the `random` module (#118132) 2024-05-05 06:30:03 +00:00
test_range.py
test_re.py gh-122798: Make tests for warnings in the re module more strict (GH-122799) 2024-08-07 19:43:49 +00:00
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 gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_richcmp.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
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 gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_sax.py gh-120417: Fix "imported but unused" linter warnings (#120461) 2024-06-14 20:39:50 +02:00
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 gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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 gh-121999: Change default tarfile filter to 'data' (GH-122002) 2024-07-26 16:34:13 +02: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 gh-108303: Move `smtpd` to `test.support` (#114368) 2024-01-22 14:36:29 +01:00
test_smtpnet.py Test: Get the smtp test server using os.getenv() (#117979) 2024-04-17 15:31:48 +02:00
test_socket.py gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (#122493) 2024-07-31 10:24:15 +02:00
test_socketserver.py
test_sort.py GH-116554: Relax list.sort()'s notion of "descending" runs (#116578) 2024-03-12 19:59:42 -05:00
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-115627: Fix ssl test_pha_required_nocert() (#117821) 2024-04-12 20:41:16 +02:00
test_stable_abi_ctypes.py gh-105201: Add PyIter_NextItem() (#122331) 2024-08-08 00:47:15 +02:00
test_startfile.py
test_stat.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
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 gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631) 2024-05-28 12:01:37 +03: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 gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) 2024-05-11 14:46:07 -07:00
test_strtod.py
test_struct.py gh-118846: Fix PGO tests in free-threaded build (#118862) 2024-05-09 16:06:20 -04:00
test_structseq.py gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) 2024-08-02 18:11:44 +02: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-121381 Remove subprocess._USE_VFORK escape hatch (#121383) 2024-07-30 18:39:54 -07:00
test_sundry.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_super.py gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195) 2024-06-11 20:10:23 +01:00
test_support.py Move get_signal_name() to test.support (#121251) 2024-07-02 10:34:13 +02:00
test_symtable.py gh-122560: add test that comprehension loop var appears only in one scope of the symtable (#122582) 2024-08-02 23:56:51 +01:00
test_syntax.py gh-122245: Add test case of generic type with __debug__ (#122322) 2024-07-26 18:40:36 +00:00
test_sys.py gh-122417: Implement per-thread heap type refcounts (#122418) 2024-08-06 14:36:57 -04:00
test_sys_setprofile.py gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) 2024-07-23 15:25:26 -07:00
test_sys_settrace.py GH-121131: Clean up and fix some instrumented instructions. (GH-121132) 2024-07-26 12:24:12 +01:00
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 gh-120495: Fix incorrect exception handling in Tab Nanny (#120498) 2024-06-15 05:04:14 -06:00
test_tarfile.py gh-121999: Change default tarfile filter to 'data' (GH-122002) 2024-07-26 16:34:13 +02:00
test_tcl.py gh-119614: Fix truncation of strings with embedded null characters in Tkinter (GH-120909) 2024-06-24 12:17:25 +03:00
test_tempfile.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_termios.py gh-119770: Make termios ioctl() constants positive (#119840) 2024-05-31 17:18:40 +02:00
test_textwrap.py
test_thread.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_threadedtempfile.py
test_threading.py gh-118495: Skip test using threads after forking when running with TSAN (#118530) 2024-05-03 11:14:26 -04:00
test_threading_local.py
test_threadsignals.py gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (#116423) 2024-03-11 21:39:17 +01:00
test_time.py GH-70647: Deprecate strptime day of month parsing without a year present to avoid leap-year bugs (GH-117107) 2024-04-03 14:19:49 +02:00
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 gh-118846: Fix free-threading test failures when run sequentially (#118864) 2024-05-10 16:29:29 -04:00
test_traceback.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_tracemalloc.py gh-112730: Respect tests that require environment variables with no-colorize fixes (#118288) 2024-04-26 21:23:30 +01: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-114328: tty cbreak mode should not alter ICRNL (#114335) 2024-01-21 15:25:52 -08:00
test_tuple.py
test_turtle.py
test_type_aliases.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
test_type_annotations.py gh-119180: Add `annotationlib` module to support PEP 649 (#119891) 2024-07-23 21:16:50 +00:00
test_type_cache.py GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. (GH-122182) 2024-07-24 10:22:51 +01:00
test_type_comments.py gh-115881: Ensure `ast.parse()` parses conditional context managers even with low `feature_version` passed (#115920) 2024-02-26 09:22:09 +00:00
test_type_params.py gh-119180: Add evaluate functions for type params and type aliases (#122212) 2024-07-27 17:24:10 +00:00
test_typechecks.py
test_types.py gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122248) 2024-07-29 10:23:23 -06:00
test_typing.py gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) 2024-08-07 23:30:10 +03:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_unicode_identifiers.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00: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
test_unpack_ex.py gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) 2024-05-20 20:29:17 +00:00
test_unparse.py gh-116126: Implement PEP 696 (#116129) 2024-05-03 06:17:32 -07:00
test_urllib.py
test_urllib2.py gh-99730: urllib.request: Keep HEAD method on redirect (GH-99731) 2024-05-01 18:01:47 +02:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py gh-118827: Remove `Quoter` from `urllib.parse` (#118828) 2024-06-03 10:50:29 +03:00
test_userdict.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -08:00
test_userlist.py GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097) 2024-01-16 11:36:41 -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-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_uuid.py gh-113308: Remove some internal parts of `uuid` module (#115934) 2024-03-14 13:01:41 +03:00
test_venv.py gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) 2024-08-08 11:20:58 +02: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 gh-110525: Delete `test_c_api` method from `set` object (#110688) 2023-10-13 10:06:25 +02:00
test_webbrowser.py Fix typos in docs, error messages and comments (#122502) 2024-08-01 00:26:09 +00:00
test_winapi.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
test_winconsoleio.py gh-115538: Emit warning when use bool as fd in _io.WindowsConsoleIO (GH-116925) 2024-03-18 11:48:50 +00:00
test_winreg.py
test_winsound.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_with.py gh-93691: fix too broad source locations of with-statement instructions (#120125) 2024-06-07 14:06:24 +01:00
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 gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_xml_etree_c.py
test_xmlrpc.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) 2024-05-16 10:25:10 +03:00
test_zipfile64.py
test_zipimport.py Improve zipimport tests (GH-121535) 2024-07-10 11:29:03 +03:00
test_zipimport_support.py gh-117294: Report DocTestCase as skipped if all examples in the doctest are skipped (GH-117297) 2024-03-28 21:59:12 +02:00
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
win_console_handler.py
xmltests.py