Test get_real_func handles partial instances correctly
()
| 82 | |
| 83 | |
| 84 | def test_get_real_func_partial() -> None: |
| 85 | """Test get_real_func handles partial instances correctly""" |
| 86 | |
| 87 | def foo(x): |
| 88 | return x |
| 89 | |
| 90 | assert get_real_func(foo) is foo |
| 91 | assert get_real_func(partial(foo)) is foo |
| 92 | |
| 93 | |
| 94 | def test_is_generator_asyncio(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected