File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 7
7
from ._creation_functions import asarray
8
8
from ._data_type_functions import broadcast_to , iinfo
9
9
from ._dtypes import (
10
- _boolean_dtypes ,
11
10
_complex_floating_dtypes ,
12
11
_dtype_categories ,
13
- _floating_dtypes ,
14
12
_integer_dtypes ,
15
- _integer_or_boolean_dtypes ,
16
13
_numeric_dtypes ,
17
14
_real_floating_dtypes ,
18
15
_real_numeric_dtypes ,
Original file line number Diff line number Diff line change 7
7
8
8
from .. import asarray , _elementwise_functions
9
9
from .._array_object import ALL_DEVICES , CPU_DEVICE , Device
10
- from .._data_type_functions import isdtype
11
10
from .._elementwise_functions import bitwise_left_shift , bitwise_right_shift
12
11
from .._dtypes import (
13
12
_dtype_categories ,
14
13
_boolean_dtypes ,
15
14
_floating_dtypes ,
16
15
_integer_dtypes ,
17
16
bool as xp_bool ,
18
- complex128 ,
19
17
float64 ,
20
18
int8 ,
21
19
int16 ,
22
20
int32 ,
23
21
int64 ,
24
22
uint64 ,
25
23
)
26
- from .._flags import set_array_api_strict_flags
27
-
28
24
from .test_array_object import _check_op_array_scalar , BIG_INT
29
25
30
26
import array_api_strict
@@ -197,11 +193,6 @@ def test_elementwise_function_vs_numpy_generics(func_name):
197
193
xp_dtypes = _dtype_categories [dtypes ]
198
194
np_dtypes = [dtype ._np_dtype for dtype in xp_dtypes ]
199
195
200
- match = (
201
- "You are comparing a array_api_strict dtype against a NumPy "
202
- "native dtype object"
203
- )
204
-
205
196
value = 0.5 if func_name == "atanh" else 1
206
197
for xp_dtype in xp_dtypes :
207
198
for np_dtype in np_dtypes :
You can’t perform that action at this time.
0 commit comments