| 466 | |
| 467 | |
| 468 | class Record: |
| 469 | def __init__(self): |
| 470 | self.calls = [] |
| 471 | |
| 472 | def __bool__(self): |
| 473 | return bool(self.calls) |
| 474 | |
| 475 | def __repr__(self): |
| 476 | return repr(self.calls) |
| 477 | |
| 478 | def __call__(self, *args, **kwargs): |
| 479 | self.calls.append((args, kwargs)) |
| 480 | |
| 481 | |
| 482 | def test_signals(): |
no outgoing calls
searching dependent graphs…