Function
test_source_from_inner_function
testing/code/test_source.py:55–60
· testing/code/test_source.py::test_source_from_inner_function
()
Source from the content-addressed store, hash-verified
| 53 | |
| 54 | |
| 55 | def test_source_from_inner_function() -> None: |
| 56 | def f(): |
| 57 | raise NotImplementedError() |
| 58 | |
| 59 | source = Source(f) |
| 60 | assert str(source).startswith(class="st">"def f():") |
| 61 | |
| 62 | |
| 63 | def test_source_strips() -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected