(self)
| 322 | """Perform approximate comparisons where the expected value is a sequence of numbers.""" |
| 323 | |
| 324 | def __repr__(self) -> str: |
| 325 | seq_type = type(self.expected) |
| 326 | if seq_type not in (tuple, list): |
| 327 | seq_type = list |
| 328 | return f"approx({seq_type(self._approx_scalar(x) for x in self.expected)!r})" |
| 329 | |
| 330 | def _repr_compare(self, other_side: Sequence[float]) -> list[str]: |
| 331 | import math |
nothing calls this directly
no test coverage detected