MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_setup_func_not_callable

Function test_setup_func_not_callable

testing/test_nose.py:44–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43
44def 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
53def test_nose_setup_func(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 2

call_optionalFunction · 0.90
AClass · 0.70

Tested by

no test coverage detected