[flake8-bugbear] Fix all the useless expressions that are justified

This commit is contained in:
Pierre Sassoulas
2024-02-02 21:13:43 +01:00
parent fcb818b73c
commit 52fba25ff9
8 changed files with 15 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ class TestMark:
def test_pytest_mark_name_starts_with_underscore(self) -> None:
mark = MarkGenerator(_ispytest=True)
with pytest.raises(AttributeError):
mark._some_name
_ = mark._some_name
def test_marked_class_run_twice(pytester: Pytester) -> None: