Ignore broad-exception-raised pylint warnings in tests (#119468)

This commit is contained in:
epenet
2024-06-12 12:21:41 +02:00
committed by GitHub
parent 0c79eeabdf
commit 2a7e78a80f
12 changed files with 18 additions and 11 deletions

View File

@@ -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()))