Skip to content

Commit 02b0106

Browse files
author
Emma Ai
committed
remove dask client from unit test
1 parent b020172 commit 02b0106

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_gm_ls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
from odc.stats.model import product_for_plugin
88
from odc.stats.plugins.gm import StatsGMLS
99
from odc.stats.tasks import TaskReader
10-
from dask.distributed import Client, LocalCluster
11-
12-
cluster = LocalCluster(n_workers=1, threads_per_worker=2)
13-
client = Client(cluster)
1410

1511

1612
@pytest.fixture
@@ -208,7 +204,6 @@ def test_no_data_value(monkeypatch):
208204
task.datasets = task.datasets[2:3]
209205

210206
xx_0_0 = gm_ls.input_data(task.datasets, task.geobox)
211-
print(xx_0_0.compute())
212207
xx_0_0 = xx_0_0.sel(
213208
indexers={"x": slice(None, None, 100), "y": slice(None, None, 100)}
214209
)

0 commit comments

Comments
 (0)