]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128911: Add tests on the PyImport C API (#128915)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Jan 2025 17:52:18 +0000 (18:52 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2025 17:52:18 +0000 (17:52 +0000)
commitd95ba9fa1110534b7247fa2ff12b90e930c93256
tree599410570dabb0558ac3b2f7bb7a1b5dcd35f7b2
parentb5558cd63c62855ed43d66a55907f9d4398134e3
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>
Lib/test/test_capi/test_import.py [new file with mode: 0644]
Lib/test/test_import/__init__.py
Modules/Setup.stdlib.in
Modules/_testcapimodule.c
Modules/_testlimitedcapi.c
Modules/_testlimitedcapi/import.c [new file with mode: 0644]
Modules/_testlimitedcapi/parts.h
PCbuild/_testlimitedcapi.vcxproj
PCbuild/_testlimitedcapi.vcxproj.filters