Skip to content

Commit 3b8f30e

Browse files
author
Borja Martinena
committed
removed type hints from deprecated decorator
1 parent 31a6e5c commit 3b8f30e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

funalone/isolated_function_clone.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from collections.abc import Callable, Iterable
22
from sys import stderr
3-
from typing import Any, Concatenate, Generic
3+
from typing import Any, Generic
44
from unittest.mock import Mock
55
from typing_extensions import deprecated
66

@@ -143,7 +143,7 @@ def with_isolated_function_clone(
143143
"""
144144

145145
def wrapper(
146-
function: Callable[Concatenate[IsolatedFunctionClone[P, R], ...], Any],
146+
function: Callable[..., Any],
147147
) -> Callable[..., Any]:
148148
def wrapped_function(*args, **kwargs):
149149
with IsolatedFunctionClone(

0 commit comments

Comments
 (0)