mirror of https://github.com/python/cpython.git
Merge with 3.3
This commit is contained in:
commit
c1bd2fef8b
|
@ -470,7 +470,7 @@ def test_help_output_redirect(self):
|
||||||
def test_namedtuple_public_underscore(self):
|
def test_namedtuple_public_underscore(self):
|
||||||
NT = namedtuple('NT', ['abc', 'def'], rename=True)
|
NT = namedtuple('NT', ['abc', 'def'], rename=True)
|
||||||
with captured_stdout() as help_io:
|
with captured_stdout() as help_io:
|
||||||
help(NT)
|
pydoc.help(NT)
|
||||||
helptext = help_io.getvalue()
|
helptext = help_io.getvalue()
|
||||||
self.assertIn('_1', helptext)
|
self.assertIn('_1', helptext)
|
||||||
self.assertIn('_replace', helptext)
|
self.assertIn('_replace', helptext)
|
||||||
|
|
Loading…
Reference in New Issue