Skip to content

Commit

Permalink
Fix 3.10 test
Browse files Browse the repository at this point in the history
  • Loading branch information
augray committed Dec 17, 2024
1 parent c3283dd commit 7f3748d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sematic/tests/test_3_10_function.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

# Third-party
import pytest

Expand All @@ -6,6 +8,7 @@
from sematic.runners.silent_runner import SilentRunner


@pytest.mark.skipif(sys.version_info < (3, 10), reason="Requires python >=3.10")
def test_decorator_3_10_style_hints():
@func
def f(a: list[int], b: dict[str, str]) -> int | float:
Expand Down

0 comments on commit 7f3748d

Please sign in to comment.