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