diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-11-05 02:43:26 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-11-05 02:43:26 (GMT) |
commit | 5c8116407775343083a8e293510fbd30326f61c4 (patch) | |
tree | 209c2b1ac401f83dd5c3ec4ad8a97440276447e7 /Lib/test | |
parent | 2028e0131396258d7aa5052304863e7ca5af6ab9 (diff) | |
download | cpython-5c8116407775343083a8e293510fbd30326f61c4.zip cpython-5c8116407775343083a8e293510fbd30326f61c4.tar.gz cpython-5c8116407775343083a8e293510fbd30326f61c4.tar.bz2 |
Issue #19397: test_pydoc now works with -S (help not added to builtins).
Patch by Serhiy Storchaka and Vajrasky Kok.
Diffstat (limited to 'Lib/test')
-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 cdcc707..43f4163 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -404,7 +404,7 @@ class PydocDocTest(unittest.TestCase): def test_namedtuple_public_underscore(self): NT = namedtuple('NT', ['abc', 'def'], rename=True) with captured_stdout() as help_io: - help(NT) + pydoc.help(NT) helptext = help_io.getvalue() self.assertIn('_1', helptext) self.assertIn('_replace', helptext) |