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

Function test_setup_inheritance_skipping

testing/test_unittest.py:1134–1140  ·  view source on GitHub ↗

Issue #4700

(
    pytester: Pytester, test_name, expected_outcome
)

Source from the content-addressed store, hash-verified

1132 ],
1133)
1134def test_setup_inheritance_skipping(
1135 pytester: Pytester, test_name, expected_outcome
1136) -> None:
1137 """Issue #4700"""
1138 pytester.copy_example(f"unittest/{test_name}")
1139 result = pytester.runpytest()
1140 result.stdout.fnmatch_lines([f"* {expected_outcome} in *"])
1141
1142
1143def test_BdbQuit(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

fnmatch_linesMethod · 0.80
copy_exampleMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected