]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128911: Add tests on the PyImport C API (GH-128915) (GH-128960) (#128989)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 19 Jan 2025 13:21:55 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jan 2025 13:21:55 +0000 (14:21 +0100)
commit83de72e5ec9522a1b01d8259f574efa0d6128d6a
tree206ed3ec8a3518b64460441f0334fb1127b781e1
parent6d638c2655374f2fbd80779aff349324dbc857f8
[3.12] gh-128911: Add tests on the PyImport C API (GH-128915) (GH-128960) (#128989)

* 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.
(cherry picked from commit 34ded1a1a10204635cad27830fcbee2f8547e8ed)

Co-authored-by: Victor Stinner <vstinner@python.org>
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]
Modules/Setup.stdlib.in
Modules/_testcapi/import.c [new file with mode: 0644]
Modules/_testcapi/parts.h
Modules/_testcapimodule.c
PCbuild/_testcapi.vcxproj
PCbuild/_testcapi.vcxproj.filters