summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools/tests/test_bdist_wheel.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/setuptools/tests/test_bdist_wheel.py b/setuptools/tests/test_bdist_wheel.py
index 018ed734..bfb7b264 100644
--- a/setuptools/tests/test_bdist_wheel.py
+++ b/setuptools/tests/test_bdist_wheel.py
@@ -362,15 +362,9 @@ setup(
"""
-# On Windows, a warning may inform the user that Py_DEBUG is unset.
-# This behaviour seems to be inherited from the original pypa/wheel implementation.
-ignore_pydebug = (
- pytest.mark.filterwarnings("ignore:Config variable 'Py_DEBUG' is unset.*")
- if sys.platform == "win32" else lambda x: x
+@pytest.mark.filterwarnings(
+ "once:Config variable '.*' is unset.*, Python ABI tag may be incorrect"
)
-
-
-@ignore_pydebug
def test_limited_abi(monkeypatch, tmp_path, tmp_path_factory):
"""Test that building a binary wheel with the limited ABI works."""
proj_dir = tmp_path_factory.mktemp("dummy_dist")