(self)
| 131 | """Perform approximate comparisons where the expected value is numpy array.""" |
| 132 | |
| 133 | def __repr__(self) -> str: |
| 134 | list_scalars = _recursive_sequence_map( |
| 135 | self._approx_scalar, self.expected.tolist() |
| 136 | ) |
| 137 | return f"approx({list_scalars!r})" |
| 138 | |
| 139 | def _repr_compare(self, other_side: ndarray | list[Any]) -> list[str]: |
| 140 | import itertools |
nothing calls this directly
no test coverage detected