Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.

This commit is contained in:
Terry Jan Reedy 2014-06-20 14:59:07 -04:00
parent 454a5155d2
commit 729981861a
1 changed files with 1 additions and 1 deletions

View File

@ -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',