@@ -61,50 +61,43 @@ def test_take_along_axis_none_axis(self, xp):
6161 b = testing .shaped_random ((30 ,), xp , dtype = "int64" , scale = 24 )
6262 return xp .take_along_axis (a , b , axis = None )
6363
64- @pytest .mark .skip ("compress() is not implemented yet" )
6564 @testing .numpy_cupy_array_equal ()
6665 def test_compress (self , xp ):
6766 a = testing .shaped_arange ((3 , 4 , 5 ), xp )
6867 b = xp .array ([True , False , True ])
6968 return xp .compress (b , a , axis = 1 )
7069
71- @pytest .mark .skip ("compress() is not implemented yet" )
7270 @testing .numpy_cupy_array_equal ()
7371 def test_compress_no_axis (self , xp ):
7472 a = testing .shaped_arange ((3 , 4 , 5 ), xp )
7573 b = xp .array ([True , False , True ])
7674 return xp .compress (b , a )
7775
78- @pytest .mark .skip ("compress() is not implemented yet" )
7976 @testing .for_int_dtypes ()
8077 @testing .numpy_cupy_array_equal ()
8178 def test_compress_no_bool (self , xp , dtype ):
8279 a = testing .shaped_arange ((3 , 4 , 5 ), xp )
8380 b = testing .shaped_arange ((3 ,), xp , dtype )
8481 return xp .compress (b , a , axis = 1 )
8582
86- @pytest .mark .skip ("compress() is not implemented yet" )
8783 @testing .numpy_cupy_array_equal ()
8884 def test_compress_overrun_false (self , xp ):
8985 a = testing .shaped_arange ((3 ,), xp )
9086 b = xp .array ([True , False , True , False , False , False ])
9187 return xp .compress (b , a )
9288
93- @pytest .mark .skip ("compress() is not implemented yet" )
9489 @testing .numpy_cupy_array_equal ()
9590 def test_compress_empty_1dim (self , xp ):
9691 a = testing .shaped_arange ((3 , 4 , 5 ), xp )
9792 b = xp .array ([])
9893 return xp .compress (b , a , axis = 1 )
9994
100- @pytest .mark .skip ("compress() is not implemented yet" )
10195 @testing .numpy_cupy_array_equal ()
10296 def test_compress_empty_1dim_no_axis (self , xp ):
10397 a = testing .shaped_arange ((3 , 4 , 5 ), xp )
10498 b = xp .array ([])
10599 return xp .compress (b , a )
106100
107- @pytest .mark .skip ("compress() is not implemented yet" )
108101 @testing .numpy_cupy_array_equal ()
109102 def test_compress_0dim (self , xp ):
110103 a = xp .array (3 )
0 commit comments