mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Use builtin TimeoutError [o-s] (#109682)
This commit is contained in:
@ -254,7 +254,7 @@ async def test_do_not_run_forever(
|
||||
"homeassistant.components.shell_command.asyncio.create_subprocess_shell",
|
||||
side_effect=mock_create_subprocess_shell,
|
||||
):
|
||||
with pytest.raises(asyncio.TimeoutError):
|
||||
with pytest.raises(TimeoutError):
|
||||
await hass.services.async_call(
|
||||
shell_command.DOMAIN,
|
||||
"test_service",
|
||||
|
Reference in New Issue
Block a user