From 7edf728dc6dca340a8a8ff6bf4444a45542e7ca7 Mon Sep 17 00:00:00 2001 From: Bruno Pagani Date: Wed, 19 Feb 2020 11:40:36 +0000 Subject: [PATCH] Avoid running test_open_mfdataset_list_attr without dask Fixes GH-3777. --- doc/whats-new.rst | 3 +++ xarray/tests/test_backends.py | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index bf8e63eb926..e3e4eca7a01 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -37,6 +37,9 @@ Internal Changes - Removed the internal ``import_seaborn`` function which handled the deprecation of the ``seaborn.apionly`` entry point (:issue:`3747`). By `Mathias Hauser `_. +- Changed test_open_mfdataset_list_attr to only run with dask installed + (:issue:`3777`, :pull:`3780`). + By `Bruno Pagani `_. .. _whats-new.0.15.0: diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index bb77cbb94fe..b7ba70ef6c4 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -2540,6 +2540,7 @@ def test_open_mfdataset_manyfiles( @requires_netCDF4 +@requires_dask def test_open_mfdataset_list_attr(): """ Case when an attribute of type list differs across the multiple files