From b0ae0dc23c418d7218a360adb564f20371cffdc6 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Fri, 5 May 2023 17:00:27 +0100 Subject: Expand warnings ignored for bdist_wheel test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … about unset config variables and potentially wrong Python ABI. --- setuptools/tests/test_bdist_wheel.py | 10 ++-------- 1 file 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") -- cgit v1.2.1