From aca2012fb5f46e839c980781b50e8bf8b0562ed0 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Wed, 1 Jul 2020 14:07:02 +1200 Subject: [PATCH] Allow xfail test_vectorized_indexing when has_dask Instead of when not has_dask. --- xarray/tests/test_backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index c3370adf124..3539b92debc 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -609,8 +609,8 @@ def test_orthogonal_indexing(self): assert_identical(expected, actual) @pytest.mark.xfail( - not has_dask, - reason="the code for indexing without dask handles negative steps in slices incorrectly", + has_dask, + reason="the code for indexing with dask handles negative steps in slices incorrectly", ) def test_vectorized_indexing(self): in_memory = create_test_data()