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 763c319..6d27a30 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -585,7 +585,7 @@
             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',