cpython/Lib/test
Petr Viktorin d00f7b1b9d
gh-125063: marshal: Add version 5, improve documentation (GH-126829)
* Document that slices can be marshalled
* Deduplicate and organize the list of supported types
  in docs
* Organize the type code list in marshal.c, to make
  it more obvious that this is a versioned format
* Back-fill some historical info

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2024-11-15 13:48:57 +01: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-107562: Update test certificates to expire far in the future (GH-125104) 2024-10-09 11:17:02 +02: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-109413: Enable `strict_optional` for `libregrtest/main.py` (#126394) 2024-11-13 22:29:28 +03:00
mathdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
regrtestdata/import_from_tests
subprocessdata
support gh-126413: Add translation tests for getopt and optparse (GH-126698) 2024-11-12 00:16:39 +02:00
test_ast gh-126105: Fix crash in `ast` module, when `._fields` is deleted (#126115) 2024-10-29 17:42:48 +02:00
test_asyncio gh-126353: remove implicit creation of loop from `asyncio.get_event_loop` (#126354) 2024-11-04 14:21:20 +05:30
test_capi gh-123619: Add an unstable C API function for enabling deferred reference counting (GH-123635) 2024-11-13 13:27:16 +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 gh-125864: Propagate `pickle.loads()` failures in `InterpreterPoolExecutor` (gh-125898) 2024-10-24 10:51:45 -06:00
test_cppext test_cext, test_cppext: enable /W4 warnings on Windows (#124253) 2024-09-19 22:32:01 +02:00
test_ctypes gh-126554: ctypes: Correctly handle NULL dlsym values (GH-126555) 2024-11-15 11:05:51 +01:00
test_dataclasses gh-118974: Add `decorator` argument to `make_dataclass` (gh-122723) 2024-10-01 09:51:51 -04:00
test_doctest gh-97850: remove ``find_loader`` and ``get_loader`` from ``pkgutil`` (#119656) 2024-11-01 18:35:22 +02:00
test_email gh-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +02:00
test_free_threading gh-125859: Fix crash when `gc.get_objects` is called during GC (#125882) 2024-10-24 09:33:11 -04:00
test_future_stmt gh-126139: Improve error message location for future statement with unknown feature (#126140) 2024-10-29 23:57:59 +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-125837: Split `LOAD_CONST` into three. (GH-125972) 2024-10-29 11:15:42 +00:00
test_importlib GH-126606: don't write incomplete pyc files (GH-126627) 2024-11-13 21:39:10 +00:00
test_inspect gh-70764: inspect.getclosurevars now identifies global variables with LOAD_GLOBAL (#120143) 2024-11-05 15:53:54 -08:00
test_interpreters gh-126223: Propagate unicode errors in `_interpreters.create()` (#126224) 2024-10-31 17:14:37 +03:00
test_json gh-125660: Reject invalid unicode escapes for Python implementation of JSON decoder (GH-125683) 2024-10-18 15:29:47 +03:00
test_module gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04: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 pathlib ABCs: tighten up `resolve()` and `absolute()` (#126611) 2024-11-09 18:47:49 +00:00
test_peg_generator gh-125588: Teach the python PEG generator the new f-string tokens (#125589) 2024-10-29 23:40:12 +00:00
test_pydoc gh-101552: Allow pydoc to display signatures in source format (#124669) 2024-10-09 05:03:53 +00:00
test_pyrepl gh-125666: Avoid PyREPL exiting when a null byte is in input (#125732) 2024-10-27 01:23:53 +00:00
test_sqlite3 gh-91818: Use default program name in the CLI of many modules (GH-124867) 2024-10-10 00:20:53 +03:00
test_tkinter gh-124111: Update tkinter for compatibility with Tcl/Tk 9.0.0 (GH-124156) 2024-11-14 12:45:08 -06:00
test_tomllib gh-126175: Add attributes to TOMLDecodeError. Deprecate free-form `__init__` args (GH-126428) 2024-11-13 13:52:16 +01:00
test_tools gh-126807: pygettext: Do not attempt to extract messages from function definitions. (GH-126808) 2024-11-14 22:17:42 +00:00
test_ttk gh-124111: Update tkinter for compatibility with Tcl/Tk 9.0.0 (GH-124156) 2024-11-14 12:45:08 -06:00
test_unittest gh-104745: Limit starting a patcher more than once without stopping it (#126649) 2024-11-13 08:20:38 +00:00
test_warnings gh-126209: Fix inconsistency of `skip_file_prefixes` in `warnings.warn`'s C and Python implementations (GH-126329) 2024-11-12 13:01:56 +01:00
test_zipfile Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_zoneinfo gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
tkinterdata
tokenizedata
tracedmodules
translationdata gh-126413: Add translation tests for getopt and optparse (GH-126698) 2024-11-12 00:16:39 +02:00
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
_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 gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py gh-126417: validate ABC methods on multiprocessing proxy types (#126454) 2024-11-10 23:08:58 -08: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-126018: Avoid aborting due to unnecessary assert in `sys.audit` (#126020) 2024-10-27 07:41:42 -07: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-122943: Add the varpos parameter in _PyArg_UnpackKeywords (GH-126564) 2024-11-08 14:23:50 +02:00
cov.py
curses_tests.py
datetimetester.py gh-52551: Fix encoding issues in strftime() (GH-125193) 2024-10-17 15:46:59 +00: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 gh-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +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-115382: Fix cross compiles when host and target use same SOABI 2024-10-16 23:01:42 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
seq_tests.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -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-126654: Fix crash in several functions in `_interpreters` module (#126678) 2024-11-11 17:05:56 +05:30
test__locale.py gh-124969: Make locale.nl_langinfo(locale.ALT_DIGITS) returning a string again (GH-125774) 2024-10-21 18:54:12 +00:00
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 gh-77465: Increase test coverage for the numbers module (GH-111738) 2024-01-25 16:35:05 +02:00
test_android.py Increase minimum Android API level to 24 (#125946) 2024-10-25 08:41:07 +08:00
test_annotationlib.py gh-125614: annotationlib: Fix bug where not all Stringifiers are converted (#125635) 2024-10-23 16:27:55 -07:00
test_argparse.py gh-126413: Add translation tests for getopt and optparse (GH-126698) 2024-11-12 00:16:39 +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-126018: Avoid aborting due to unnecessary assert in `sys.audit` (#126020) 2024-10-27 07:41:42 -07: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-125422: Don't set the caller's f_trace if it's botframe (#125427) 2024-10-15 10:51:37 -04: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 gh-126341: add release check to `__iter__` method of `memoryview` (#126759) 2024-11-13 11:51:01 +00:00
test_bufio.py
test_builtin.py gh-119793: Add optional length-checking to `map()` (GH-120471) 2024-11-04 15:00:19 +01: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 Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00: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 gh-66436: Improved prog default value for argparse.ArgumentParser (GH-124799) 2024-10-01 22:51:40 +03:00
test_call.py gh-122943: Add the varpos parameter in _PyArg_UnpackKeywords (GH-126564) 2024-11-08 14:23:50 +02:00
test_charmapcodec.py
test_class.py gh-60712: Include the "object" type in the lists of documented types (GH-103036) 2024-10-30 11:20:02 -07:00
test_clinic.py gh-122943: Add the varpos parameter in _PyArg_UnpackKeywords (GH-126564) 2024-11-08 14:23:50 +02: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-115999: Implement thread-local bytecode and enable specialization for `BINARY_OP` (#123926) 2024-11-04 11:13:32 -08:00
test_cmd_line_script.py gh-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01:00
test_code.py gh-126072: Set docstring attribute for module and class (#126231) 2024-11-08 15:13:18 +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-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +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-126072: Set docstring attribute for module and class (#126231) 2024-11-08 15:13:18 +00: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-126072: do not add `None` to `co_consts` if there is no docstring (GH-126101) 2024-10-30 09:01:09 +00:00
test_compiler_codegen.py GH-125837: Split `LOAD_CONST` into three. (GH-125972) 2024-10-29 11:15:42 +00: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 gh-126451: Register contextvars.Context to collections.abc.Mapping (#126452) 2024-11-07 01:12:45 +03:00
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-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01:00
test_cprofile.py gh-126220: Fix crash on calls to `_lsprof.Profiler` methods with 0 args (backportable) (#126271) 2024-11-02 00:53:29 +03:00
test_csv.py gh-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +02: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 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 gh-121798: Add class method Decimal.from_number() (GH-121801) 2024-10-14 08:24:01 +00: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-126146: Remove ``__cmp__`` method from tests (#126147) 2024-10-30 00:47:26 +02: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 gh-115999: Move specializer test from test_dis to test_opcache (gh-126498) 2024-11-07 05:23:47 +09: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-115999: Implement thread-local bytecode and enable specialization for `BINARY_OP` (#123926) 2024-11-04 11:13:32 -08: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-125259: Fix error notes removal in enum initialization (GH-125647) 2024-10-22 13:42:22 -07: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-126139: Improve error message location for future statement with unknown feature (#126140) 2024-10-29 23:57:59 +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 gh-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01:00
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-120754: Add a strace helper and test set of syscalls for open().read(), Take 2 (#123413) 2024-11-02 20:37:21 -07: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-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +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-121797: Add class method Fraction.from_number() (GH-121800) 2024-10-14 07:54:59 +00:00
test_frame.py gh-125590: Allow FrameLocalsProxy to delete and pop keys from extra locals (#125616) 2024-10-21 11:43:08 -04:00
test_frozen.py
test_fstring.py Fix typos (#123775) 2024-09-09 14:58:26 +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-122864: Fix a ``test_funcattrs.test___builtins__`` when executing directly (#124845) 2024-10-02 12:58:39 +03:00
test_functools.py gh-125916: Allow functools.reduce() 'initial' to be a keyword argument (#125917) 2024-11-12 13:11:58 +00:00
test_gc.py gh-126312: Don't traverse frozen objects on the free-threaded build (#126338) 2024-11-15 11:21:30 +01:00
test_generated_cases.py gh-126211: Exclude preprocessor directives from statements containing escaping calls (#126213) 2024-11-01 08:53:03 -07:00
test_generator_stop.py
test_generators.py gh-125038: Fix crash after genexpr.gi_frame.f_locals manipulations (#125178) 2024-10-22 09:00:25 -07:00
test_genericalias.py gh-126012: Add `__class_getitem__` to `memoryview` (#126013) 2024-10-27 13:36:03 +03: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-124917: Allow keyword args to os.path.exists/lexists on Windows (#124918) 2024-10-11 12:41:59 -07: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 gh-126390: Support for preserving order of options and nonoption arguments in gnu_getopt() (GH-126393) 2024-11-13 22:50:46 +02:00
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 gh-58749: Remove incorrect language spec claims about the global statement (GH-126523) 2024-11-12 10:11:40 +10:00
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-125260: Change the default ``gzip.compress()`` mtime to 0 (#125261) 2024-10-12 18:18:48 +01: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 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 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-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +00: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-126595: fix a crash when calling `itertools.count(sys.maxsize)` (#126617) 2024-11-12 14:10:10 +01: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-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +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 gh-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01: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-125063: marshal: Add version 5, improve documentation (GH-126829) 2024-11-15 13:48:57 +01:00
test_math.py gh-125522: Fix bare except in test_math.testTan (#125544) 2024-10-19 12:49:14 +01: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-84852: Add MIME types for .eot, ,otf, .ttf, .woff and .woff2 fonts (#20199) 2024-11-12 08:48:38 +02: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-125837: Split `LOAD_CONST` into three. (GH-125972) 2024-10-29 11:15:42 +00: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 gh-100746: Improve `test_named_expressions.py` (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py
test_ntpath.py gh-119826: Improved fallback for ntpath.abspath() on Windows (GH-119938) 2024-11-12 21:18:03 +00:00
test_numeric_tower.py
test_opcache.py gh-115999: Move specializer test from test_dis to test_opcache (gh-126498) 2024-11-07 05:23:47 +09: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 gh-126413: Add translation tests for getopt and optparse (GH-126698) 2024-11-12 00:16:39 +02:00
test_ordered_dict.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
test_os.py gh-120057: Add os.reload_environ() function (#126268) 2024-11-05 08:43:34 +01: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-125884: Support breakpoint on functions with annotations (#125892) 2024-10-23 18:04:30 -04:00
test_peepholer.py GH-125837: Split `LOAD_CONST` into three. (GH-125972) 2024-10-29 11:15:42 +00:00
test_pep646_syntax.py
test_perf_profiler.py gh-126255: Ignore warning about JIT being deactivated when perf support is active in `test_embed.InitConfigTests.test_initconfig_api` (#126302) 2024-11-01 23:10:58 +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-125631: Enable setting persistent_id and persistent_load of pickler and unpickler (GH-125752) 2024-11-07 08:53:02 +02: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-97850: remove ``find_loader`` and ``get_loader`` from ``pkgutil`` (#119656) 2024-11-01 18:35:22 +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-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +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-126303: Fix pickling and copying of os.sched_param objects (GH-126336) 2024-11-05 08:23:17 +02:00
test_posixpath.py GH-118289: Fix handling of non-directories in `posixpath.realpath()` (#120127) 2024-11-13 22:59:32 +00: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 gh-69990: Make Profile.print_stats support sorting by multiple values (GH-104590) 2024-02-16 12:03:46 +00:00
test_property.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_pstats.py
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 Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_quopri.py
test_raise.py gh-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01:00
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-126505: Fix bugs in compiling case-insensitive character classes (GH-126557) 2024-11-11 18:27:26 +02: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 gh-113570: reprlib.repr does not use builtin __repr__ for reshadowed builtins (GH-113577) 2024-10-17 16:34:37 +00:00
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-126146: Remove ``__cmp__`` method from tests (#126147) 2024-10-30 00:47:26 +02: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 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 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 Skip test in test_socket.py if `sys.getrefcount` isn't available (#126640) 2024-11-10 17:16:36 +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
test_ssl.py gh-126500: test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler; rely on __exit__ (GH-126503) 2024-11-07 11:07:02 +01:00
test_stable_abi_ctypes.py gh-121654: Add PyType_Freeze() function (#122457) 2024-10-25 11:12:48 +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 Fix typos in comments (#123201) 2024-08-21 12:49:23 +00:00
test_str.py gh-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +00:00
test_strftime.py gh-52551: Use wcsftime() to implement time.strftime() on Windows (GH-125658) 2024-10-19 11:29:51 +03:00
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-53203: Fix test_strptime on Solaris (GH-125785) 2024-10-21 22:17:39 +03:00
test_strtod.py
test_struct.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -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
test_subprocess.py gh-120754: Add a strace helper and test set of syscalls for open().read(), Take 2 (#123413) 2024-11-02 20:37:21 -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-125767: Fix pickling and copying of super objects (GH-125781) 2024-10-21 21:30:45 +03: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-115999: Implement thread-local bytecode and enable specialization for `BINARY_OP` (#123926) 2024-11-04 11:13:32 -08:00
test_sys_setprofile.py gh-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +01: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 Android: Update tests for newly-available functions affected by SELinux (#126015) 2024-10-27 10:35:53 +08:00
test_textwrap.py
test_thread.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_thread_local_bytecode.py gh-115999: Implement thread-local bytecode and enable specialization for `BINARY_OP` (#123926) 2024-11-04 11:13:32 -08:00
test_threadedtempfile.py
test_threading.py gh-87135: Hang non-main threads that attempt to acquire the GIL during finalization (GH-105805) 2024-10-02 09:17:49 -07: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 Add tests for time.strftime() with invalid format string (GH-125696) 2024-10-18 16:51:29 +03:00
test_timeit.py
test_timeout.py
test_tokenize.py gh-125008: Fix `tokenize.untokenize` roundtrip for `\n{{` (#125013) 2024-10-06 15:16:41 +02:00
test_trace.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
test_traceback.py gh-125593: Use colors to highlight error locations in tracebacks from exception group (#125681) 2024-10-27 01:57:10 +01: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 gh-114328: tty cbreak mode should not alter ICRNL (#114335) 2024-01-21 15:25:52 -08:00
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-124787: Fix `TypeAliasType` and incorrect `type_params` (#124795) 2024-10-11 17:39:18 +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 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: Rename SOURCE format to STRING (#124620) 2024-09-26 13:49:48 -07:00
test_typechecks.py
test_types.py gh-53203: Improve tests for strptime() (GH-125090) 2024-10-08 08:40:02 +00:00
test_typing.py gh-126705: Make os.PathLike more like a protocol (#126706) 2024-11-12 17:54:13 +00: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 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 GH-126766: `url2pathname()`: handle empty authority section. (#126767) 2024-11-14 20:22:14 +00:00
test_urllib2.py gh-125584: Require network resource in ``test_urllib2.HandlerTests.test_ftp_error`` (#125586) 2024-10-16 13:24:41 +00:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py gh-116897: Deprecate generic false values in urllib.parse.parse_qsl() (GH-116903) 2024-11-12 21:10:29 +02: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
test_utf8source.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_uuid.py gh-89083: add support for UUID version 8 (RFC 9562) (#123224) 2024-11-12 19:08:49 +01:00
test_venv.py gh-126084: Fix venvwlauncher.exe to run pythonw.exe (GH-126088) 2024-10-29 19:52:52 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04: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 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-125522 : add explicit exception types to bare excepts in tests (#125523) 2024-10-15 17:00:04 +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-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 gh-126366: Fix crash if `__iter__` raises an exception during `yield from` (#126369) 2024-11-05 15:26:36 +05:30
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 gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) 2024-11-02 08:27:07 +00:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py