Fix cwd removal on Solaris

This commit is contained in:
Jakub Kulík 2021-08-24 12:11:06 +02:00
parent ebe5e451d1
commit e146aaa2e2
1 changed files with 3 additions and 0 deletions

View File

@ -1388,6 +1388,9 @@ class TestEarlyRewriteBailout:
@pytest.mark.skipif(
sys.platform.startswith("win32"), reason="cannot remove cwd on Windows"
)
@pytest.mark.skipif(
sys.platform.startswith("sunos5"), reason="cannot remove cwd on Solaris"
)
def test_cwd_changed(self, pytester: Pytester, monkeypatch) -> None:
# Setup conditions for py's fspath trying to import pathlib on py34
# always (previously triggered via xdist only).