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

Function test_warn_missing

testing/test_assertion.py:1494–1498  ·  view source on GitHub ↗
(pytester: Pytester, cmdline_args, warning_output)

Source from the content-addressed store, hash-verified

1492 ],
1493)
1494def test_warn_missing(pytester: Pytester, cmdline_args, warning_output) -> None:
1495 pytester.makepyfile("")
1496
1497 result = pytester.run(sys.executable, *cmdline_args)
1498 result.stdout.fnmatch_lines(warning_output)
1499
1500
1501def test_recursion_source_decode(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

fnmatch_linesMethod · 0.80
makepyfileMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected