Skip to content

Commit 1d88ff9

Browse files
committed
lint
1 parent 8f9da46 commit 1d88ff9

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

array_api_strict/_elementwise_functions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77
from ._creation_functions import asarray
88
from ._data_type_functions import broadcast_to, iinfo
99
from ._dtypes import (
10-
_boolean_dtypes,
1110
_complex_floating_dtypes,
1211
_dtype_categories,
13-
_floating_dtypes,
1412
_integer_dtypes,
15-
_integer_or_boolean_dtypes,
1613
_numeric_dtypes,
1714
_real_floating_dtypes,
1815
_real_numeric_dtypes,

array_api_strict/tests/test_elementwise_functions.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,20 @@
77

88
from .. import asarray, _elementwise_functions
99
from .._array_object import ALL_DEVICES, CPU_DEVICE, Device
10-
from .._data_type_functions import isdtype
1110
from .._elementwise_functions import bitwise_left_shift, bitwise_right_shift
1211
from .._dtypes import (
1312
_dtype_categories,
1413
_boolean_dtypes,
1514
_floating_dtypes,
1615
_integer_dtypes,
1716
bool as xp_bool,
18-
complex128,
1917
float64,
2018
int8,
2119
int16,
2220
int32,
2321
int64,
2422
uint64,
2523
)
26-
from .._flags import set_array_api_strict_flags
27-
2824
from .test_array_object import _check_op_array_scalar, BIG_INT
2925

3026
import array_api_strict
@@ -197,11 +193,6 @@ def test_elementwise_function_vs_numpy_generics(func_name):
197193
xp_dtypes = _dtype_categories[dtypes]
198194
np_dtypes = [dtype._np_dtype for dtype in xp_dtypes]
199195

200-
match = (
201-
"You are comparing a array_api_strict dtype against a NumPy "
202-
"native dtype object"
203-
)
204-
205196
value = 0.5 if func_name == "atanh" else 1
206197
for xp_dtype in xp_dtypes:
207198
for np_dtype in np_dtypes:

0 commit comments

Comments
 (0)