Skip to content

Commit

Permalink
decorate the failing open_mfdataset and sparse chunking tests with re…
Browse files Browse the repository at this point in the history
…quires_dask
  • Loading branch information
keewis committed Mar 30, 2020
1 parent daa3ebe commit ca3efb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -3513,6 +3513,7 @@ def test_uamiv_format_read(self):
assert_allclose(expected, actual)
camxfile.close()

@requires_dask
def test_uamiv_format_mfread(self):
"""
Open a CAMx file and test data variables
Expand Down Expand Up @@ -4012,6 +4013,7 @@ def test_geotiff_tags(self):
with xr.open_rasterio(tmp_file) as rioda:
assert isinstance(rioda.attrs["AREA_OR_POINT"], str)

@requires_dask
def test_no_mftime(self):
# rasterio can accept "filename" urguments that are actually urls,
# including paths to remote files.
Expand Down
1 change: 1 addition & 0 deletions xarray/tests/test_sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ def test_sparse_coords(self):
)


@requires_dask
def test_chunk():
s = sparse.COO.from_numpy(np.array([0, 0, 1, 2]))
a = DataArray(s)
Expand Down

0 comments on commit ca3efb4

Please sign in to comment.