Skip to content

Commit 0ad664b

Browse files
ev-brcrusaderky
andcommitted
Apply suggestions from code review
Co-authored-by: Guido Imperiale <[email protected]>
1 parent 1facc35 commit 0ad664b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_copies_or_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
on whether to return a view or a copy of inputs.
44
"""
55
import pytest
6-
from ._helpers import import_
6+
from ._helpers import import_, wrapped_libraries
77

88

99
LIB_NAMES = ['numpy', 'cupy', 'torch', 'dask.array', 'array_api_strict']
@@ -40,7 +40,7 @@ def is_view(func, a, value):
4040
return a[0] == value
4141

4242

43-
@pytest.mark.parametrize('xp_name', LIB_NAMES)
43+
@pytest.mark.parametrize('xp_name', wrapped_libraries)
4444
@pytest.mark.parametrize('inputs', FUNC_INPUTS, ids=[inp[0] for inp in FUNC_INPUTS])
4545
def test_view_or_copy(inputs, xp_name):
4646
bare_xp = import_(xp_name, wrapper=False)

0 commit comments

Comments
 (0)