Skip to content

Commit

Permalink
test: Skip integration tests on broken PyPy versions
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jul 16, 2024
1 parent 99f0b72 commit 8f9f14f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 8f9f14f

Please sign in to comment.