cpython/Modules/_testlimitedcapi
Victor Stinner 34ded1a1a1
[3.13] gh-128911: Add tests on the PyImport C API (#128915) (#128960)
gh-128911: Add tests on the PyImport C API (#128915)

* Add Modules/_testlimitedcapi/import.c
* Add Lib/test/test_capi/test_import.py
* Remove _testcapi.check_pyimport_addmodule(): tests already covered
  by newly added tests.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit d95ba9fa11)
2025-01-17 22:44:51 +01:00
..
clinic gh-116417: Move limited C API long.c tests to _testlimitedcapi (#117001) 2024-03-19 14:04:23 +00:00
abstract.c gh-116417: Move limited C API abstract.c tests to _testlimitedcapi (#116986) 2024-03-19 10:44:13 +00:00
bytearray.c gh-116417: Fix WASI build of _testlimitedcapi (#116974) 2024-03-18 23:06:52 +01:00
bytes.c gh-116417: Fix WASI build of _testlimitedcapi (#116974) 2024-03-18 23:06:52 +01:00
complex.c gh-116417: Move limited C API complex.c tests to _testlimitedcapi (#117014) 2024-03-19 17:23:12 +01:00
dict.c gh-116417: Move limited C API dict.c tests to _testlimitedcapi (#117006) 2024-03-19 15:06:20 +00:00
float.c gh-116417: Move limited C API unicode.c tests to _testlimitedcapi (#116993) 2024-03-19 12:30:39 +00:00
heaptype_relative.c gh-114329: Fix PyList_GetItemRef() limited C API definition (#117520) 2024-04-03 21:02:42 +00:00
import.c [3.13] gh-128911: Add tests on the PyImport C API (#128915) (#128960) 2025-01-17 22:44:51 +01:00
list.c gh-114329: Fix PyList_GetItemRef() limited C API definition (#117520) 2024-04-03 21:02:42 +00:00
long.c gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platforms (GH-117064) 2024-03-20 15:39:53 +02:00
object.c gh-114329: Fix PyList_GetItemRef() limited C API definition (#117520) 2024-04-03 21:02:42 +00:00
parts.h [3.13] gh-128911: Add tests on the PyImport C API (#128915) (#128960) 2025-01-17 22:44:51 +01:00
pyos.c gh-116417: Fix WASI build of _testlimitedcapi (#116974) 2024-03-18 23:06:52 +01:00
set.c gh-116417: Fix WASI build of _testlimitedcapi (#116974) 2024-03-18 23:06:52 +01:00
sys.c gh-116417: Fix WASI build of _testlimitedcapi (#116974) 2024-03-18 23:06:52 +01:00
testcapi_long.h gh-116417: Move limited C API long.c tests to _testlimitedcapi (#117001) 2024-03-19 14:04:23 +00:00
tuple.c [3.13] gh-111495: Add tests for PyTuple C API (GH-118757) (GH-123371) 2024-08-27 12:07:17 +03:00
unicode.c gh-116417: Move limited C API unicode.c tests to _testlimitedcapi (#116993) 2024-03-19 12:30:39 +00:00
util.h gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571) 2024-03-11 10:28:16 +00:00
vectorcall_limited.c gh-114329: Fix PyList_GetItemRef() limited C API definition (#117520) 2024-04-03 21:02:42 +00:00