@@ -99,16 +99,13 @@ def test_variable_property(prop):
99
99
(do ("all" ), False ),
100
100
(do ("any" ), False ),
101
101
(do ("astype" , dtype = int ), True ),
102
- (do ("broadcast_equals" , make_xrvar ({"x" : 10 , "y" : 5 })), False ),
103
102
(do ("clip" , min = 0 , max = 1 ), True ),
104
103
(do ("coarsen" , windows = {"x" : 2 }, func = np .sum ), True ),
105
104
(do ("compute" ), True ),
106
105
(do ("conj" ), True ),
107
106
(do ("copy" ), True ),
108
107
(do ("count" ), False ),
109
- (do ("equals" , make_xrvar ({"x" : 10 , "y" : 5 })), False ),
110
108
(do ("get_axis_num" , dim = "x" ), False ),
111
- (do ("identical" , other = make_xrvar ({"x" : 10 , "y" : 5 })), False ),
112
109
(do ("isel" , x = slice (2 , 4 )), True ),
113
110
(do ("isnull" ), True ),
114
111
(do ("load" ), True ),
@@ -121,6 +118,21 @@ def test_variable_property(prop):
121
118
(do ("to_base_variable" ), True ),
122
119
(do ("transpose" ), True ),
123
120
(do ("unstack" , dimensions = {"x" : {"x1" : 5 , "x2" : 2 }}), True ),
121
+ param (
122
+ do ("broadcast_equals" , make_xrvar ({"x" : 10 , "y" : 5 })),
123
+ False ,
124
+ marks = xfail (reason = "https://github.com/pydata/sparse/issues/270" ),
125
+ ),
126
+ param (
127
+ do ("equals" , make_xrvar ({"x" : 10 , "y" : 5 })),
128
+ False ,
129
+ marks = xfail (reason = "https://github.com/pydata/sparse/issues/270" ),
130
+ ),
131
+ param (
132
+ do ("identical" , make_xrvar ({"x" : 10 , "y" : 5 })),
133
+ False ,
134
+ marks = xfail (reason = "https://github.com/pydata/sparse/issues/270" ),
135
+ ),
124
136
param (
125
137
do ("argmax" ),
126
138
True ,
@@ -349,15 +361,13 @@ def test_dataarray_property(prop):
349
361
(do ("assign_attrs" , {"foo" : "bar" }), True ),
350
362
(do ("assign_coords" , x = make_xrarray ({"x" : 10 }).x + 1 ), True ),
351
363
(do ("astype" , int ), True ),
352
- (do ("broadcast_equals" , make_xrarray ({"x" : 10 , "y" : 5 })), False ),
353
364
(do ("clip" , min = 0 , max = 1 ), True ),
354
365
(do ("compute" ), True ),
355
366
(do ("conj" ), True ),
356
367
(do ("copy" ), True ),
357
368
(do ("count" ), False ),
358
369
(do ("diff" , "x" ), True ),
359
370
(do ("drop" , "x" ), True ),
360
- (do ("equals" , make_xrarray ({"x" : 10 , "y" : 5 })), False ),
361
371
(do ("expand_dims" , {"z" : 2 }, axis = 2 ), True ),
362
372
(do ("get_axis_num" , "x" ), False ),
363
373
(do ("get_index" , "x" ), False ),
@@ -380,10 +390,18 @@ def test_dataarray_property(prop):
380
390
(do ("stack" , z = {"x" , "y" }), True ),
381
391
(do ("transpose" ), True ),
382
392
# TODO
383
- # isel_points
384
- # sel_points
385
393
# set_index
386
394
# swap_dims
395
+ param (
396
+ do ("broadcast_equals" , make_xrvar ({"x" : 10 , "y" : 5 })),
397
+ False ,
398
+ marks = xfail (reason = "https://github.com/pydata/sparse/issues/270" ),
399
+ ),
400
+ param (
401
+ do ("equals" , make_xrvar ({"x" : 10 , "y" : 5 })),
402
+ False ,
403
+ marks = xfail (reason = "https://github.com/pydata/sparse/issues/270" ),
404
+ ),
387
405
param (
388
406
do ("argmax" ),
389
407
True ,
0 commit comments