Skip to content

Commit 9177bc6

Browse files
committed
Enable limited C API tests on Python 3.15 on Windows
1 parent cb1eadf commit 9177bc6

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎tests/setup.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
FREE_THREADING = bool(sysconfig.get_config_var('Py_GIL_DISABLED'))
1717
if sys.implementation.name == 'cpython':
1818
if FREE_THREADING:
19-
# FIXME: test the limited C API on Windows
20-
TEST_LIMITED_C_API = (sys.version_info >= (3, 15)) and not MS_WINDOWS
19+
TEST_LIMITED_C_API = (sys.version_info >= (3, 15))
2120
else:
2221
TEST_LIMITED_C_API = True
2322
else:

‎tests/test_pythoncapi_compat_cext.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2656,7 +2656,7 @@ module_exec(PyObject *module)
26562656

26572657

26582658
// On Python 3.15 and newer, use PySlot API
2659-
#if PY_VERSION_HEX >= 0x030F0000 && !defined(MS_WINDOWS)
2659+
#if PY_VERSION_HEX >= 0x030F0000
26602660

26612661
PyABIInfo_VAR(abi_info);
26622662

0 commit comments

Comments
 (0)