()
| 9 | |
| 10 | |
| 11 | def test_start_callback(): |
| 12 | flag = [False] |
| 13 | |
| 14 | class MyCallback(Callback): |
| 15 | def _start(self, dsk): |
| 16 | flag[0] = True |
| 17 | |
| 18 | with MyCallback(): |
| 19 | get_sync({"x": 1}, "x") |
| 20 | |
| 21 | assert flag[0] is True |
| 22 | |
| 23 | |
| 24 | def test_start_state_callback(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…