File tree Expand file tree Collapse file tree 6 files changed +26
-1
lines changed Expand file tree Collapse file tree 6 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 159159@MODULE__XXTESTFUZZ_TRUE@_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
160160@MODULE__TESTBUFFER_TRUE@_testbuffer _testbuffer.c
161161@MODULE__TESTINTERNALCAPI_TRUE@_testinternalcapi _testinternalcapi.c _testinternalcapi/test_lock.c _testinternalcapi/pytime.c _testinternalcapi/set.c
162- @MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c _testcapi/abstract.c _testcapi/bytearray.c _testcapi/bytes.c _testcapi/unicode.c _testcapi/dict.c _testcapi/set.c _testcapi/list.c _testcapi/getargs.c _testcapi/datetime.c _testcapi/docstring.c _testcapi/mem.c _testcapi/watchers.c _testcapi/long.c _testcapi/float.c _testcapi/complex.c _testcapi/numbers.c _testcapi/structmember.c _testcapi/exceptions.c _testcapi/code.c _testcapi/buffer.c _testcapi/pyatomic.c _testcapi/pyos.c _testcapi/immortal.c _testcapi/heaptype_relative.c _testcapi/gc.c _testcapi/sys.c
162+ @MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c _testcapi/abstract.c _testcapi/bytearray.c _testcapi/bytes.c _testcapi/unicode.c _testcapi/dict.c _testcapi/set.c _testcapi/list.c _testcapi/tuple.c _testcapi/ getargs.c _testcapi/datetime.c _testcapi/docstring.c _testcapi/mem.c _testcapi/watchers.c _testcapi/long.c _testcapi/float.c _testcapi/complex.c _testcapi/numbers.c _testcapi/structmember.c _testcapi/exceptions.c _testcapi/code.c _testcapi/buffer.c _testcapi/pyatomic.c _testcapi/pyos.c _testcapi/immortal.c _testcapi/heaptype_relative.c _testcapi/gc.c _testcapi/sys.c
163163@MODULE__TESTCLINIC_TRUE@_testclinic _testclinic.c
164164@MODULE__TESTCLINIC_LIMITED_TRUE@_testclinic_limited _testclinic_limited.c
165165
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ int _PyTestCapi_Init_Numbers(PyObject *module);
4646int _PyTestCapi_Init_Dict (PyObject * module );
4747int _PyTestCapi_Init_Set (PyObject * module );
4848int _PyTestCapi_Init_List (PyObject * module );
49+ int _PyTestCapi_Init_Tuple (PyObject * module );
4950int _PyTestCapi_Init_Structmember (PyObject * module );
5051int _PyTestCapi_Init_Exceptions (PyObject * module );
5152int _PyTestCapi_Init_Code (PyObject * module );
Original file line number Diff line number Diff line change 1+ #include "parts.h"
2+ #include "util.h"
3+
4+
5+ static PyMethodDef test_methods [] = {
6+ {NULL },
7+ };
8+
9+ int
10+ _PyTestCapi_Init_Tuple (PyObject * m )
11+ {
12+ if (PyModule_AddFunctions (m , test_methods ) < 0 ){
13+ return -1 ;
14+ }
15+
16+ return 0 ;
17+ }
Original file line number Diff line number Diff line change @@ -3953,6 +3953,9 @@ PyInit__testcapi(void)
39533953 if (_PyTestCapi_Init_List (m ) < 0 ) {
39543954 return NULL ;
39553955 }
3956+ if (_PyTestCapi_Init_Tuple (m ) < 0 ) {
3957+ return NULL ;
3958+ }
39563959 if (_PyTestCapi_Init_Structmember (m ) < 0 ) {
39573960 return NULL ;
39583961 }
Original file line number Diff line number Diff line change 106106 <ClCompile Include =" ..\Modules\_testcapi\dict.c" />
107107 <ClCompile Include =" ..\Modules\_testcapi\set.c" />
108108 <ClCompile Include =" ..\Modules\_testcapi\list.c" />
109+ <ClCompile Include =" ..\Modules\_testcapi\tuple.c" />
109110 <ClCompile Include =" ..\Modules\_testcapi\datetime.c" />
110111 <ClCompile Include =" ..\Modules\_testcapi\docstring.c" />
111112 <ClCompile Include =" ..\Modules\_testcapi\mem.c" />
Original file line number Diff line number Diff line change 4848 <ClCompile Include =" ..\Modules\_testcapi\list.c" >
4949 <Filter >Source Files</Filter >
5050 </ClCompile >
51+ <ClCompile Include =" ..\Modules\_testcapi\tuple.c" >
52+ <Filter >Source Files</Filter >
53+ </ClCompile >
5154 <ClCompile Include =" ..\Modules\_testcapi\datetime.c" >
5255 <Filter >Source Files</Filter >
5356 </ClCompile >
You can’t perform that action at this time.
0 commit comments