Ignore misplaced-bare-raise warnings in tests (#119403)
This commit is contained in:
parent
7388271689
commit
9e8f9abbf7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue