Update skip message printed by test.support.get_attribute.
This helper was changed to work with any object instead of only modules
(or technically something with a __name__ attribute, see code in 3.2)
but the message stayed as is.
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 619bf4c..556e82f 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -187,8 +187,7 @@
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