()
| 177 | |
| 178 | |
| 179 | def test_isinstance_custom() -> None: |
| 180 | a = da.ones(10) |
| 181 | hlgc = HLGCollection(a) |
| 182 | nhlgc = NotHLGCollection(a) |
| 183 | |
| 184 | assert isinstance(hlgc, DaskCollection) |
| 185 | assert isinstance(nhlgc, DaskCollection) |
| 186 | |
| 187 | assert isinstance(nhlgc, DaskCollection) |
| 188 | assert not isinstance(nhlgc, HLGDaskCollection) |
| 189 | |
| 190 | |
| 191 | def compute(coll: DaskCollection) -> Any: |
nothing calls this directly
no test coverage detected