(self)
| 565 | |
| 566 | |
| 567 | def test_docstring(self): |
| 568 | def f(): |
| 569 | f'''Not a docstring''' |
| 570 | self.assertIsNone(f.__doc__) |
| 571 | def g(): |
| 572 | '''Not a docstring''' \ |
| 573 | f'' |
| 574 | self.assertIsNone(g.__doc__) |
| 575 | |
| 576 | def test_literal_eval(self): |
| 577 | with self.assertRaisesRegex(ValueError, 'malformed node or string'): |
nothing calls this directly
no test coverage detected