()
| 608 | |
| 609 | |
| 610 | def test_def_online() -> None: |
| 611 | s = """\ |
| 612 | def func(): raise ValueError(42) |
| 613 | |
| 614 | def something(): |
| 615 | pass |
| 616 | """ |
| 617 | source = getstatement(0, s) |
| 618 | assert str(source) == "def func(): raise ValueError(42)" |
| 619 | |
| 620 | |
| 621 | def test_decorator() -> None: |
nothing calls this directly
no test coverage detected