forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-108777: Split _PyTime tests from _testinternalcapi.c
- Loading branch information
Showing
11 changed files
with
313 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Tests in this directory are compiled into the _testinternalcapi extension. | ||
The main file for the extension is Modules/_testinternalcapimodule.c, which | ||
calls `_PyTestInternalCapi_Init_*` from these functions. | ||
|
||
See Modules/_testcapi/README.txt for guideline when writing C test code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef Py_TESTINTERNALCAPI_PARTS_H | ||
#define Py_TESTINTERNALCAPI_PARTS_H | ||
|
||
// Always enable assertions | ||
#undef NDEBUG | ||
|
||
#ifndef Py_BUILD_CORE_BUILTIN | ||
# define Py_BUILD_CORE_MODULE 1 | ||
#endif | ||
|
||
#include "Python.h" | ||
|
||
int _PyTestInternalCapi_Init_PyTime(PyObject *module); | ||
|
||
#endif // Py_TESTINTERNALCAPI_PARTS_H |
Oops, something went wrong.