MCPcopy Create free account
hub / github.com/dask/dask / test_basic

Function test_basic

dask/tests/test_ml.py:4–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def test_basic():
5 try:
6 import dask_ml # noqa: F401
7 except ImportError:
8 try:
9 from dask.ml.model_selection import GridSearchCV
10 except ImportError as e:
11 assert "conda install dask-ml" in str(e)
12 else:
13 assert False
14 else:
15 from dask.ml.model_selection import GridSearchCV # noqa: F401

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected