Skip to content

Commit 3e27414

Browse files
authored
Fix WSGI signature for DjangoTestAdapter (encode#7846)
Closes encode#7132
1 parent a40bce5 commit 3e27414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def send(self, request, *args, **kwargs):
7979
"""
8080
raw_kwargs = {}
8181

82-
def start_response(wsgi_status, wsgi_headers):
82+
def start_response(wsgi_status, wsgi_headers, exc_info=None):
8383
status, _, reason = wsgi_status.partition(' ')
8484
raw_kwargs['status'] = int(status)
8585
raw_kwargs['reason'] = reason

0 commit comments

Comments
 (0)