cpython/Lib/test/test_capi
Victor Stinner fceb8c31dd
[3.12] gh-111495: Add more tests on PyEval C APIs (#122789) (#128987) (#129023)
* Add Lib/test/test_capi/test_eval.py
* Add Modules/_testlimitedcapi/eval.c

(cherry picked from commit bf8b374639)

* gh-111495: Fix refleaks in test_capi.test_eval tests (#122851)

(cherry picked from commit b4a316087c)
(cherry picked from commit 430ccbc009)
2025-01-19 13:51:53 +00:00
..
__init__.py
__main__.py
check_config.py [3.12] gh-104621: Check for Incompatible Extensions in import_find_extension() (gh-107184) (gh-107360) 2023-07-27 21:51:34 +00:00
test_abstract.py [3.12] Add more C API tests (GH-112522) (GH-112525) 2023-11-29 22:02:57 +02:00
test_bytearray.py [3.12] gh-111495: Test C API functions with extreme sizes and indices (GH-111631) (GH-111731) 2023-11-04 12:28:34 +02:00
test_bytes.py [3.12] gh-121842: Improve coverage of PyBytes_FromStringAndSize (GH-121843) (#121894) 2024-07-17 07:16:25 +00:00
test_codecs.py [3.12] gh-99593: Add tests for Unicode C API (part 3) (GH-104728) (GH-106595) 2023-07-10 20:58:58 +03:00
test_complex.py [3.12] gh-109802: Increase test coverage for complexobject.c (GH-112452) (GH-112489) 2023-11-28 08:33:44 +00:00
test_dict.py [3.12] gh-115142: Skip test_capi.test_dict.py if _testcapi is not available (GH-117588) (GH-117718) 2024-04-11 16:18:28 +02:00
test_eval.py [3.12] gh-111495: Add more tests on PyEval C APIs (#122789) (#128987) (#129023) 2025-01-19 13:51:53 +00:00
test_eval_code_ex.py [3.12] gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-117695) (GH-117884) 2024-04-15 10:02:43 +00:00
test_exceptions.py [3.12] gh-108082: C API: Add tests for PyErr_WriteUnraisable() (GH-111455) (GH-111507) 2023-10-30 17:36:00 +00:00
test_float.py [3.12] gh-111765: Move old PyFloat_* tests to Lib/test/test_capi/test_float.py (GH-111766) (GH-111818) 2023-11-07 12:06:21 +00:00
test_getargs.py [3.12] gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) (#123841) 2024-09-11 14:06:40 +02:00
test_immortal.py gh-84436: Add integration C API tests for immortal objects (gh-103962) 2023-05-03 00:05:30 +09:00
test_import.py [3.12] gh-128911: Add tests on the PyImport C API (GH-128915) (GH-128960) (#128989) 2025-01-19 14:21:55 +01:00
test_list.py [3.12] gh-111495: Add tests for PyTuple C API (GH-118757) (#123379) 2024-09-06 00:51:02 +02:00
test_long.py [3.12] Refactor test_capi.test_long (GH-122113) (GH-122151) 2024-07-23 07:22:18 +00:00
test_mem.py gh-93649: Split tracemalloc tests from _testcapimodule.c (#99551) 2022-12-17 09:53:36 +01:00
test_misc.py [3.12] gh-111495: Add more tests on PyEval C APIs (#122789) (#128987) (#129023) 2025-01-19 13:51:53 +00:00
test_number.py [3.12] gh-111495: Add tests for PyNumber C API (GH-111996) (#123376) 2024-09-06 00:51:26 +02:00
test_run.py [3.12] gh-117968: Add tests for the part of the PyRun family of the C API (GH-117982) (GH-118011) 2024-04-22 18:59:28 +00:00
test_set.py [3.12] gh-111495: Add tests for PyTuple C API (GH-118757) (#123379) 2024-09-06 00:51:02 +02:00
test_structmembers.py [3.12] gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) (GH-115294) 2024-02-11 11:56:17 +00:00
test_sys.py [3.12] gh-111065: Add more tests for the C API with the PySys_ prefix (GH-111067) (GH-111305) 2023-10-25 09:10:03 +00:00
test_tuple.py [3.12] gh-111495: Add tests for PyTuple C API (GH-118757) (#123379) 2024-09-06 00:51:02 +02:00
test_unicode.py [3.12] gh-111495: Test C API functions with extreme sizes and indices (GH-111631) (GH-111731) 2023-11-04 12:28:34 +02:00
test_watchers.py [3.12] gh-91051: fix type watcher test to be robust to existing watcher (GH-107989) (#108053) 2023-08-17 01:18:24 +02:00