mirror of https://github.com/python/cpython
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
This commit is contained in:
parent
0e6f52a211
commit
fe928de955
|
@ -746,7 +746,7 @@ class TestDescriptions(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 ('notbuiltins', 'strrr', 'strr.translate',
|
||||
'str.trrrranslate', 'builtins.strrr',
|
||||
|
|
Loading…
Reference in New Issue