cpython/Lib/test
Michał Górny 8d7d257f6b
gh-124213: Fix incorrect context manager use in in_systemd_nspawn_sync_suppressed() (#124892)
Fix the incorrect use of `os.open()` result as a context manager,
while it is actually a numeric file descriptor.

I have missed the problem, because in the original version the
`os.open()` call would always fail, and I failed to test the final
version in all possible scenarios properly.
2024-10-02 14:31:42 +00: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-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401) 2024-09-25 21:23:47 +00:00
cjkencodings
configdata
crashers gh-121921: Make bogus_code_obj.py crash the interpreter (#121922) 2024-07-18 04:02:08 -04:00
data
decimaltestdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
dtracedata
encoded_modules
leakers
libregrtest gh-124613, regrtest: Detect JIT in build info (#124793) 2024-09-30 20:50:41 +02:00
mathdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
regrtestdata/import_from_tests
subprocessdata
support gh-124213: Fix incorrect context manager use in in_systemd_nspawn_sync_suppressed() (#124892) 2024-10-02 14:31:42 +00:00
test_ast gh-116022: Improve `repr()` of AST nodes (#117046) 2024-09-18 10:28:22 -07:00
test_asyncio gh-124309: Revert eager task factory fix to prevent breaking downstream (#124810) 2024-09-30 18:37:27 -07:00
test_capi gh-111495: Add tests for `PyCodec_*` C API (#123343) 2024-09-29 15:22:39 +00:00
test_cext test_cext, test_cppext: enable /W4 warnings on Windows (#124253) 2024-09-19 22:32:01 +02:00
test_concurrent_futures Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_cppext test_cext, test_cppext: enable /W4 warnings on Windows (#124253) 2024-09-19 22:32:01 +02:00
test_ctypes gh-100980: ctypes: Test, document, and fix finalizing _fields_ (GH-124292) 2024-09-24 02:40:53 +02:00
test_dataclasses gh-118974: Add `decorator` argument to `make_dataclass` (gh-122723) 2024-10-01 09:51:51 -04:00
test_doctest gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (GH-122865) 2024-09-09 16:04:58 +02:00
test_email Fix typos in comments and test code (#122846) 2024-08-11 21:16:41 -07:00
test_free_threading gh-124296: Remove private dictionary version tag (PEP 699) (#124472) 2024-10-01 12:39:56 -04:00
test_future_stmt gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_gdb gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) 2024-09-02 13:24:53 +00:00
test_import gh-123880: Allow recursive import of single-phase-init modules (GH-123950) 2024-09-20 10:27:34 +02:00
test_importlib gh-123085: _compile_importlib: Avoid copying sources before compilation (GH-124131) 2024-09-18 14:14:34 +02:00
test_inspect gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613) 2024-09-28 20:51:49 +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-122873: Allow "python -m json" to work (#122884) 2024-08-13 17:09:38 +01: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-119518: Stop interning strings in pathlib GH-123356) 2024-09-02 18:14:09 +02: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-113878: Add `doc` parameter to `dataclasses.field` (gh-114051) 2024-09-27 12:20:49 -04:00
test_pyrepl gh-119180: No longer set `__annotations__` in `__main__` (#124634) 2024-09-27 05:49:43 -07: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 gh-124835: `tomllib.loads`: Raise TypeError not AttributeError. Improve message (#124587) 2024-10-01 19:58:08 -07:00
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-86673: Harden `test_ttk.test_element_create_image` (#123335) 2024-09-27 08:21:15 +02:00
test_unittest gh-124176: Add special support for dataclasses to `create_autospec` (#124429) 2024-09-27 09:48:31 +03:00
test_warnings gh-122255: Add black box tests in test_warnings (GH-122227) 2024-08-08 10:35:47 +03:00
test_zipfile Fix typos (#123775) 2024-09-09 14:58:26 +02: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
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py gh-107851: Fix spurious failures in fcntl eintr tests (#121556) 2024-07-10 10:36:52 -04:00
_test_embed_set_config.py gh-107954, PEP 741: Add PyConfig_Get()/Set() functions (#123472) 2024-09-02 23:25:08 +02:00
_test_embed_structseq.py gh-108303: Remove the non-test `Lib/test/reperf.py` (GH-114356) 2024-09-13 13:13:52 +02:00
_test_monitoring_shutdown.py
_test_multiprocessing.py gh-84559: Change the multiprocessing start method default to `forkserver` (GH-101556) 2024-09-26 16:57:19 -07:00
_test_venv_multiprocessing.py
archiver_tests.py
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
clinic.test.c gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) 2024-08-09 09:22:41 +00:00
cov.py
curses_tests.py
datetimetester.py gh-41431: Add `datetime.time.strptime()` and `datetime.date.strptime()` (#120752) 2024-09-25 14:43:58 -07:00
dis_module.py
empty.vbs
exception_hierarchy.txt gh-119521: Remove _IncompleteInputError from the docs (GH-120993) 2024-06-27 09:09:22 +02:00
fork_wait.py
levenshtein_examples.json
list_tests.py 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 Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00: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-123990: Good bye WITH_FREELISTS macro (gh-124358) 2024-09-24 01:28:59 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.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 closes gh-124016: update Unicode to 16.0.0 (#124017) 2024-09-13 07:47:04 -07: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 gh-119180: No longer set `__annotations__` in `__main__` (#124634) 2024-09-27 05:49:43 -07:00
test__locale.py
test__opcode.py GH-122390: Replace `_Py_GetbaseOpcode` with `_Py_GetBaseCodeUnit` (GH-122942) 2024-08-13 14:22:57 +01:00
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_android.py gh-116622: Mock the passage of time in Android logcat rate limit tests (#124015) 2024-09-13 04:58:11 +00:00
test_annotationlib.py gh-119180: Rename SOURCE format to STRING (#124620) 2024-09-26 13:49:48 -07:00
test_argparse.py gh-85935: Improve tests for invalid arguments in test_argparse (GH-124891) 2024-10-02 16:28:05 +03: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
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-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613) 2024-09-28 20:51:49 +03:00
test_bytes.py
test_bz2.py Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00:00
test_c_locale_coercion.py
test_calendar.py gh-66436: Improved prog default value for argparse.ArgumentParser (GH-124799) 2024-10-01 22:51:40 +03:00
test_call.py gh-123465: Allow Py_RELATIVE_OFFSET for __*offset__ members (GH-123474) 2024-09-05 14:14:05 +02:00
test_charmapcodec.py
test_class.py gh-124722: Fix leak in `test_detach_materialized_dict_no_memory` (GH-124769) 2024-09-29 20:47:45 -05:00
test_clinic.py gh-122688: Add more tests for var-positional parameters in Argument Clinic (GH-122900) 2024-08-12 16:52:48 +03:00
test_cmath.py gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) 2024-09-08 16:01:54 +03:00
test_cmd.py
test_cmd_line.py gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754) 2024-09-06 01:15:30 +00:00
test_cmd_line_script.py
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 gh-124665: Add `_PyCodec_UnregisterError` and `_codecs._unregister_error` (#124677) 2024-09-29 02:25:23 +02:00
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-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_codeop.py
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-115142: Skip some test cases in ``Lib/test/test_compile`` if ``_testinternalcapi`` is not available (#124474) 2024-09-30 22:13:23 +03: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-124188: Fix PyErr_ProgramTextObject() (GH-124189) 2024-09-24 11:01:37 +03:00
test_complex.py gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) 2024-09-08 16:01:54 +03:00
test_configparser.py gh-123049: configparser: Allow to create the unnamed section from scratch. (#123077) 2024-08-18 15:52:25 -04: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 Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00:00
test_contextlib_async.py
test_copy.py gh-121300: Add `replace` to `copy.__all__` (#121302) 2024-07-03 20:33:56 +05:30
test_copyreg.py
test_coroutines.py 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-120378: Fix crash caused by integer overflow in `curses` (#124555) 2024-10-02 14:31:23 +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
test_dbm_dumb.py
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 gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613) 2024-09-28 20:51:49 +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
test_descr.py gh-123446: Fix empty function names in `TypeError`s in `typeobject` (#123470) 2024-08-30 10:36:51 +03: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-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT`` (gh-123092) 2024-08-22 23:49:09 +09:00
test_dictcomps.py gh-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
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 Add "annotate" SET_FUNCTION_ATTRIBUTE bit to dis. (#124566) 2024-09-25 17:01:45 -07: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-107954: Fix configuration type for the perf profiler (#124636) 2024-09-28 01:50:16 +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 Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_enumerate.py
test_eof.py gh-124188: Fix PyErr_ProgramTextObject() (GH-124189) 2024-09-24 11:01:37 +03:00
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-124188: Fix PyErr_ProgramTextObject() (GH-124189) 2024-09-24 11:01:37 +03: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 Revert "GH-120754: Add a strace helper and test set of syscalls for o… (#123303) 2024-08-24 21:54:31 +00: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-123811: test that round() can return signed zero (#123829) 2024-09-11 11:21:05 +02: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 Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_frame.py gh-124513: Check args in framelocalsproxy_new() (#124515) 2024-09-25 21:41:09 +02:00
test_frozen.py
test_fstring.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_ftplib.py
test_funcattrs.py gh-122864: Fix a ``test_funcattrs.test___builtins__`` when executing directly (#124845) 2024-10-02 12:58:39 +03:00
test_functools.py gh-119127: functools.partial placeholders (gh-119827) 2024-09-26 01:04:38 +00:00
test_gc.py gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (#124559) 2024-09-26 12:29:43 +02:00
test_generated_cases.py gh-124285: Fix bug where bool() is called multiple times for the same part of a boolean expression (#124394) 2024-09-25 15:51:25 +01:00
test_generator_stop.py
test_generators.py gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` (#123924) 2024-09-12 12:37:06 -04:00
test_genericalias.py gh-123341: Support `tkinter.Event` type subcript (#123353) 2024-09-01 12:47:07 +01: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
test_getpath.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_gettext.py
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 gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316) 2024-08-13 21:42:19 +00:00
test_heapq.py
test_hmac.py
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 gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) 2024-08-17 16:30:52 +03:00
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 Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00:00
test_ioctl.py gh-119770: Make termios ioctl() constants positive (#119840) 2024-05-31 17:18:40 +02:00
test_ipaddress.py gh-124217, ipaddress: Add RFC 9637 reserved IPv6 block `3fff::/20` (#124240) 2024-09-20 11:01:28 +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-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
test_iterlen.py
test_itertools.py gh-123884 Tee of tee was not producing n independent iterators (gh-124490) 2024-09-25 13:38:05 -07:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
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-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
test_lltrace.py
test_locale.py GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (#124110) 2024-09-16 23:00:36 +00:00
test_logging.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_long.py gh-121485: Always use 64-bit integers for integers bits count (GH-121486) 2024-08-30 08:13:24 +03: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-124040: Adjust few tests in testHypot/testDist to get exactly computed results (GH-124042) 2024-09-19 11:11:03 +03: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 gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898) 2024-09-11 12:05:46 +03:00
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-124213: Skip tests failing inside systemd-nspawn --suppress-sync=true (#124215) 2024-09-20 13:37:49 +00:00
test_modulefinder.py
test_monitoring.py gh-116750: Add clear_tool_id function to unregister events and callbacks (#124568) 2024-10-01 13:32:55 -04:00
test_msvcrt.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
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
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-122712: Test `CALL_ALLOC_AND_ENTER_INIT` handles reassignment of `__code__` (GH-122713) 2024-08-22 08:38:04 +01: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-115808: Add ``is_none`` and ``is_not_none`` to ``operator`` (#115814) 2024-08-10 20:16:34 +01: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-119004: fix a crash in equality testing between `OrderedDict` (#121329) 2024-09-23 18:44:36 -05:00
test_os.py Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00:00
test_osx_env.py
test_patma.py gh-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563) 2024-09-02 13:11:44 +02:00
test_pdb.py gh-124400: Use the normal command path for breakpoint commands (#124401) 2024-09-29 19:46:16 -04: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-124613: Don't run perf tests in JIT builds (#124792) 2024-09-30 17:57:00 +00: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 gh-123309: Remove check for redefined memo entry in pickletools.dis() (GH-123374) 2024-08-31 16:21:49 +03:00
test_pkg.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_pkgutil.py gh-123780: Make test_pkgutil clean up `spam` module (GH-123036) 2024-09-06 15:23:55 +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-123797: Check for runtime availability of `ptsname_r` on macos (#123806) 2024-09-20 09:30:27 +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 Remove "print >>obj" exception hint for Python 2 (#122853) 2024-08-12 04:12:14 +00:00
test_profile.py
test_property.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py
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
test_queue.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_quopri.py
test_raise.py
test_random.py gh-123968: Fix lower bound for `python -m random --float` (#123971) 2024-09-12 16:54:18 +03:00
test_range.py
test_re.py gh-124130: Increase test coverage for \b and \B in regular expressions (GH-124330) 2024-09-24 06:31:10 +00:00
test_readline.py gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (#123690) 2024-09-06 15:07:08 -04:00
test_regrtest.py Move get_signal_name() to test.support (#121251) 2024-07-02 10:34:13 +02:00
test_repl.py gh-124594: Create and reuse the same context for the entire asyncio REPL session (#124595) 2024-10-01 14:17:22 +00:00
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py gh-117764: Add docstrings and signatures for the types of None, Ellipsis and NotImplemented (GH-117813) 2024-04-12 15:45:23 +03:00
test_robotparser.py
test_runpy.py 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
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 gh-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
test_shelve.py
test_shlex.py
test_shutil.py gh-116622: Make test_unzip_zipfile recognize Android error message format (#124462) 2024-09-25 07:02:18 -07:00
test_signal.py gh-124083: Skip test_signal.test_strsignal() on NetBSD (#124084) 2024-09-18 21:22:00 +00:00
test_site.py gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) 2024-07-11 16:21:37 -04:00
test_slice.py
test_smtplib.py
test_smtpnet.py Test: Get the smtp test server using os.getenv() (#117979) 2024-04-17 15:31:48 +02:00
test_socket.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_ssl.py gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401) 2024-09-25 21:23:47 +00:00
test_stable_abi_ctypes.py gh-124127: Make Py_REFCNT() opaque in limited C API 3.14 (#124128) 2024-09-24 08:42:58 +02:00
test_startfile.py
test_stat.py
test_statistics.py Fix typos in comments (#123201) 2024-08-21 12:49:23 +00:00
test_str.py closes gh-124016: update Unicode to 16.0.0 (#124017) 2024-09-13 07:47:04 -07:00
test_strftime.py
test_string.py
test_string_literals.py Fix typos (#123775) 2024-09-09 14:58:26 +02: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-124248: Fix crash in struct when processing 0p fields (#124251) 2024-09-20 12:08:59 +02: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
test_subprocess.py Revert "GH-120754: Add a strace helper and test set of syscalls for o… (#123303) 2024-08-24 21:54:31 +00:00
test_sundry.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_super.py gh-124402: Speed up test_free_threading and test_super (#124491) 2024-09-26 10:53:17 +02:00
test_support.py gh-124682: Disable test that is prone to intermittent failure on iOS. (#124683) 2024-09-27 10:49:35 -07: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-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563) 2024-09-02 13:11:44 +02:00
test_sys.py gh-123990: Good bye WITH_FREELISTS macro (gh-124358) 2024-09-24 01:28:59 +00: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-121285: Remove backtracking when parsing tarfile headers (GH-121286) 2024-08-31 15:17:05 -07: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-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) 2024-09-13 19:27:54 +03:00
test_textwrap.py
test_thread.py
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
test_time.py gh-123017: Add Android to the list of platforms where `strftime` doesn't support negative years (#124467) 2024-09-27 10:35:18 -04: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-122145: Handle an empty AST body when reporting tracebacks (#122161) 2024-09-18 18:42:33 +02: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
test_tty.py
test_tuple.py
test_turtle.py gh-123614: Add save function to turtle.py (#123617) 2024-09-12 21:36:17 -07:00
test_type_aliases.py gh-124498: Fix `TypeAliasType` not to be generic, when `type_params=()` (#124499) 2024-09-26 17:15:38 +03:00
test_type_annotations.py gh-119180: Rename SOURCE format to STRING (#124620) 2024-09-26 13:49:48 -07: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
test_type_params.py gh-119180: Rename SOURCE format to STRING (#124620) 2024-09-26 13:49:48 -07:00
test_typechecks.py
test_types.py gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (GH-122865) 2024-09-09 16:04:58 +02:00
test_typing.py gh-119180: Rename SOURCE format to STRING (#124620) 2024-09-26 13:49:48 -07:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_unicodedata.py closes gh-124016: update Unicode to 16.0.0 (#124017) 2024-09-13 07:47:04 -07:00
test_univnewlines.py
test_unpack.py gh-122239: Add actual count in unbalanced unpacking error message when possible (#122244) 2024-09-10 16:07:30 +01:00
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-122909: Pass ftp error strings to URLError constructor (#122913) 2024-08-20 00:35:05 +00:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py gh-76960: Fix urljoin() and urldefrag() for URIs with empty components (GH-123273) 2024-08-31 12:42:08 +03:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_uuid.py
test_venv.py gh-124212: Fix undefined variable in error message in venv (GH-124211) 2024-09-18 22:05:18 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-123046: Fix regexp to catch cases where the module name is omitted from the weakref repr (#123047) 2024-08-16 07:14:53 +00:00
test_weakset.py
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
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 Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00: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-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214) 2024-08-23 12:12:58 +03: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 Fix typos (#123775) 2024-09-09 14:58:26 +02: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
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py