mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Ignore misplaced-bare-raise warnings in tests (#119403)
This commit is contained in:
parent
7388271689
commit
9e8f9abbf7
@ -898,7 +898,7 @@ def fail_on_log_exception(
|
|||||||
return
|
return
|
||||||
|
|
||||||
def log_exception(format_err, *args):
|
def log_exception(format_err, *args):
|
||||||
raise
|
raise # pylint: disable=misplaced-bare-raise
|
||||||
|
|
||||||
monkeypatch.setattr("homeassistant.util.logging.log_exception", log_exception)
|
monkeypatch.setattr("homeassistant.util.logging.log_exception", log_exception)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user