We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae0de2 commit c985478Copy full SHA for c985478
tests/test_paths_stdlib.py
@@ -182,7 +182,7 @@ def symlink_skip_reason():
182
return "no system support for symlinks"
183
try:
184
os.symlink(__file__, BASE)
185
- except OSError as e:
+ except (OSError, NotImplementedError) as e: # NotImplementedError is raised by PyPy
186
return str(e)
187
else:
188
support.unlink(BASE)
0 commit comments