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

Method test_pytest_mark_notcallable

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

Source from the content-addressed store, hash-verified

20 assert attr in module.__all__ # type: ignore
21
22 def test_pytest_mark_notcallable(self) -> None:
23 mark = MarkGenerator(_ispytest=True)
24 with pytest.raises(TypeError):
25 mark() # type: ignore[operator]
26
27 def test_mark_with_param(self):
28 def some_function(abc):

Callers

nothing calls this directly

Calls 1

MarkGeneratorClass · 0.90

Tested by

no test coverage detected