summaryrefslogtreecommitdiff
path: root/Lib/test/support.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-06 13:22:21 +0200
committerÉric Araujo <merwok@netwok.org>2011-10-06 13:22:21 +0200
commit0f4ee93b06e28957ed43e4828643ea79a2e24aca (patch)
tree95d998e01151245da6ced50e0d41234f447147ff /Lib/test/support.py
parentacf47b807f9a56dd802aa2e8c96f4c02f83ca831 (diff)
parent6fd287e6c2024206c07d336b86edb10c3a17c4ef (diff)
downloadcpython-git-0f4ee93b06e28957ed43e4828643ea79a2e24aca.tar.gz
Branch merge
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r--Lib/test/support.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 619bf4cb41..556e82f4ac 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -187,8 +187,7 @@ def get_attribute(obj, name):
try:
attribute = getattr(obj, name)
except AttributeError:
- raise unittest.SkipTest("module %s has no attribute %s" % (
- repr(obj), name))
+ raise unittest.SkipTest("object %r has no attribute %r" % (obj, name))
else:
return attribute