From d759c1a4dc17334c9025dfcb7a9b07021e0baf53 Mon Sep 17 00:00:00 2001 From: robwsc Date: Tue, 2 Apr 2024 11:56:04 -0500 Subject: [PATCH] fix: import `Any` in test_request_body.py --- tests/unit/test_cli/test_core_commands.py | 1 + tests/unit/test_openapi/test_request_body.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_cli/test_core_commands.py b/tests/unit/test_cli/test_core_commands.py index 6ed64aa8d5..bc709a030a 100644 --- a/tests/unit/test_cli/test_core_commands.py +++ b/tests/unit/test_cli/test_core_commands.py @@ -409,6 +409,7 @@ def test_run_command_arguments_precedence( else: assert expected in mock_subprocess_run.call_args_list[0].args[0] + @pytest.fixture() def unset_env() -> Generator[None, None, None]: initial_env = {**os.environ} diff --git a/tests/unit/test_openapi/test_request_body.py b/tests/unit/test_openapi/test_request_body.py index 19beabb35c..77d572fe00 100644 --- a/tests/unit/test_openapi/test_request_body.py +++ b/tests/unit/test_openapi/test_request_body.py @@ -1,5 +1,5 @@ from dataclasses import dataclass -from typing import Callable, Dict, List, Type +from typing import Any, Callable, Dict, List, Type import pytest from typing_extensions import Annotated