diff --git a/tests/fixtures/responses.py b/tests/fixtures/responses.py index 0c5276a..b31f7dd 100644 --- a/tests/fixtures/responses.py +++ b/tests/fixtures/responses.py @@ -114,7 +114,10 @@ class Recorder(ContextManager['Recorder']): """ Overrides the session send method. """ - Session.send = self # type: ignore + def send(session, request, **kwargs): + return self(session, request, **kwargs) + + Session.send = send # type: ignore return self