Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip abi3 tests when freethreading Python build is used #637

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import os.path
import subprocess
import sys
import sysconfig

import pytest

Expand All @@ -22,7 +23,7 @@ def wheels_and_eggs(tmp_path_factory):
"unicode.dist",
)

if sys.platform != "win32":
if sys.platform != "win32" and sysconfig.get_config_var("Py_GIL_DISABLED") != 1:
agronholm marked this conversation as resolved.
Show resolved Hide resolved
# ABI3 extensions don't really work on Windows
test_distributions += ("abi3extension.dist",)

Expand Down
Loading