Commit d59bf5c
committed
fix(test): narrow type with isinstance to satisfy pyright
The test accesses DirectDispatcher internals (_in_flight_ids, _next_id)
but direct_pair() returns the Dispatcher protocol. Add an isinstance
assertion so pyright can see the concrete type.1 parent 4bcd430 commit d59bf5c
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | 499 | | |
| |||
0 commit comments