From 9a52056522ff33ffc98091ced3496236c1cfc640 Mon Sep 17 00:00:00 2001 From: "Teemu R." Date: Sat, 30 Nov 2024 16:35:38 +0100 Subject: [PATCH] Remove unnecessary check for python <3.10 (#1326) --- 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 b8042aa6..9bdf9e56 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 @@ 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 ):