diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-05-05 17:00:27 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-05-05 18:26:26 +0100 |
commit | b0ae0dc23c418d7218a360adb564f20371cffdc6 (patch) | |
tree | e54a22ac720bb1fa3fa2d9a642fb2f0708af773d | |
parent | 468e894637d8a883a1ad6592689d0fdda2828b91 (diff) | |
download | python-setuptools-git-dev/adopt_bdist_wheel.tar.gz |
Expand warnings ignored for bdist_wheel testdev/adopt_bdist_wheel
… about unset config variables and potentially wrong Python ABI.
-rw-r--r-- | setuptools/tests/test_bdist_wheel.py | 10 |
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") |