diff --git a/requests/async.py b/requests/async.py index 3b07f26e..0738c2b0 100644 --- a/requests/async.py +++ b/requests/async.py @@ -32,7 +32,9 @@ def patched(f): """Patches a given API function to not send.""" def wrapped(*args, **kwargs): - return f(*args, return_response=False, **kwargs) + new_kwargs = dict(kwargs) + new_kwargs['return_response'] = False + return f(*args, **kwargs) return wrapped