Skip to content

Commit 733907d

Browse files
committed
Fix some strategies that needed parentheses
1 parent d12b9bf commit 733907d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_tests/test_linalg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_det(x):
179179

180180
@pytest.mark.xp_extension('linalg')
181181
@given(
182-
x=xps.arrays(dtype=dtypes, shape=matrix_shapes),
182+
x=xps.arrays(dtype=dtypes, shape=matrix_shapes()),
183183
# offset may produce an overflow if it is too large. Supporting offsets
184184
# that are way larger than the array shape isn't very important.
185185
kw=kwargs(offset=integers(-MAX_ARRAY_SIZE, MAX_ARRAY_SIZE))
@@ -388,7 +388,7 @@ def test_pinv(x, kw):
388388

389389
@pytest.mark.xp_extension('linalg')
390390
@given(
391-
x=xps.arrays(dtype=xps.floating_dtypes(), shape=matrix_shapes),
391+
x=xps.arrays(dtype=xps.floating_dtypes(), shape=matrix_shapes()),
392392
kw=kwargs(mode=sampled_from(['reduced', 'complete']))
393393
)
394394
def test_qr(x, kw):

0 commit comments

Comments
 (0)