diff --git a/tests/pathv20_test.py b/tests/pathv20_test.py index c4cdcdc3..18981177 100644 --- a/tests/pathv20_test.py +++ b/tests/pathv20_test.py @@ -5,6 +5,8 @@ import yarl import httpx import pytest +import python_multipart +from httpx._multipart import MultipartStream from aiopenapi3 import OpenAPI @@ -177,9 +179,6 @@ def test_paths_parameter_format_v20(httpx_mock, with_paths_parameter_format_v20) result = api._.formdata(parameters=params) request = httpx_mock.get_requests()[-1] - import multipart - from httpx._multipart import MultipartStream - files = dict() def on_file(file):