MCPcopy
hub / github.com/pytest-dev/pytest / from_config

Method from_config

src/_pytest/main.py:630–632  ·  src/_pytest/main.py::Session.from_config
(cls, config: Config)

Source from the content-addressed store, hash-verified

628
629 @classmethod
630 def from_config(cls, config: Config) -> Session:
631 session: Session = cls._create(config=config)
632 return session
633
634 def __repr__(self) -> str:
635 return (

Callers 8

getnodeMethod · 0.45
getpathnodeMethod · 0.45
wrap_sessionFunction · 0.45
test_hook_proxyMethod · 0.45
test_collect_topdirMethod · 0.45
test_mktempMethod · 0.45
make_functionMethod · 0.45

Calls 1

_createMethod · 0.80

Tested by 6

getnodeMethod · 0.36
getpathnodeMethod · 0.36
test_hook_proxyMethod · 0.36
test_collect_topdirMethod · 0.36
test_mktempMethod · 0.36