mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-28 17:46:24 +00:00
Remove unnecessary check for python <3.10 (#1326)
This commit is contained in:
parent
d122b48788
commit
9a52056522
@ -1,6 +1,5 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import sys
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
@ -25,10 +24,6 @@ autooff = parametrize(
|
|||||||
("auto_off_at", "auto_off_at", datetime | None),
|
("auto_off_at", "auto_off_at", datetime | None),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@pytest.mark.skipif(
|
|
||||||
sys.version_info < (3, 10),
|
|
||||||
reason="Subscripted generics cannot be used with class and instance checks",
|
|
||||||
)
|
|
||||||
async def test_autooff_features(
|
async def test_autooff_features(
|
||||||
dev: SmartDevice, feature: str, prop_name: str, type: type
|
dev: SmartDevice, feature: str, prop_name: str, type: type
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user