diff options
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index ec2378b..739cb7b 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1562,7 +1562,7 @@ def can_symlink(): os.symlink(TESTFN, symlink_path) can = True os.remove(symlink_path) - except (OSError, NotImplementedError): + except (OSError, NotImplementedError, AttributeError): can = False _can_symlink = can return can |