(self, actual)
| 298 | ) |
| 299 | |
| 300 | def __eq__(self, actual) -> bool: |
| 301 | try: |
| 302 | if set(actual.keys()) != set(self.expected.keys()): |
| 303 | return False |
| 304 | except AttributeError: |
| 305 | return False |
| 306 | |
| 307 | return super().__eq__(actual) |
| 308 | |
| 309 | def _yield_comparisons(self, actual): |
| 310 | for k in self.expected.keys(): |