Skip to content

Commit e50e37e

Browse files
committed
Ignore Py_DEBUG is unset warning
This warning may happen on Windows and it seems to be present in the original `pypa/wheel` implementation.
1 parent 4b39aa3 commit e50e37e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setuptools/tests/test_bdist_wheel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ def test_build_number(dummy_dist, monkeypatch, tmp_path):
362362
"""
363363

364364

365+
@pytest.mark.filterwarnings("ignore:Config variable 'Py_DEBUG' is unset.*")
366+
# ^-- Warning may happen in Windows (inherited from original pypa/wheel implementation)
365367
def test_limited_abi(monkeypatch, tmp_path, tmp_path_factory):
366368
"""Test that building a binary wheel with the limited ABI works."""
367369
proj_dir = tmp_path_factory.mktemp("dummy_dist")

0 commit comments

Comments
 (0)