Skip to content

Commit

Permalink
fix typing issue in Python 3.8 (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhindes authored Feb 19, 2024
1 parent 3129f87 commit 97e0c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/component/test_stream_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def _bool_array_to_int(bool_array: numpy.typing.NDArray[numpy.bool_]) -> int:

def _read_and_copy(
read_func: Callable[[numpy.typing.NDArray[_DType]], None], array: numpy.typing.NDArray[_DType]
) -> numpy.ndarray[_DType]:
) -> numpy.typing.NDArray[_DType]:
read_func(array)
return array.copy()

Expand Down

0 comments on commit 97e0c37

Please sign in to comment.