mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
branch merge
This commit is contained in:
commit
c9d6a501db
4 changed files with 193 additions and 98 deletions
|
@ -1561,7 +1561,7 @@ def can_symlink():
|
|||
try:
|
||||
os.symlink(TESTFN, symlink_path)
|
||||
can = True
|
||||
except (OSError, NotImplementedError):
|
||||
except (OSError, NotImplementedError, AttributeError):
|
||||
can = False
|
||||
else:
|
||||
os.remove(symlink_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue