Skip to content

Commit

Permalink
🚨 Fix use of annotations incompatible with py3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Sep 10, 2024
1 parent 8082f1f commit d10bbb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_extensions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Optional

import pytest


Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d10bbb1

Please sign in to comment.