Skip to content

Commit 280a14f

Browse files
committed
decorate the some of the failing tests with requires_dask
1 parent daa3ebe commit 280a14f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

xarray/tests/test_backends.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3513,6 +3513,7 @@ def test_uamiv_format_read(self):
35133513
assert_allclose(expected, actual)
35143514
camxfile.close()
35153515

3516+
@requires_dask
35163517
def test_uamiv_format_mfread(self):
35173518
"""
35183519
Open a CAMx file and test data variables
@@ -4012,6 +4013,7 @@ def test_geotiff_tags(self):
40124013
with xr.open_rasterio(tmp_file) as rioda:
40134014
assert isinstance(rioda.attrs["AREA_OR_POINT"], str)
40144015

4016+
@requires_dask
40154017
def test_no_mftime(self):
40164018
# rasterio can accept "filename" urguments that are actually urls,
40174019
# including paths to remote files.

xarray/tests/test_sparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ def test_sparse_coords(self):
837837
)
838838

839839

840+
@requires_dask
840841
def test_chunk():
841842
s = sparse.COO.from_numpy(np.array([0, 0, 1, 2]))
842843
a = DataArray(s)

0 commit comments

Comments
 (0)