Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
  • Loading branch information
ev-br and crusaderky committed Jun 4, 2025
commit 0ad664bdfde03ec3f21d82b1048616ae5d0fb6b7
4 changes: 2 additions & 2 deletions tests/test_copies_or_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on whether to return a view or a copy of inputs.
"""
import pytest
from ._helpers import import_
from ._helpers import import_, wrapped_libraries


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


@pytest.mark.parametrize('xp_name', LIB_NAMES)
@pytest.mark.parametrize('xp_name', wrapped_libraries)
@pytest.mark.parametrize('inputs', FUNC_INPUTS, ids=[inp[0] for inp in FUNC_INPUTS])
def test_view_or_copy(inputs, xp_name):
bare_xp = import_(xp_name, wrapper=False)
Expand Down