mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merge with 3.3
This commit is contained in:
commit
c1bd2fef8b
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue