From: Terry Jan Reedy Date: Fri, 20 Jun 2014 18:59:11 +0000 (-0400) Subject: Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. X-Git-Tag: v3.4.2rc1~352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe928de955ec5043dd7c8b9388dbb0ccfabbdc80;p=python Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. --- diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 542b433cb6..8d85c14071 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -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',