Skip to content

Commit

Permalink
xfail another dask/pyarrow test
Browse files Browse the repository at this point in the history
Unsure why this wasn't showing prior -- having tests fail in the good state does make it much more difficult to ensure everything is fixed before merging.
  • Loading branch information
max-sixty committed Jan 21, 2024
1 parent e4bdc39 commit 53e9aad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xarray/tests/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,10 @@ def test_to_dask_dataframe_coordinates(self):
assert isinstance(actual, dd.DataFrame)
assert_frame_equal(expected.compute(), actual.compute())

@pytest.mark.xfail(
reason="Currently pandas with pyarrow installed will return a `string[pyarrow]` type, "
"which causes the index to have a different type depending on whether pyarrow is installed"
)
def test_to_dask_dataframe_not_daskarray(self):
# Test if DataArray is not a dask array
x = np.random.randn(10)
Expand Down

0 comments on commit 53e9aad

Please sign in to comment.