Kaydet (Commit) c1bd2fef authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.3

......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment