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

Method __call__

src/_pytest/helpconfig.py:36–41  ·  view source on GitHub ↗
(self, parser, namespace, values, option_string=None)

Source from the content-addressed store, hash-verified

34 )
35
36 def __call__(self, parser, namespace, values, option_string=None):
37 setattr(namespace, self.dest, self.const)
38
39 # We should only skip the rest of the parsing after preparse is done.
40 if getattr(parser._parser, "after_preparse", False):
41 raise PrintHelp
42
43
44def pytest_addoption(parser: Parser) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected