[flake8-bugbear] Fix all the useless expressions that are justified
This commit is contained in:
@@ -170,9 +170,9 @@ class ErrorsHelper:
|
||||
def test_helper_failures() -> None:
|
||||
helper = ErrorsHelper()
|
||||
with pytest.raises(Exception):
|
||||
helper.raise_exception
|
||||
_ = helper.raise_exception
|
||||
with pytest.raises(OutcomeException):
|
||||
helper.raise_fail_outcome
|
||||
_ = helper.raise_fail_outcome
|
||||
|
||||
|
||||
def test_safe_getattr() -> None:
|
||||
|
||||
Reference in New Issue
Block a user