[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

@@ -209,8 +209,8 @@ class TestCaseFunction(Function):
)
# Invoke the attributes to trigger storing the traceback
# trial causes some issue there.
excinfo.value
excinfo.traceback
_ = excinfo.value
_ = excinfo.traceback
except TypeError:
try:
try: