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

Method test_docstring_on_hookspec

testing/acceptance_test.py:357–362  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 res.stderr.fnmatch_lines(["*ERROR*not found*"])
356
357 def test_docstring_on_hookspec(self) -> None:
358 from _pytest import hookspec
359
360 for name, value in vars(hookspec).items():
361 if name.startswith("pytest_"):
362 assert value.__doc__, "no docstring for %s" % name
363
364 def test_initialization_error_issue49(self, pytester: Pytester) -> None:
365 pytester.makeconftest(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected