Merge with 3.3
This commit is contained in:
commit
c1bd2fef8b
@ -470,7 +470,7 @@ class PydocDocTest(unittest.TestCase):
|
|||||||
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…
x
Reference in New Issue
Block a user