MCPcopy Create free account
hub / github.com/python/cpython / test_resolve_false

Method test_resolve_false

Lib/test/test_pydoc/test_pydoc.py:2301–2307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2299 self.assertEqual(expected_text, result)
2300
2301 def test_resolve_false(self):
2302 # Issue #23008: pydoc enum.{,Int}Enum failed
2303 # because bool(enum.Enum) is False.
2304 with captured_stdout() as help_io:
2305 pydoc.help('enum.Enum')
2306 helptext = help_io.getvalue()
2307 self.assertIn('class Enum', helptext)
2308
2309
2310class TestInternalUtilities(unittest.TestCase):

Callers

nothing calls this directly

Calls 4

captured_stdoutFunction · 0.90
assertInMethod · 0.80
helpMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected