summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 14:59:07 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 14:59:07 -0400
commit48811ed25bb7185075da7ac771344d5f13b2c007 (patch)
tree7ec8fbef7e071b6a09dc70c0a35d5c2c8520e8c3
parent51d899795496c5c38619f0151e342d81b355da90 (diff)
downloadcpython-48811ed25bb7185075da7ac771344d5f13b2c007.tar.gz
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
-rw-r--r--Lib/test/test_pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
index 763c31915a..6d27a3021d 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -585,7 +585,7 @@ class TestHelper(unittest.TestCase):
try:
pydoc.render_doc(name)
except ImportError:
- self.fail('finding the doc of {!r} failed'.format(o))
+ self.fail('finding the doc of {!r} failed'.format(name))
for name in ('not__builtin__', 'strrr', 'strr.translate',
'str.trrrranslate', '__builtin__.strrr',