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 DeviceType, Discover, SmartDevice, SmartDeviceException, protocol
from kasa.discover import _DiscoverProtocol
from .conftest import bulb, dimmer, lightstrip, plug, pytestmark, strip
from .conftest import bulb, dimmer, lightstrip, plug, strip
@plug