mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-16 19:43:15 +03:00
Fix Python 3.8 tests
This commit is contained in:
parent
c6d82b015e
commit
08e233079f
|
@ -1,5 +1,11 @@
|
|||
"""Test module for wiring with Annotated."""
|
||||
|
||||
import sys
|
||||
import pytest
|
||||
|
||||
if sys.version_info < (3, 9):
|
||||
pytest.skip("Annotated is only available in Python 3.9+", allow_module_level=True)
|
||||
|
||||
from decimal import Decimal
|
||||
from typing import Callable, Annotated
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user