Skip to content

Commit 4b5b10d

Browse files
committed
Skip test_samefile_symlink on pypy3 on Windows
1 parent e94e670 commit 4b5b10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/path/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def test_samefile_symlink(tmpdir):
721721
p2 = tmpdir.join("linked.txt")
722722
try:
723723
os.symlink(str(p1), str(p2))
724-
except OSError as e:
724+
except (OSError, NotImplementedError) as e:
725725
# on Windows this might fail if the user doesn't have special symlink permissions
726726
pytest.skip(str(e.args[0]))
727727

0 commit comments

Comments
 (0)