diff --git a/tests/test_extensions.py b/tests/test_extensions.py index c3356d57..0c598923 100644 --- a/tests/test_extensions.py +++ b/tests/test_extensions.py @@ -1,3 +1,5 @@ +from typing import Optional + import pytest @@ -101,7 +103,7 @@ def arc_dummy_patch(): ) -def assert_dict_almost_equal(d1: dict, d2: dict, tol: float | None = None): +def assert_dict_almost_equal(d1: dict, d2: dict, tol: Optional[float] = None): """Check if two dictionaries are almost equal. Args: