()
| 32 | |
| 33 | |
| 34 | def test_code_from_function_with_class() -> None: |
| 35 | class A: |
| 36 | pass |
| 37 | |
| 38 | with pytest.raises(TypeError): |
| 39 | Code.from_function(A) |
| 40 | |
| 41 | |
| 42 | def x() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…