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

Function check_ispytest

src/_pytest/deprecated.py:137–139  ·  src/_pytest/deprecated.py::check_ispytest
(ispytest: bool)

Source from the content-addressed store, hash-verified

135
136
137def check_ispytest(ispytest: bool) -> None:
138 if not ispytest:
139 warn(PRIVATE, stacklevel=3)

Callers 15

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
for_configMethod · 0.90
clear_cacheMethod · 0.90
cache_dir_from_configMethod · 0.90
warnMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by 3

__init__Method · 0.72
__init__Method · 0.72
__init__Method · 0.72