mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Ignore broad-exception-raised pylint warnings in tests (#119468)
This commit is contained in:
@@ -80,6 +80,7 @@ async def test_async_create_catching_coro(
|
||||
"""Test exception logging of wrapped coroutine."""
|
||||
|
||||
async def job():
|
||||
# pylint: disable-next=broad-exception-raised
|
||||
raise Exception("This is a bad coroutine")
|
||||
|
||||
hass.async_create_task(logging_util.async_create_catching_coro(job()))
|
||||
|
||||
Reference in New Issue
Block a user