diff options
author | Brian Curtin <brian@python.org> | 2011-06-13 21:03:01 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2011-06-13 21:03:01 (GMT) |
commit | c9d6a501db51db3038995aa014624f83e860ef63 (patch) | |
tree | 63c24f12abb94fce424b0666dae5cafe8e11b0ef /Lib/test/support.py | |
parent | 415007e30dceced68b2c7d3a19143f0a3737fed7 (diff) | |
parent | 3e86c99f9080633283e415f3bd4653285e24c31e (diff) | |
download | cpython-c9d6a501db51db3038995aa014624f83e860ef63.zip cpython-c9d6a501db51db3038995aa014624f83e860ef63.tar.gz cpython-c9d6a501db51db3038995aa014624f83e860ef63.tar.bz2 |
branch merge
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 f5dbb85..a51d943 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -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) |