Browse Source

disable irrelevant mypy warning

Fabian Peter Hammerle 4 months ago
parent
commit
ee8c0b82bf
1 changed files with 1 additions and 1 deletions
  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:
         def _get_device(self) -> switchbot.SwitchbotDevice:
             assert 42
             assert 42
-            return super()._get_device()
+            return super()._get_device()  # type: ignore
 
 
     with pytest.raises(TypeError) as exc_info:
     with pytest.raises(TypeError) as exc_info:
         # pylint: disable=abstract-class-instantiated
         # pylint: disable=abstract-class-instantiated