Yield all the pairs of numbers to be compared. This is used to implement the `__eq__` method.
(self, actual)
| 101 | return ApproxScalar(x, rel=self.rel, abs=self.abs, nan_ok=self.nan_ok) |
| 102 | |
| 103 | def _yield_comparisons(self, actual): |
| 104 | """Yield all the pairs of numbers to be compared. |
| 105 | |
| 106 | This is used to implement the `__eq__` method. |
| 107 | """ |
| 108 | raise NotImplementedError |
| 109 | |
| 110 | def _check_type(self) -> None: |
| 111 | """Raise a TypeError if the expected value is not a valid type.""" |
no outgoing calls