Skip to content

Commit

Permalink
fix test2
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Feb 20, 2024
1 parent d61ea51 commit dd1fd04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/psygnal/_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
get_args,
get_origin,
get_type_hints,
overload,
overload, List,
)

from ._exceptions import EmitLoopError
Expand Down Expand Up @@ -1111,7 +1111,7 @@ def resume(self, reducer: ReducerFunc | None = None, initial: Any = _NULL) -> No
hasattr(reducer, "__annotations__")
and len(reducer.__annotations__) == 2
):
args = cast(Callable[[list[tuple]], tuple], reducer)(self._args_queue)
args = cast(Callable[[List[tuple]], tuple], reducer)(self._args_queue)
elif initial is _NULL:
args = reduce(
cast(Callable[[tuple, tuple], tuple], reducer), self._args_queue
Expand Down

0 comments on commit dd1fd04

Please sign in to comment.