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

Method test_no_marker

testing/test_skipping.py:13–16  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

11
12class TestEvaluation:
13 def test_no_marker(self, pytester: Pytester) -> None:
14 item = pytester.getitem("def test_func(): pass")
15 skipped = evaluate_skip_marks(item)
16 assert not skipped
17
18 def test_marked_xfail_no_args(self, pytester: Pytester) -> None:
19 item = pytester.getitem(

Callers

nothing calls this directly

Calls 2

evaluate_skip_marksFunction · 0.90
getitemMethod · 0.45

Tested by

no test coverage detected