summaryrefslogtreecommitdiff
path: root/tests/functional/w/wrong_exception_operation.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/w/wrong_exception_operation.py')
-rw-r--r--tests/functional/w/wrong_exception_operation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/w/wrong_exception_operation.py b/tests/functional/w/wrong_exception_operation.py
index 1c3c4e380..8078573c4 100644
--- a/tests/functional/w/wrong_exception_operation.py
+++ b/tests/functional/w/wrong_exception_operation.py
@@ -3,7 +3,7 @@
try:
1/0
-except (ValueError | TypeError): # [wrong-exception-operation]
+except (ValueError | TypeError): # [catching-non-exception,wrong-exception-operation]
pass
try: