]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93649: Add Modules/_testcapi/type.c file (#129516)
authorVictor Stinner <vstinner@python.org>
Fri, 31 Jan 2025 14:03:54 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Jan 2025 14:03:54 +0000 (15:03 +0100)
commit5424e3b0348c6029e96d4cb106cbcd5cca86d980
tree56a5761a40a8cd8df11601da46d0f27bb74c7cf9
parent881984b41a103b4c7fac262a00cc240ae8fbdba9
gh-93649: Add Modules/_testcapi/type.c file (#129516)

Move PyType C API tests to a new file.

Move following tests from test_capi.test_misc to test_capi.test_type:

* BuiltinStaticTypesTests
* test_get_type_name()
* test_get_base_by_token()
Lib/test/test_capi/test_misc.py
Lib/test/test_capi/test_type.py
Modules/Setup.stdlib.in
Modules/_testcapi/parts.h
Modules/_testcapi/type.c [new file with mode: 0644]
Modules/_testcapimodule.c
PCbuild/_testcapi.vcxproj
PCbuild/_testcapi.vcxproj.filters