Skip to content

Commit

Permalink
Fix 92989c2i / pypa#4450
Browse files Browse the repository at this point in the history
Restore the previous functionality, where the function did not return
explicitly in case of exceptions, and hence returned `None`.
  • Loading branch information
DimitriPapadopoulos committed Jul 9, 2024
1 parent 04b3bb9 commit 17d5d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setuptools/tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def symlink_or_skip_test(src, dst):
os.symlink(src, dst)
except (OSError, NotImplementedError):
pytest.skip("symlink not supported in OS")
return None
return dst


Expand Down

0 comments on commit 17d5d8b

Please # to comment.