Skip to content

Commit dcfae1a

Browse files
MAINT: use yield from where applicable
Original NumPy Commit: daf30d9e1870640d5e947f26349ff58218605988
1 parent 8586f22 commit dcfae1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

array_api_strict/tests/test_array_object.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ def _array_vals():
219219
# Finally, matmul() must be tested separately, because it works a bit
220220
# different from the other operations.
221221
def _matmul_array_vals():
222-
for a in _array_vals():
223-
yield a
222+
yield from _array_vals()
224223
for d in _all_dtypes:
225224
yield ones((3, 4), dtype=d)
226225
yield ones((4, 2), dtype=d)

0 commit comments

Comments
 (0)