@@ -216,15 +216,7 @@ class _MonkeyPatchedWSGIResponse(_WSGIResponse):
216216    request : dict [str , Any ]
217217    client : Client 
218218    templates : list [Template ]
219- 
220-     # `context` and `context_data` are populated based on whether you use the standard template 
221-     # backend or a custom one respectively. 
222-     # `context_data` only exists if the response was successful too as the return type changes. 
223-     # `HTTPResponse` when API failed and `TemplateResponse` when successful. 
224-     # https://docs.djangoproject.com/en/stable/topics/testing/tools/#django.test.Response.context 
225219    context : ContextList  |  dict [str , Any ]
226-     context_data : ContextList  |  dict [str , Any ]
227- 
228220    content : bytes 
229221    resolver_match : ResolverMatch 
230222    redirect_chain : list [tuple [str , int ]]
@@ -237,15 +229,7 @@ class _MonkeyPatchedASGIResponse(_ASGIResponse):
237229    request : dict [str , Any ]
238230    client : AsyncClient 
239231    templates : list [Template ]
240- 
241-     # `context` and `context_data` are populated based on whether you use the standard template 
242-     # backend or a custom one respectively. 
243-     # `context_data` only exists if the response was successful too as the return type changes. 
244-     # `HTTPResponse` when API failed and `TemplateResponse` when successful. 
245-     # https://docs.djangoproject.com/en/stable/topics/testing/tools/#django.test.Response.context 
246232    context : ContextList  |  dict [str , Any ]
247-     context_data : ContextList  |  dict [str , Any ]
248- 
249233    content : bytes 
250234    resolver_match : ResolverMatch 
251235    redirect_chain : list [tuple [str , int ]]
0 commit comments