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

Method __init__

src/_pytest/helpconfig.py:26–34  ·  view source on GitHub ↗
(self, option_strings, dest=None, default=False, help=None)

Source from the content-addressed store, hash-verified

24 """
25
26 def __init__(self, option_strings, dest=None, default=False, help=None):
27 super().__init__(
28 option_strings=option_strings,
29 dest=dest,
30 const=True,
31 default=default,
32 nargs=0,
33 help=help,
34 )
35
36 def __call__(self, parser, namespace, values, option_string=None):
37 setattr(namespace, self.dest, self.const)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected