From 8d2ea57f0a49038e02d786eb0e0208739c3ca2ad Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Sat, 30 Nov 2024 16:09:40 +0100 Subject: [PATCH] Remove unnecessary check for python <3.10 --- tests/smart/modules/test_autooff.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/smart/modules/test_autooff.py b/tests/smart/modules/test_autooff.py index b8042aa60..9bdf9e564 100644 --- a/tests/smart/modules/test_autooff.py +++ b/tests/smart/modules/test_autooff.py @@ -1,6 +1,5 @@ from __future__ import annotations -import sys from datetime import datetime import pytest @@ -25,10 +24,6 @@ ("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 ):