diff --git a/python/tests/unit_tests/test_run_helpers.py b/python/tests/unit_tests/test_run_helpers.py index 3b19b107c..19ca51558 100644 --- a/python/tests/unit_tests/test_run_helpers.py +++ b/python/tests/unit_tests/test_run_helpers.py @@ -7,7 +7,7 @@ import time import uuid import warnings -from typing import Any, AsyncGenerator, Generator, Optional, Set, cast +from typing import Any, AsyncGenerator, Generator, List, Optional, Set, Tuple, cast from unittest.mock import MagicMock, patch import pytest @@ -50,7 +50,7 @@ def _get_calls( return calls -def _get_datas(mock_calls: list[Any]) -> list[tuple[str, dict]]: +def _get_datas(mock_calls: List[Any]) -> List[Tuple[str, dict]]: datas = [] for call_ in mock_calls: data = json.loads(call_.kwargs["data"])