diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2023-11-01 05:44:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 05:44:54 (GMT) |
commit | 33ed5fa69dbe25d64a910c450be527f4db9dc5dd (patch) | |
tree | 56c3d7703ff21786e91e1c45b8b6b6ee370567d2 /Modules/_testcapimodule.c | |
parent | d9a5530d2327efa1fe66a04d31b5c67e42dbcd9c (diff) | |
download | cpython-33ed5fa69dbe25d64a910c450be527f4db9dc5dd.zip cpython-33ed5fa69dbe25d64a910c450be527f4db9dc5dd.tar.gz cpython-33ed5fa69dbe25d64a910c450be527f4db9dc5dd.tar.bz2 |
gh-111495: add stub files for C API test modules (GH-111586)
This is to reduce merge conflicts (Modules/Setup.stdlib.in) for
subsequent pull requests for the issue.
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index fc9dc74..300025c 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -3908,6 +3908,12 @@ PyInit__testcapi(void) if (_PyTestCapi_Init_Abstract(m) < 0) { return NULL; } + if (_PyTestCapi_Init_ByteArray(m) < 0) { + return NULL; + } + if (_PyTestCapi_Init_Bytes(m) < 0) { + return NULL; + } if (_PyTestCapi_Init_Unicode(m) < 0) { return NULL; } @@ -3932,12 +3938,24 @@ PyInit__testcapi(void) if (_PyTestCapi_Init_Float(m) < 0) { return NULL; } + if (_PyTestCapi_Init_Complex(m) < 0) { + return NULL; + } + if (_PyTestCapi_Init_Numbers(m) < 0) { + return NULL; + } if (_PyTestCapi_Init_Dict(m) < 0) { return NULL; } if (_PyTestCapi_Init_Set(m) < 0) { return NULL; } + if (_PyTestCapi_Init_List(m) < 0) { + return NULL; + } + if (_PyTestCapi_Init_Tuple(m) < 0) { + return NULL; + } if (_PyTestCapi_Init_Structmember(m) < 0) { return NULL; } @@ -3953,6 +3971,12 @@ PyInit__testcapi(void) if (_PyTestCapi_Init_PyOS(m) < 0) { return NULL; } + if (_PyTestCapi_Init_File(m) < 0) { + return NULL; + } + if (_PyTestCapi_Init_Codec(m) < 0) { + return NULL; + } if (_PyTestCapi_Init_Sys(m) < 0) { return NULL; } |