diff options
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 |
commit | 0f4ee93b06e28957ed43e4828643ea79a2e24aca (patch) | |
tree | 95d998e01151245da6ced50e0d41234f447147ff /Lib/test/support.py | |
parent | acf47b807f9a56dd802aa2e8c96f4c02f83ca831 (diff) | |
parent | 6fd287e6c2024206c07d336b86edb10c3a17c4ef (diff) | |
download | cpython-git-0f4ee93b06e28957ed43e4828643ea79a2e24aca.tar.gz |
Branch merge
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 3 |
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 |