]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-128911: Add tests on the PyImport C API (#128915) (#128960)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Jan 2025 21:44:51 +0000 (22:44 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2025 21:44:51 +0000 (22:44 +0100)
commit34ded1a1a10204635cad27830fcbee2f8547e8ed
tree6dd86141edb2ca8d00080514f56ad9cbe8fff67a
parentdc77f1914d614bab04769616d7bc6674ee723f47
[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 d95ba9fa1110534b7247fa2ff12b90e930c93256)
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