From 97e0c379ce9478050d83dc3e62d9b27548d17c5e Mon Sep 17 00:00:00 2001 From: Zach Hindes Date: Mon, 19 Feb 2024 13:40:18 -0600 Subject: [PATCH] fix typing issue in Python 3.8 (#500) --- tests/component/test_stream_readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/component/test_stream_readers.py b/tests/component/test_stream_readers.py index fc43e070..06e21ac9 100644 --- a/tests/component/test_stream_readers.py +++ b/tests/component/test_stream_readers.py @@ -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()