Skip to content

Commit b3b2519

Browse files
committed
Fix two_mutual_arrays() return type hint
1 parent 5353458 commit b3b2519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_tests/hypothesis_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from .array_helpers import ndindex
1919
from .function_stubs import elementwise_functions
2020
from .pytest_helpers import nargs
21-
from .typing import DataType, Shape
21+
from .typing import Array, DataType, Shape
2222

2323
# Set this to True to not fail tests just because a dtype isn't implemented.
2424
# If no compatible dtype is implemented for a given test, the test will fail
@@ -344,7 +344,7 @@ def multiaxis_indices(draw, shapes):
344344
def two_mutual_arrays(
345345
dtypes: Sequence[DataType] = dh.all_dtypes,
346346
two_shapes: SearchStrategy[Tuple[Shape, Shape]] = two_mutually_broadcastable_shapes,
347-
) -> SearchStrategy:
347+
) -> Tuple[SearchStrategy[Array], SearchStrategy[Array]]:
348348
mutual_dtypes = shared(mutually_promotable_dtypes(dtypes=dtypes))
349349
mutual_shapes = shared(two_shapes)
350350
arrays1 = xps.arrays(

0 commit comments

Comments
 (0)