diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-10-25 08:33:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 08:33:12 (GMT) |
commit | b2ba2985275d1200e5c44c3f224d754141fc5292 (patch) | |
tree | e1610ec77d986d4eb34c24a598fc2260f4cf960d /Modules/_testcapi/parts.h | |
parent | 0d1cbff833f761f80383f4ce5fe31f686f3f04eb (diff) | |
download | cpython-b2ba2985275d1200e5c44c3f224d754141fc5292.zip cpython-b2ba2985275d1200e5c44c3f224d754141fc5292.tar.gz cpython-b2ba2985275d1200e5c44c3f224d754141fc5292.tar.bz2 |
gh-111065: Add more tests for the C API with the PySys_ prefix (GH-111067)
* Move existing tests for PySys_GetObject() and PySys_SetObject() into
specialized files.
* Add test for PySys_GetXOptions() using _testcapi.
* Add tests for PySys_FormatStdout(), PySys_FormatStderr(),
PySys_WriteStdout() and PySys_WriteStderr() using ctypes.
Diffstat (limited to 'Modules/_testcapi/parts.h')
-rw-r--r-- | Modules/_testcapi/parts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_testcapi/parts.h b/Modules/_testcapi/parts.h index e5dbb9c..4fa77a8 100644 --- a/Modules/_testcapi/parts.h +++ b/Modules/_testcapi/parts.h @@ -49,6 +49,7 @@ int _PyTestCapi_Init_PyAtomic(PyObject *module); int _PyTestCapi_Init_PyOS(PyObject *module); int _PyTestCapi_Init_Immortal(PyObject *module); int _PyTestCapi_Init_GC(PyObject *mod); +int _PyTestCapi_Init_Sys(PyObject *); int _PyTestCapi_Init_VectorcallLimited(PyObject *module); int _PyTestCapi_Init_HeaptypeRelative(PyObject *module); |