[Python-checkins] cpython (3.4): Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.

terry.reedy python-checkins at python.org
Fri Jun 20 20:59:55 CEST 2014


http://hg.python.org/cpython/rev/64f6e66d6e7a
changeset:   91289:64f6e66d6e7a
branch:      3.4
parent:      91286:5f2341bfed17
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Fri Jun 20 14:59:11 2014 -0400
summary:
  Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.

files:
  Lib/test/test_pydoc.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -746,7 +746,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 ('notbuiltins', 'strrr', 'strr.translate',
                      'str.trrrranslate', 'builtins.strrr',

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list