File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3030 rtol_shared_matrix_shapes, rtols)
3131from . import dtype_helpers as dh
3232from . import pytest_helpers as ph
33+ from . import shape_helpers as sh
3334
3435from . import _array_module
3536from . import _array_module as xp
@@ -362,7 +363,7 @@ def test_matrix_power(x, n):
362363 kw=kwargs(rtol=rtols)
363364)
364365def test_matrix_rank(x, kw):
365- res = linalg.matrix_rank(x, **kw)
366+ linalg.matrix_rank(x, **kw)
366367
367368@given(
368369 x=xps.arrays(dtype=dtypes, shape=matrix_shapes()),
@@ -411,7 +412,7 @@ def test_outer(x1, x2):
411412 kw=kwargs(rtol=rtols)
412413)
413414def test_pinv(x, kw):
414- res = linalg.pinv(x, **kw)
415+ linalg.pinv(x, **kw)
415416
416417@pytest.mark.xp_extension('linalg')
417418@given(
@@ -512,7 +513,7 @@ def _x2_shapes(draw):
512513@pytest.mark.xp_extension('linalg')
513514@given(*solve_args())
514515def test_solve(x1, x2):
515- res = linalg.solve(x1, x2)
516+ linalg.solve(x1, x2)
516517
517518@pytest.mark.xp_extension('linalg')
518519@given(
You can’t perform that action at this time.
0 commit comments