Skip to content

Commit 118ae2d

Browse files
committed
TST: test views vs copies on array-api-strict, too
1 parent 0ad664b commit 118ae2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_copies_or_views.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from ._helpers import import_, wrapped_libraries
77

88

9-
LIB_NAMES = ['numpy', 'cupy', 'torch', 'dask.array', 'array_api_strict']
10-
119
FUNC_INPUTS = [
1210
# func_name, arr_input, dtype, scalar_value
1311
('abs', [1, 2], 'int8', 3),
@@ -40,7 +38,7 @@ def is_view(func, a, value):
4038
return a[0] == value
4139

4240

43-
@pytest.mark.parametrize('xp_name', wrapped_libraries)
41+
@pytest.mark.parametrize('xp_name', wrapped_libraries + ['array_api_strict'])
4442
@pytest.mark.parametrize('inputs', FUNC_INPUTS, ids=[inp[0] for inp in FUNC_INPUTS])
4543
def test_view_or_copy(inputs, xp_name):
4644
bare_xp = import_(xp_name, wrapper=False)

0 commit comments

Comments
 (0)