Merge pull request #9033 from kulikjak/fix-cwd-removal-Solaris

Fix cwd removal on Solaris
This commit is contained in:
Bruno Oliveira 2021-08-24 10:39:37 -03:00 committed by GitHub
commit 1a2306cec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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).