]> granicus.if.org Git - python/commitdiff
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 20 Jun 2014 18:59:11 +0000 (14:59 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 20 Jun 2014 18:59:11 +0000 (14:59 -0400)
Lib/test/test_pydoc.py

index 542b433cb6ecdebbc4da028083f1c0a89a843429..8d85c140717b45636fb4ccab5291a09ee6534b72 100644 (file)
@@ -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',