(*args, **kwargs)
| 127 | counter = 0 # Counts how many times `custom_scheduler` is executed. |
| 128 | |
| 129 | def custom_scheduler(*args, **kwargs): |
| 130 | nonlocal counter |
| 131 | counter += 1 |
| 132 | return get_sync(*args, **kwargs) |
| 133 | |
| 134 | assert_eq(a, b) |
| 135 | assert counter == 0 |
nothing calls this directly
no test coverage detected
searching dependent graphs…