summaryrefslogtreecommitdiffstats
path: root/Lib/test/support.py
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-06-13 21:03:01 (GMT)
committerBrian Curtin <brian@python.org>2011-06-13 21:03:01 (GMT)
commitc9d6a501db51db3038995aa014624f83e860ef63 (patch)
tree63c24f12abb94fce424b0666dae5cafe8e11b0ef /Lib/test/support.py
parent415007e30dceced68b2c7d3a19143f0a3737fed7 (diff)
parent3e86c99f9080633283e415f3bd4653285e24c31e (diff)
downloadcpython-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.py2
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)