diff --git a/src/metpy/testing.py b/src/metpy/testing.py index 5942a73bbec..17e48c12a58 100644 --- a/src/metpy/testing.py +++ b/src/metpy/testing.py @@ -216,8 +216,8 @@ def wrapper(*args, **kwargs): def xfail_dask(array, reason): - """XFail a test if `array` is a `dask.array.Array`.""" - dask_array = pytest.importorskip('dask.array', reason="dask.array not available") + """Xfail a test if `array` is a `dask.array.Array`.""" + dask_array = pytest.importorskip('dask.array', reason='dask.array not available') if not isinstance(array, xr.DataArray) and isinstance(array.m, dask_array.Array): pytest.xfail(reason=reason)