summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 18:59:11 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-20 18:59:11 (GMT)
commitfe928de955ec5043dd7c8b9388dbb0ccfabbdc80 (patch)
treea7984ce53e64293d8de0e6ca889c1837417df906
parent0e6f52a2114d4fb3bf196e6a17e3b5daea3c0cdc (diff)
downloadcpython-fe928de955ec5043dd7c8b9388dbb0ccfabbdc80.zip
cpython-fe928de955ec5043dd7c8b9388dbb0ccfabbdc80.tar.gz
cpython-fe928de955ec5043dd7c8b9388dbb0ccfabbdc80.tar.bz2
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.
-rw-r--r--Lib/test/test_pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
index 542b433..8d85c14 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -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',