Skip to content

Commit e146aaa

Browse files
committed
Fix cwd removal on Solaris
1 parent ebe5e45 commit e146aaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testing/test_assertrewrite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,9 @@ def test_simple_failure():
13881388
@pytest.mark.skipif(
13891389
sys.platform.startswith("win32"), reason="cannot remove cwd on Windows"
13901390
)
1391+
@pytest.mark.skipif(
1392+
sys.platform.startswith("sunos5"), reason="cannot remove cwd on Solaris"
1393+
)
13911394
def test_cwd_changed(self, pytester: Pytester, monkeypatch) -> None:
13921395
# Setup conditions for py's fspath trying to import pathlib on py34
13931396
# always (previously triggered via xdist only).

0 commit comments

Comments
 (0)