diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-10-06 11:22:21 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-10-06 11:22:21 (GMT) |
| commit | 0f4ee93b06e28957ed43e4828643ea79a2e24aca (patch) | |
| tree | 95d998e01151245da6ced50e0d41234f447147ff /Lib/test/support.py | |
| parent | acf47b807f9a56dd802aa2e8c96f4c02f83ca831 (diff) | |
| parent | 6fd287e6c2024206c07d336b86edb10c3a17c4ef (diff) | |
| download | cpython-0f4ee93b06e28957ed43e4828643ea79a2e24aca.zip cpython-0f4ee93b06e28957ed43e4828643ea79a2e24aca.tar.gz cpython-0f4ee93b06e28957ed43e4828643ea79a2e24aca.tar.bz2 | |
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 619bf4c..556e82f4 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 |
