From 729981861aec5f1be14807d909b22d5e86a795c3 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 20 Jun 2014 14:59:07 -0400 Subject: [PATCH] Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. --- Lib/test/test_pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.50.1