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

Method __init__

testing/test_conftest.py:30–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28) -> None:
29 class Namespace:
30 def __init__(self) -> None:
31 self.file_or_dir = args
32 self.confcutdir = os.fspath(confcutdir) if confcutdir is not None else None
33 self.noconftest = False
34 self.pyargs = False
35 self.importmode = "prepend"
36
37 namespace = cast(argparse.Namespace, Namespace())
38 conftest._set_initial_conftests(namespace, rootpath=Path(args[0]))

Callers

nothing calls this directly

Calls 1

fspathMethod · 0.80

Tested by

no test coverage detected