Skip to content

Commit a29d4bc

Browse files
Use unified instead of calling obj.unify_chunks()
1 parent d634770 commit a29d4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ def test_unify_chunks_shallow_copy(obj, transform):
11301130
obj = transform(obj)
11311131
unified = obj.unify_chunks()
11321132
assert_identical(obj, unified)
1133-
assert obj is not obj.unify_chunks()
1133+
assert obj is not unified
11341134

11351135

11361136
@pytest.mark.parametrize("obj", [make_da()])

0 commit comments

Comments
 (0)