Commit fe928de9 authored by Terry Jan Reedy's avatar Terry Jan Reedy

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

parent 0e6f52a2
...@@ -746,7 +746,7 @@ class TestDescriptions(unittest.TestCase): ...@@ -746,7 +746,7 @@ class TestDescriptions(unittest.TestCase):
try: try:
pydoc.render_doc(name) pydoc.render_doc(name)
except ImportError: 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', for name in ('notbuiltins', 'strrr', 'strr.translate',
'str.trrrranslate', 'builtins.strrr', 'str.trrrranslate', 'builtins.strrr',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment