From 44cff7813f93261b5b0522a406c725b677eceaf8 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Fri, 21 Jul 2023 19:29:35 -0700 Subject: [PATCH] another typing fix --- ortools/linear_solver/python/model_builder_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ortools/linear_solver/python/model_builder_test.py b/ortools/linear_solver/python/model_builder_test.py index b473e108639..3cde15b8d00 100644 --- a/ortools/linear_solver/python/model_builder_test.py +++ b/ortools/linear_solver/python/model_builder_test.py @@ -15,7 +15,7 @@ """Tests for ModelBuilder.""" import math -from typing import Any, Callable, Mapping, Union +from typing import Any, Dict, Callable, Mapping, Union from absl.testing import absltest from absl.testing import parameterized @@ -1669,7 +1669,7 @@ def _create_model( ) def test_solve_status( self, - solver: dict[str, Union[str, Mapping[str, Any], bool]], + solver: Dict[str, Union[str, Mapping[str, Any], bool]], variable_indices: pd.Index, variable_bound: float, solve_status: mb.SolveStatus,