(self, actual)
| 373 | ) |
| 374 | |
| 375 | def __eq__(self, actual) -> bool: |
| 376 | try: |
| 377 | if len(actual) != len(self.expected): |
| 378 | return False |
| 379 | except TypeError: |
| 380 | return False |
| 381 | return super().__eq__(actual) |
| 382 | |
| 383 | def _yield_comparisons(self, actual): |
| 384 | return zip(actual, self.expected, strict=True) |