Skip to content

Commit 2cce6a0

Browse files
committed
remove now-redundant chunks and rechunk methods from DummyChunkManager
1 parent a24489b commit 2cce6a0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

xarray/tests/test_parallelcompat.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ def __init__(self):
7979
def is_chunked_array(self, data: Any) -> bool:
8080
return isinstance(data, DummyChunkedArray)
8181

82-
def chunks(self, data: DummyChunkedArray) -> T_NormalizedChunks:
83-
return data.chunks
84-
8582
def normalize_chunks(
8683
self,
8784
chunks: T_Chunks | T_NormalizedChunks,
@@ -101,9 +98,6 @@ def from_array(
10198

10299
return da.from_array(data, chunks, **kwargs)
103100

104-
def rechunk(self, data: DummyChunkedArray, chunks, **kwargs) -> DummyChunkedArray:
105-
return data.rechunk(chunks, **kwargs)
106-
107101
def compute(self, *data: DummyChunkedArray, **kwargs) -> tuple[np.ndarray, ...]:
108102
from dask.array import compute
109103

0 commit comments

Comments
 (0)