diff --git a/django/test/client.py b/django/test/client.py index c6626084fd..c733372130 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -753,7 +753,6 @@ class AsyncRequestFactory(RequestFactory): "headers": [(b"host", b"testserver")], } if self.defaults: - extra = {**self.defaults, **extra} if data: s["headers"].extend(