Fix pytest warnings about asyncio (#397)

Turn on ayncio auto mode for pytest and remove the global async marking flag
This commit is contained in:
Julian Davis
2022-11-13 22:34:47 +00:00
committed by GitHub
parent 9cb2a56405
commit 866c8d6db5
12 changed files with 9 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ import pytest # type: ignore # https://github.com/pytest-dev/pytest/issues/3342
from kasa import SmartDeviceException
from kasa.smartstrip import SmartStripPlug
from .conftest import handle_turn_on, has_emeter, no_emeter, pytestmark, turn_on
from .conftest import handle_turn_on, has_emeter, no_emeter, turn_on
from .newfakes import PLUG_SCHEMA, TZ_SCHEMA, FakeTransportProtocol