summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorJonas Lundberg <jonas@5monkeys.se>2022-06-02 23:19:16 +0200
committerCarlton Gibson <carlton@noumenal.es>2022-06-09 11:11:45 +0200
commite96320c91724830034033a9cb8afd9cf8c11e2fd (patch)
tree12d82a70c1820bccc2f606b886bed4fdd3f6ea54 /django/test
parentc32858a8ce961d276215a040ae0ab1e4409b70f8 (diff)
downloaddjango-e96320c91724830034033a9cb8afd9cf8c11e2fd.tar.gz
Fixed #33755 -- Moved ASGI body-file cleanup into request class.
Diffstat (limited to 'django/test')
-rw-r--r--django/test/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/test/client.py b/django/test/client.py
index 60f4c37c3f..99e831aebd 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -93,6 +93,9 @@ class FakePayload:
self.__content.write(content)
self.__len += len(content)
+ def close(self):
+ pass
+
def closing_iterator_wrapper(iterable, close):
try: