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

Method __repr__

src/_pytest/python_api.py:238–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

236 with numeric values (the keys can be anything)."""
237
238 def __repr__(self) -> str:
239 return f"approx({ ({k: self._approx_scalar(v) for k, v in self.expected.items()})!r})"
240
241 def _repr_compare(self, other_side: Mapping[object, float]) -> list[str]:
242 import math

Callers

nothing calls this directly

Calls 1

_approx_scalarMethod · 0.80

Tested by

no test coverage detected