diff options
author | Victor Stinner <vstinner@python.org> | 2024-03-19 10:44:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 10:44:13 (GMT) |
commit | 039d20ae5428dfe3d70404d8a5297c70d41e2e2d (patch) | |
tree | 09c3c728345f82388560ff39f24138149099f3f0 /Modules/_testlimitedcapi.c | |
parent | b1bc37597f0d36084c4dcb15977fe6d4b9322cd4 (diff) | |
download | cpython-039d20ae5428dfe3d70404d8a5297c70d41e2e2d.zip cpython-039d20ae5428dfe3d70404d8a5297c70d41e2e2d.tar.gz cpython-039d20ae5428dfe3d70404d8a5297c70d41e2e2d.tar.bz2 |
gh-116417: Move limited C API abstract.c tests to _testlimitedcapi (#116986)
Split abstract.c and float.c tests of _testcapi into two parts:
limited C API tests in _testlimitedcapi and non-limited C API tests
in _testcapi.
Update test_bytes and test_class.
Diffstat (limited to 'Modules/_testlimitedcapi.c')
-rw-r--r-- | Modules/_testlimitedcapi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/_testlimitedcapi.c b/Modules/_testlimitedcapi.c index 9edc4fe..756e2fb 100644 --- a/Modules/_testlimitedcapi.c +++ b/Modules/_testlimitedcapi.c @@ -26,12 +26,18 @@ PyInit__testlimitedcapi(void) return NULL; } + if (_PyTestLimitedCAPI_Init_Abstract(mod) < 0) { + return NULL; + } if (_PyTestLimitedCAPI_Init_ByteArray(mod) < 0) { return NULL; } if (_PyTestLimitedCAPI_Init_Bytes(mod) < 0) { return NULL; } + if (_PyTestLimitedCAPI_Init_Float(mod) < 0) { + return NULL; + } if (_PyTestLimitedCAPI_Init_HeaptypeRelative(mod) < 0) { return NULL; } |