MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_text_doc

Method test_text_doc

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

Source from the content-addressed store, hash-verified

443 'trace function introduces __locals__ unexpectedly')
444 @requires_docstrings
445 def test_text_doc(self):
446 result, doc_loc = get_pydoc_text(pydoc_mod)
447 expected_text = expected_text_pattern % (
448 (doc_loc,) +
449 expected_text_data_docstrings +
450 (inspect.getabsfile(pydoc_mod),))
451 self.assertEqual(expected_text, result)
452
453 def test_text_enum_member_with_value_zero(self):
454 # Test issue #20654 to ensure enum member with value 0 can be

Callers

nothing calls this directly

Calls 2

get_pydoc_textFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected