We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94e670 commit 887d6b8Copy full SHA for 887d6b8
testing/path/test_local.py
@@ -721,8 +721,9 @@ def test_samefile_symlink(tmpdir):
721
p2 = tmpdir.join("linked.txt")
722
try:
723
os.symlink(str(p1), str(p2))
724
- except OSError as e:
+ except (OSError, NotImplementedError) as e:
725
# on Windows this might fail if the user doesn't have special symlink permissions
726
+ # pypy3 on Windows doesn't implement os.symlink and raises NotImplementedError
727
pytest.skip(str(e.args[0]))
728
729
assert p1.samefile(p2)
0 commit comments