MCPcopy Index your code
hub / github.com/google/python-fire / test_one_line_simple_whitespace

Method test_one_line_simple_whitespace

fire/docstrings_test.py:37–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 self.assertEqual(expected_docstring_info, docstring_info)
36
37 def test_one_line_simple_whitespace(self):
38 docstring = """
39 A simple one line docstring.
40 """
41 docstring_info = docstrings.parse(docstring)
42 expected_docstring_info = DocstringInfo(
43 summary='A simple one line docstring.',
44 )
45 self.assertEqual(expected_docstring_info, docstring_info)
46
47 def test_one_line_too_long(self):
48 # pylint: disable=line-too-long

Callers

nothing calls this directly

Calls 1

DocstringInfoClass · 0.85

Tested by

no test coverage detected