Skip to content

Commit

Permalink
Fix ModuleNotFoundError: No module named 'xarray.core.pycompat'
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Jun 22, 2024
1 parent c1d53ab commit 22cc7dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cupy_xarray/tests/test_accessors.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import numpy as np
import pytest
import xarray as xr
from xarray.core.pycompat import dask_array_type
from xarray.namedarray.pycompat import DuckArrayModule

import cupy_xarray # noqa: F401

dsk = DuckArrayModule("dask")
dask_array_type = dsk.type


@pytest.fixture
def tutorial_ds_air():
Expand Down

0 comments on commit 22cc7dc

Please sign in to comment.