mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Update tests/test_block_async_io.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
@@ -18,7 +18,8 @@ from .common import extract_stack_to_frame
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def unpatch_block_async_io(disable_block_async_io_after):
|
||||
@pytest.mark.usefixtures("disable_block_async_io")
|
||||
def disable_block_async_io():
|
||||
"""Unpatch block_async_io after each test."""
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user