Skip to content

Commit 08e2330

Browse files
committed
Fix Python 3.8 tests
1 parent c6d82b0 commit 08e2330

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/unit/samples/wiring/module_annotated.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
"""Test module for wiring with Annotated."""
22

3+
import sys
4+
import pytest
5+
6+
if sys.version_info < (3, 9):
7+
pytest.skip("Annotated is only available in Python 3.9+", allow_module_level=True)
8+
39
from decimal import Decimal
410
from typing import Callable, Annotated
511

0 commit comments

Comments
 (0)