Skip to content

Commit

Permalink
Xfail failing test (#6211)
Browse files Browse the repository at this point in the history
* Xfail failing test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* .

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* if it breaks xfail it

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
max-sixty and pre-commit-ci[bot] committed Jan 31, 2022
1 parent 5470d93 commit aab856b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def test_dask_distributed_cfgrib_integration_test(loop) -> None:
assert_allclose(actual, expected)


@pytest.mark.xfail(reason="https://github.com/pydata/xarray/pull/6211")
@gen_cluster(client=True)
async def test_async(c, s, a, b) -> None:
x = create_test_data()
Expand Down Expand Up @@ -216,6 +217,7 @@ def test_hdf5_lock() -> None:
assert isinstance(HDF5_LOCK, dask.utils.SerializableLock)


@pytest.mark.xfail(reason="https://github.com/pydata/xarray/pull/6211")
@gen_cluster(client=True)
async def test_serializable_locks(c, s, a, b) -> None:
def f(x, lock=None):
Expand Down
6 changes: 6 additions & 0 deletions xarray/tests/test_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,12 @@ def test_dask_rolling(self, dim, window, center):
assert actual.shape == expected.shape
assert_equal(actual, expected)

@pytest.mark.xfail(
reason="https://github.com/pydata/xarray/issues/6209#issuecomment-1025116203"
)
def test_multiindex(self):
super().test_multiindex()


@requires_sparse
class TestVariableWithSparse:
Expand Down

0 comments on commit aab856b

Please sign in to comment.