mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
@@ -293,7 +293,7 @@ async def test_get_deconz_session(hass: HomeAssistant) -> None:
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"side_effect, raised_exception",
|
||||
("side_effect", "raised_exception"),
|
||||
[
|
||||
(asyncio.TimeoutError, CannotConnect),
|
||||
(pydeconz.RequestError, CannotConnect),
|
||||
|
||||
Reference in New Issue
Block a user