()
| 272 | |
| 273 | |
| 274 | def test_method_getattr_call_same_task(): |
| 275 | a = delayed([1, 2, 3]) |
| 276 | o = a.index(1) |
| 277 | # Don't getattr the method, then call in separate task |
| 278 | tasks = {v.func for v in o.__dask_graph__().values() if isinstance(v, Task)} |
| 279 | assert tasks |
| 280 | assert getattr not in tasks |
| 281 | |
| 282 | |
| 283 | def test_np_dtype_of_delayed(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…