diff --git a/tests/integration/cli/commands/test_cache_prune.py b/tests/integration/cli/commands/test_cache_prune.py index 2ba2fbe03..48618d80f 100644 --- a/tests/integration/cli/commands/test_cache_prune.py +++ b/tests/integration/cli/commands/test_cache_prune.py @@ -27,6 +27,7 @@ ) from pex.cli.commands.cache.du import DiskUsage from pex.common import environment_as, safe_open +from pex.os import WINDOWS from pex.pep_503 import ProjectName from pex.pex_info import PexInfo from pex.pip.version import PipVersion, PipVersionValue @@ -40,6 +41,15 @@ from typing import Iterable, Iterator, Optional +pytestmark = pytest.mark.skipif( + WINDOWS, + reason=( + "These tests (in particular `test_nothing_prunable`) currently hang on Windows in CI " + "regularly." + ), +) + + @pytest.fixture(autouse=True) def pex_root(tmpdir): # type: (Tempdir) -> Iterator[str]