cpython/Lib/test/test_capi
Victor Stinner 1cc02ca063
gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571)
Move the following files from Modules/_testcapi/ to
Modules/_testlimitedcapi/:

* bytearray.c
* bytes.c
* pyos.c
* sys.c

Changes:

* Replace PyBytes_AS_STRING() with PyBytes_AsString().
* Replace PyBytes_GET_SIZE() with PyBytes_Size().
* Update related test_capi tests.
* Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.
2024-03-11 10:28:16 +00:00
..
__init__.py
__main__.py
check_config.py
test_abstract.py
test_bytearray.py gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571) 2024-03-11 10:28:16 +00:00
test_bytes.py gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571) 2024-03-11 10:28:16 +00:00
test_codecs.py
test_complex.py gh-109598: make PyComplex_RealAsDouble/ImagAsDouble use __complex__ (GH-109647) 2024-01-15 16:04:17 +01:00
test_dict.py gh-112066: Add PyDict_SetDefaultRef function. (#112123) 2024-02-06 11:36:23 -05:00
test_eval_code_ex.py
test_exceptions.py
test_float.py
test_getargs.py gh-107944: Improve error message for getargs with bad keyword arguments (#114792) 2024-02-08 01:04:41 -08:00
test_hash.py
test_immortal.py
test_list.py gh-114329: Add PyList_GetItemRef function (GH-114504) 2024-02-02 14:03:15 +01:00
test_long.py gh-111140: Improve PyLong_AsNativeBytes API doc example & improve the test (#115380) 2024-02-22 03:27:16 +00:00
test_mem.py gh-112532: Require mimalloc in --disable-gil builds (gh-112883) 2023-12-12 09:04:48 +09:00
test_misc.py gh-116417: Add _testlimitedcapi C extension (#116419) 2024-03-07 18:31:12 +00:00
test_opt.py GH-115819: Eliminate Boolean guards when value is known (GH-116355) 2024-03-05 15:06:00 +00:00
test_pyatomic.py
test_set.py
test_structmembers.py gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) 2024-02-11 12:45:58 +02:00
test_sys.py gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571) 2024-03-11 10:28:16 +00:00
test_time.py gh-110850: Add PyTime_t C API (GH-115215) 2024-02-12 18:13:10 +01:00
test_unicode.py
test_watchers.py GH-113710: Add a "globals to constants" pass (GH-114592) 2024-02-02 12:14:34 +00:00