diff --git a/pyproject.toml b/pyproject.toml index f67b78e..ce03c75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,3 +53,6 @@ exclude = [ "test/__pycache__", "test/sub-path/__pycache__", ] + +[tool.pytest.ini_options] +xfail_strict = true diff --git a/test/test_main.py b/test/test_main.py index 0b71b43..122ae4a 100644 --- a/test/test_main.py +++ b/test/test_main.py @@ -333,6 +333,9 @@ def pushd(path): } +@pytest.mark.xfail(getattr(sys, "pypy_version_info", (0, 0, 0))[:3] + == (7, 3, 16) and os.name == "nt", + reason="PyPy 7.3.16 is broken on Windows") @pytest.mark.parametrize("buildsys", INTEGRATION_TESTS) def test_integration(tmp_path, capfd, buildsys, verify_zipfile_cleanup, distutils_cache_cleanup): @@ -364,6 +367,9 @@ def test_integration(tmp_path, capfd, buildsys, verify_zipfile_cleanup, == {x.compress_type for x in zipf.infolist()}) +@pytest.mark.xfail(getattr(sys, "pypy_version_info", (0, 0, 0))[:3] + == (7, 3, 16) and os.name == "nt", + reason="PyPy 7.3.16 is broken on Windows") @pytest.mark.parametrize("buildsys", INTEGRATION_TESTS) def test_integration_install(tmp_path, buildsys, verify_zipfile_cleanup, distutils_cache_cleanup):