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

Method test_aliases

testing/test_mark.py:935–939  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

933 assert (lhs == rhs) == expected
934
935 def test_aliases(self) -> None:
936 md = pytest.mark.foo(1, "2", three=3)
937 assert md.name == "foo"
938 assert md.args == (1, "2")
939 assert md.kwargs == {"three": 3}
940
941
942@pytest.mark.parametrize("mark", [None, "", "skip", "xfail"])

Callers

nothing calls this directly

Calls 1

fooMethod · 0.45

Tested by

no test coverage detected