Skip to content

Commit 43f78b4

Browse files
committed
typing
1 parent 816ab31 commit 43f78b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/strategies.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def units(draw, *, calendar: str) -> str:
5151
def cftime_arrays(
5252
draw: st.DrawFn,
5353
*,
54-
shape: tuple[int, ...] = npst.array_shapes(),
54+
shape: st.SearchStrategy[tuple[int, ...]] = npst.array_shapes(),
5555
calendars: st.SearchStrategy[str] = calendars,
5656
elements: dict[str, Any] | None = None,
5757
) -> np.ndarray[Any, Any]:
@@ -113,7 +113,7 @@ def cftime_arrays(
113113

114114

115115
def by_arrays(
116-
shape: tuple[int, ...], *, elements: dict[str, Any] | None = None
116+
shape: st.SearchStrategy[tuple[int, ...]], *, elements: dict[str, Any] | None = None
117117
) -> st.SearchStrategy[np.ndarray[Any, Any]]:
118118
if elements is None:
119119
elements = {}

0 commit comments

Comments
 (0)