From 6461a20e75d5590a28721ceff5740fc22cb15264 Mon Sep 17 00:00:00 2001 From: Joshua Gould Date: Mon, 8 Jul 2024 09:57:25 -0400 Subject: [PATCH] fixed persist --- tests/test_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_writer.py b/tests/test_writer.py index 3923faa2..14a8ed50 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -180,7 +180,7 @@ def test_write_image_dask(self, read_from_zarr, compute): assert not compute == len(dask_delayed_jobs) - if not len(dask_delayed_jobs): + if not compute: # can be configured to use a Local or Slurm cluster # before persisting the jobs dask_delayed_jobs = persist(*dask_delayed_jobs)