@@ -67,50 +67,41 @@ def test_bitwise_and(self, lhs, rhs, dtype):
67
67
)
68
68
assert_array_equal (dp_a & dp_b , np_a & np_b )
69
69
70
- """
71
- TODO: unmute once dpctl support that
72
70
if (
73
71
not (inp .isscalar (dp_a ) or inp .isscalar (dp_b ))
74
72
and dp_a .shape == dp_b .shape
75
73
):
76
74
dp_a &= dp_b
77
75
np_a &= np_b
78
76
assert_array_equal (dp_a , np_a )
79
- """
80
77
81
78
def test_bitwise_or (self , lhs , rhs , dtype ):
82
79
dp_a , dp_b , np_a , np_b = self ._test_binary_int (
83
80
"bitwise_or" , lhs , rhs , dtype
84
81
)
85
82
assert_array_equal (dp_a | dp_b , np_a | np_b )
86
83
87
- """
88
- TODO: unmute once dpctl support that
89
84
if (
90
85
not (inp .isscalar (dp_a ) or inp .isscalar (dp_b ))
91
86
and dp_a .shape == dp_b .shape
92
87
):
93
88
dp_a |= dp_b
94
89
np_a |= np_b
95
90
assert_array_equal (dp_a , np_a )
96
- """
97
91
98
92
def test_bitwise_xor (self , lhs , rhs , dtype ):
99
93
dp_a , dp_b , np_a , np_b = self ._test_binary_int (
100
94
"bitwise_xor" , lhs , rhs , dtype
101
95
)
102
96
assert_array_equal (dp_a ^ dp_b , np_a ^ np_b )
103
97
104
- """
105
- TODO: unmute once dpctl support that
106
98
if (
107
99
not (inp .isscalar (dp_a ) or inp .isscalar (dp_b ))
108
100
and dp_a .shape == dp_b .shape
109
101
):
110
102
dp_a ^= dp_b
111
103
np_a ^= np_b
112
104
assert_array_equal (dp_a , np_a )
113
- """
114
105
115
106
def test_invert (self , lhs , rhs , dtype ):
116
107
dp_a , np_a = self ._test_unary_int ("invert" , lhs , dtype )
@@ -122,30 +113,24 @@ def test_left_shift(self, lhs, rhs, dtype):
122
113
)
123
114
assert_array_equal (dp_a << dp_b , np_a << np_b )
124
115
125
- """
126
- TODO: unmute once dpctl support that
127
116
if (
128
117
not (inp .isscalar (dp_a ) or inp .isscalar (dp_b ))
129
118
and dp_a .shape == dp_b .shape
130
119
):
131
120
dp_a <<= dp_b
132
121
np_a <<= np_b
133
122
assert_array_equal (dp_a , np_a )
134
- """
135
123
136
124
def test_right_shift (self , lhs , rhs , dtype ):
137
125
dp_a , dp_b , np_a , np_b = self ._test_binary_int (
138
126
"right_shift" , lhs , rhs , dtype
139
127
)
140
128
assert_array_equal (dp_a >> dp_b , np_a >> np_b )
141
129
142
- """
143
- TODO: unmute once dpctl support that
144
130
if (
145
131
not (inp .isscalar (dp_a ) or inp .isscalar (dp_b ))
146
132
and dp_a .shape == dp_b .shape
147
133
):
148
134
dp_a >>= dp_b
149
135
np_a >>= np_b
150
136
assert_array_equal (dp_a , np_a )
151
- """
0 commit comments