Explorar o código

disable irrelevant mypy warning

Fabian Peter Hammerle hai 4 meses
pai
achega
ee8c0b82bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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