Skip to content

Commit

Permalink
use new location of SerializableLock
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Dec 22, 2023
1 parent 4933267 commit fe5b4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
)

import xarray as xr
from xarray.backends.dask_lock import SerializableLock
from xarray.backends.locks import HDF5_LOCK, CombinedLock
from xarray.tests import (
assert_allclose,
Expand Down Expand Up @@ -273,7 +274,7 @@ async def test_async(c, s, a, b) -> None:


def test_hdf5_lock() -> None:
assert isinstance(HDF5_LOCK, dask.utils.SerializableLock)
assert isinstance(HDF5_LOCK, SerializableLock)


@gen_cluster(client=True)
Expand Down

0 comments on commit fe5b4a9

Please sign in to comment.