()
| 68 | |
| 69 | |
| 70 | def test_getstatement_empty_fullsource() -> None: |
| 71 | def func() -> FrameType: |
| 72 | return sys._getframe(0) |
| 73 | |
| 74 | f = Frame(func()) |
| 75 | with mock.patch.object(f.code.__class__, "fullsource", None): |
| 76 | assert f.statement == Source("") |
| 77 | |
| 78 | |
| 79 | def test_code_from_func() -> None: |