1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Ignore misplaced-bare-raise warnings in tests (#119403)

This commit is contained in:
epenet
2024-06-11 17:59:54 +02:00
committed by GitHub
parent 7388271689
commit 9e8f9abbf7

View File

@@ -898,7 +898,7 @@ def fail_on_log_exception(
return
def log_exception(format_err, *args):
raise
raise # pylint: disable=misplaced-bare-raise
monkeypatch.setattr("homeassistant.util.logging.log_exception", log_exception)