Parcourir la source

disable irrelevant mypy warning

Fabian Peter Hammerle il y a 8 mois
Parent
commit
ee8c0b82bf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tests/test_actor_base.py

+ 1 - 1
tests/test_actor_base.py

@@ -67,7 +67,7 @@ async def test_execute_command_abstract() -> None:
 
         def _get_device(self) -> switchbot.SwitchbotDevice:
             assert 42
-            return super()._get_device()
+            return super()._get_device()  # type: ignore
 
     with pytest.raises(TypeError) as exc_info:
         # pylint: disable=abstract-class-instantiated