diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-20 18:59:11 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-20 18:59:11 (GMT) |
commit | fe928de955ec5043dd7c8b9388dbb0ccfabbdc80 (patch) | |
tree | a7984ce53e64293d8de0e6ca889c1837417df906 | |
parent | 0e6f52a2114d4fb3bf196e6a17e3b5daea3c0cdc (diff) | |
download | cpython-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.py | 2 |
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', |