Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
getnode
Method · 0.45
getpathnode
Method · 0.45
wrap_session
Function · 0.45
test_hook_proxy
Method · 0.45
test_collect_topdir
Method · 0.45
test_mktemp
Method · 0.45
test_tmppath_relative_basetemp_absolute
Method · 0.45
make_function
Method · 0.45
Calls
1
_create
Method · 0.80
Tested by
6
getnode
Method · 0.36
getpathnode
Method · 0.36
test_hook_proxy
Method · 0.36
test_collect_topdir
Method · 0.36
test_mktemp
Method · 0.36
test_tmppath_relative_basetemp_absolute
Method · 0.36