()
| 42 | |
| 43 | |
| 44 | def test_setup_func_not_callable() -> None: |
| 45 | from _pytest.nose import call_optional |
| 46 | |
| 47 | class A: |
| 48 | f = 1 |
| 49 | |
| 50 | call_optional(A(), "f") |
| 51 | |
| 52 | |
| 53 | def test_nose_setup_func(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected