@@ -61,50 +61,43 @@ def test_take_along_axis_none_axis(self, xp):
61
61
b = testing .shaped_random ((30 ,), xp , dtype = "int64" , scale = 24 )
62
62
return xp .take_along_axis (a , b , axis = None )
63
63
64
- @pytest .mark .skip ("compress() is not implemented yet" )
65
64
@testing .numpy_cupy_array_equal ()
66
65
def test_compress (self , xp ):
67
66
a = testing .shaped_arange ((3 , 4 , 5 ), xp )
68
67
b = xp .array ([True , False , True ])
69
68
return xp .compress (b , a , axis = 1 )
70
69
71
- @pytest .mark .skip ("compress() is not implemented yet" )
72
70
@testing .numpy_cupy_array_equal ()
73
71
def test_compress_no_axis (self , xp ):
74
72
a = testing .shaped_arange ((3 , 4 , 5 ), xp )
75
73
b = xp .array ([True , False , True ])
76
74
return xp .compress (b , a )
77
75
78
- @pytest .mark .skip ("compress() is not implemented yet" )
79
76
@testing .for_int_dtypes ()
80
77
@testing .numpy_cupy_array_equal ()
81
78
def test_compress_no_bool (self , xp , dtype ):
82
79
a = testing .shaped_arange ((3 , 4 , 5 ), xp )
83
80
b = testing .shaped_arange ((3 ,), xp , dtype )
84
81
return xp .compress (b , a , axis = 1 )
85
82
86
- @pytest .mark .skip ("compress() is not implemented yet" )
87
83
@testing .numpy_cupy_array_equal ()
88
84
def test_compress_overrun_false (self , xp ):
89
85
a = testing .shaped_arange ((3 ,), xp )
90
86
b = xp .array ([True , False , True , False , False , False ])
91
87
return xp .compress (b , a )
92
88
93
- @pytest .mark .skip ("compress() is not implemented yet" )
94
89
@testing .numpy_cupy_array_equal ()
95
90
def test_compress_empty_1dim (self , xp ):
96
91
a = testing .shaped_arange ((3 , 4 , 5 ), xp )
97
92
b = xp .array ([])
98
93
return xp .compress (b , a , axis = 1 )
99
94
100
- @pytest .mark .skip ("compress() is not implemented yet" )
101
95
@testing .numpy_cupy_array_equal ()
102
96
def test_compress_empty_1dim_no_axis (self , xp ):
103
97
a = testing .shaped_arange ((3 , 4 , 5 ), xp )
104
98
b = xp .array ([])
105
99
return xp .compress (b , a )
106
100
107
- @pytest .mark .skip ("compress() is not implemented yet" )
108
101
@testing .numpy_cupy_array_equal ()
109
102
def test_compress_0dim (self , xp ):
110
103
a = xp .array (3 )
0 commit comments