Skip to content

Commit c985478

Browse files
committed
Skip symlink tests on NotImplementedError
1 parent 3ae0de2 commit c985478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_paths_stdlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def symlink_skip_reason():
182182
return "no system support for symlinks"
183183
try:
184184
os.symlink(__file__, BASE)
185-
except OSError as e:
185+
except (OSError, NotImplementedError) as e: # NotImplementedError is raised by PyPy
186186
return str(e)
187187
else:
188188
support.unlink(BASE)

0 commit comments

Comments
 (0)