GH-94808: Cover PyOS_mystrnicmp and PyOS_mystricmp (gh-102469)

This commit is contained in:
Artem Mukhin 2023-03-22 12:35:27 +01:00 committed by GitHub
parent e0c63b7267
commit 0a60deaeaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 69 additions and 1 deletions

View file

@ -4154,6 +4154,9 @@ PyInit__testcapi(void)
if (_PyTestCapi_Init_Code(m) < 0) {
return NULL;
}
if (_PyTestCapi_Init_PyOS(m) < 0) {
return NULL;
}
#ifndef LIMITED_API_AVAILABLE
PyModule_AddObjectRef(m, "LIMITED_API_AVAILABLE", Py_False);