mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +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
|
||||
|
||||
def log_exception(format_err, *args):
|
||||
raise
|
||||
raise # pylint: disable=misplaced-bare-raise
|
||||
|
||||
monkeypatch.setattr("homeassistant.util.logging.log_exception", log_exception)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user