Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmanser committed Aug 14, 2021
1 parent d2ea2a6 commit 0270d23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metpy/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0270d23

Please sign in to comment.