mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add type hints to core tests (#88478)
This commit is contained in:
@@ -78,7 +78,9 @@ async def test_migrate_log_handler(hass: HomeAssistant) -> None:
|
||||
|
||||
|
||||
@pytest.mark.no_fail_on_log_exception
|
||||
async def test_async_create_catching_coro(hass, caplog):
|
||||
async def test_async_create_catching_coro(
|
||||
hass: HomeAssistant, caplog: pytest.LogCaptureFixture
|
||||
) -> None:
|
||||
"""Test exception logging of wrapped coroutine."""
|
||||
|
||||
async def job():
|
||||
|
||||
Reference in New Issue
Block a user