Skip to content

Commit 1ade664

Browse files
authored
Add missing step to C API tests instructions (GH-990)
1 parent f8b870f commit 1ade664

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

developer-workflow/c-api.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ To add a new set of tests (or extract a set out of the monolithic
122122
- Call the ``_PyTestCapi_Init_*`` from ``PyInit__testcapi`` in
123123
``Modules/_testcapimodule.c``.
124124

125+
- Add the new C file to :cpy-file:`Modules/Setup.stdlib.in`,
126+
:cpy-file:`PCbuild/_testcapi.vcxproj` and
127+
:cpy-file:`PCbuild/_testcapi.vcxproj.filters`,
128+
alongside the other ``_testcapi/*.c`` entries.
129+
125130
Note that all ``Modules/_testcapi/*.c`` sources initialize the same module,
126131
so be careful about name collisions.
127132

0 commit comments

Comments
 (0)