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

Function test_default_markers

testing/test_pluginmanager.py:185–187  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

183
184
185def test_default_markers(pytester: Pytester) -> None:
186 result = pytester.runpytest("--markers")
187 result.stdout.fnmatch_lines(["*tryfirst*first*", "*trylast*last*"])
188
189
190def test_importplugin_error_message(

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected