| 39 | |
| 40 | def test_source_from_method() -> None: |
| 41 | class TestClass: |
| 42 | def test_method(self): |
| 43 | pass |
| 44 | |
| 45 | source = Source(TestClass().test_method) |
| 46 | assert source.lines == ["def test_method(self):", " pass"] |
no outgoing calls
searching dependent graphs…