From 8fea0537fd5cb3aa87554e95fbbac0bf3fbc6dd1 Mon Sep 17 00:00:00 2001 From: commonism Date: Mon, 11 Nov 2024 16:21:43 +0100 Subject: [PATCH] tests - fix multipart --- tests/pathv20_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pathv20_test.py b/tests/pathv20_test.py index 18981177..e2868cbc 100644 --- a/tests/pathv20_test.py +++ b/tests/pathv20_test.py @@ -185,7 +185,7 @@ def on_file(file): file.file_object.seek(0) files[file.field_name] = (file.file_name.decode(), file.file_object) - multipart.parse_form(request.headers, io.BytesIO(request.content), None, on_file) + python_multipart.parse_form(request.headers, io.BytesIO(request.content), None, on_file) ms = MultipartStream({}, files=files)