Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip test_cache_prune on Windows. #2711

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tests/integration/cli/commands/test_cache_prune.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
Loading