Remove unnecessary check for python <3.10 (#1326)

This commit is contained in:
Teemu R. 2024-11-30 16:35:38 +01:00 committed by GitHub
parent d122b48788
commit 9a52056522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
from __future__ import annotations
import sys
from datetime import datetime
import pytest
@ -25,10 +24,6 @@ autooff = parametrize(
("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(
dev: SmartDevice, feature: str, prop_name: str, type: type
):