()
| 20 | |
| 21 | |
| 22 | def test_is_generator() -> None: |
| 23 | def zap(): |
| 24 | yield # pragma: no cover |
| 25 | |
| 26 | def foo(): |
| 27 | pass # pragma: no cover |
| 28 | |
| 29 | assert is_generator(zap) |
| 30 | assert not is_generator(foo) |
| 31 | |
| 32 | |
| 33 | def test_real_func_loop_limit() -> None: |
nothing calls this directly
no test coverage detected