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

Method getvalue

src/_pytest/config/__init__.py:1948–1950  ·  view source on GitHub ↗

Deprecated, use getoption() instead.

(self, name: str, path=None)

Source from the content-addressed store, hash-verified

1946 raise ValueError(f"no option named {name!r}") from e
1947
1948 def getvalue(self, name: str, path=None):
1949 """Deprecated, use getoption() instead."""
1950 return self.getoption(name)
1951
1952 def getvalueorskip(self, name: str, path=None):
1953 """Deprecated, use getoption(skip=True) instead."""

Callers 3

callbinreprFunction · 0.45
__str__Method · 0.45
pformatMethod · 0.45

Calls 1

getoptionMethod · 0.95

Tested by

no test coverage detected