MCPcopy
hub / github.com/pytest-dev/pytest / test_setup_inheritance_skipping

Function test_setup_inheritance_skipping

testing/test_unittest.py:1204–1210  ·  view source on GitHub ↗

Issue #4700

(
    pytester: Pytester, test_name, expected_outcome
)

Source from the content-addressed store, hash-verified

1202 ],
1203)
1204def test_setup_inheritance_skipping(
1205 pytester: Pytester, test_name, expected_outcome
1206) -> None:
1207 """Issue #4700"""
1208 pytester.copy_example(f"unittest/{test_name}")
1209 result = pytester.runpytest()
1210 result.stdout.fnmatch_lines([f"* {expected_outcome} in *"])
1211
1212
1213def 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