[Python-checkins] cpython (2.7): Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
terry.reedy
python-checkins at python.org
Fri Jun 20 20:59:54 CEST 2014
http://hg.python.org/cpython/rev/b0c850121ded
changeset: 91288:b0c850121ded
branch: 2.7
parent: 91282:d641c096b1f5
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Fri Jun 20 14:59:07 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
@@ -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',
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list