@@ -86,9 +86,6 @@ def test_copy(self):
86
86
self .assertLazyAndIdentical (self .eager_var , self .lazy_var .copy ())
87
87
self .assertLazyAndIdentical (self .eager_var , self .lazy_var .copy (deep = True ))
88
88
89
- @pytest .mark .xfail (
90
- reason = "cubed rechunk handles chunks={} incorrectly, see https://github.com/cubed-dev/cubed/pull/546"
91
- )
92
89
def test_chunk (self ):
93
90
for chunks , expected in [
94
91
({}, ((2 , 2 ), (2 , 2 , 2 ))),
@@ -151,7 +148,7 @@ def test_unary_op(self):
151
148
v = self .lazy_var
152
149
self .assertLazyAndIdentical (- u , - v )
153
150
self .assertLazyAndIdentical (abs (u ), abs (v ))
154
- # self.assertLazyAndIdentical(u.round(), v.round()) # TODO: fails, see https://github.com/pydata/xarray/pull/9326
151
+ self .assertLazyAndIdentical (u .round (), v .round ())
155
152
156
153
def test_binary_op (self ):
157
154
u = self .eager_var
@@ -292,9 +289,6 @@ def setUp(self):
292
289
self .data , coords = {"x" : range (4 )}, dims = ("x" , "y" ), name = "foo"
293
290
)
294
291
295
- @pytest .mark .xfail (
296
- reason = "cubed rechunk handles chunks={} incorrectly, see https://github.com/cubed-dev/cubed/pull/546"
297
- )
298
292
def test_chunk (self ) -> None :
299
293
for chunks , expected in [
300
294
({}, ((2 , 2 ), (2 , 2 , 2 ))),
0 commit comments