We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3893d6 commit 2c1c989Copy full SHA for 2c1c989
mocket/utils.py
@@ -31,6 +31,7 @@ def hexload(string: str) -> bytes:
31
32
33
def get_mocketize(wrapper_: Callable) -> Callable:
34
+ # trying to support different versions of `decorator`
35
with contextlib.suppress(TypeError):
36
return decorator.decorator(wrapper_, kwsyntax=True) # type: ignore[call-arg]
37
return decorator.decorator(wrapper_)
0 commit comments