(self)
| 45 | self.assertEqual(expected_docstring_info, docstring_info) |
| 46 | |
| 47 | def test_one_line_too_long(self): |
| 48 | # pylint: disable=line-too-long |
| 49 | docstring = """A one line docstring that is both a little too verbose and a little too long so it keeps going well beyond a reasonable length for a one-liner. |
| 50 | """ |
| 51 | # pylint: enable=line-too-long |
| 52 | docstring_info = docstrings.parse(docstring) |
| 53 | expected_docstring_info = DocstringInfo( |
| 54 | summary='A one line docstring that is both a little too verbose and ' |
| 55 | 'a little too long so it keeps going well beyond a reasonable length ' |
| 56 | 'for a one-liner.', |
| 57 | ) |
| 58 | self.assertEqual(expected_docstring_info, docstring_info) |
| 59 | |
| 60 | def test_one_line_runs_over(self): |
| 61 | # pylint: disable=line-too-long |
nothing calls this directly
no test coverage detected