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

@@ -134,10 +134,6 @@ async def handle_turn_on(dev, turn_on):
await dev.turn_off()
# to avoid adding this for each async function separately
pytestmark = pytest.mark.asyncio
def device_for_file(model):
for d in STRIPS:
if d in model: