From e146aaa2e2bbdf78d0eca4b4635bfeff64a0630e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kul=C3=ADk?= Date: Tue, 24 Aug 2021 12:11:06 +0200 Subject: [PATCH] Fix cwd removal on Solaris --- testing/test_assertrewrite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index 38969d294..d732cbdd7 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -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).