summaryrefslogtreecommitdiff
path: root/pylint/test/functional/wrong_exception_operation.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/wrong_exception_operation.py')
-rw-r--r--pylint/test/functional/wrong_exception_operation.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/pylint/test/functional/wrong_exception_operation.py b/pylint/test/functional/wrong_exception_operation.py
deleted file mode 100644
index 1c3c4e380..000000000
--- a/pylint/test/functional/wrong_exception_operation.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# pylint: disable=missing-docstring, superfluous-parens
-
-
-try:
- 1/0
-except (ValueError | TypeError): # [wrong-exception-operation]
- pass
-
-try:
- 1/0
-except (ValueError + TypeError): # [wrong-exception-operation]
- pass
-
-
-try:
- 1/0
-except (ValueError < TypeError): # [wrong-exception-operation]
- pass