@@ -191,7 +191,7 @@ def test_correlate01(self, xp):
191191
192192 @xfail_xp_backends ('cupy' , reason = "Differs by a factor of two?" )
193193 @skip_xp_backends ("jax.numpy" , reason = "output array is read-only." )
194- @skip_xp_backends ("dask.array" , reason = "wrong answer" )
194+ @xfail_xp_backends ("dask.array" , reason = "wrong answer" )
195195 def test_correlate01_overlap (self , xp ):
196196 array = xp .reshape (xp .arange (256 ), (16 , 16 ))
197197 weights = xp .asarray ([2 ])
@@ -881,7 +881,7 @@ def test_gauss06(self, xp):
881881 assert_array_almost_equal (output1 , output2 )
882882
883883 @skip_xp_backends ("jax.numpy" , reason = "output array is read-only." )
884- @skip_xp_backends ("dask.array" , reason = "wrong result " )
884+ @xfail_xp_backends ("dask.array" , reason = "output keyword not handled properly " )
885885 def test_gauss_memory_overlap (self , xp ):
886886 input = xp .arange (100 * 100 , dtype = xp .float32 )
887887 input = xp .reshape (input , (100 , 100 ))
@@ -1228,7 +1228,7 @@ def test_prewitt01(self, dtype, xp):
12281228 assert_array_almost_equal (t , output )
12291229
12301230 @skip_xp_backends ("jax.numpy" , reason = "output array is read-only." )
1231- @skip_xp_backends ("dask.array" , reason = "output array is read-only." )
1231+ @xfail_xp_backends ("dask.array" , reason = "output array is read-only." )
12321232 @pytest .mark .parametrize ('dtype' , types + complex_types )
12331233 def test_prewitt02 (self , dtype , xp ):
12341234 if is_torch (xp ) and dtype in ("uint16" , "uint32" , "uint64" ):
@@ -1838,9 +1838,7 @@ def test_rank06(self, xp):
18381838 @skip_xp_backends ("jax.numpy" ,
18391839 reason = "assignment destination is read-only" ,
18401840 )
1841- @xfail_xp_backends ("dask.array" ,
1842- reason = "wrong answer" ,
1843- )
1841+ @xfail_xp_backends ("dask.array" , reason = "wrong answer" )
18441842 def test_rank06_overlap (self , xp ):
18451843 array = xp .asarray ([[3 , 2 , 5 , 1 , 4 ],
18461844 [5 , 8 , 3 , 7 , 1 ],
@@ -2647,7 +2645,7 @@ def test_gaussian_radius_invalid(xp):
26472645
26482646
26492647@skip_xp_backends ("jax.numpy" , reason = "output array is read-only" )
2650- @skip_xp_backends ("dask.array" , reason = "wrong answer" )
2648+ @xfail_xp_backends ("dask.array" , reason = "wrong answer" )
26512649class TestThreading :
26522650 def check_func_thread (self , n , fun , args , out ):
26532651 from threading import Thread
0 commit comments