summaryrefslogtreecommitdiff
path: root/tests/functional/w/wrong_exception_operation.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2023-02-01 01:14:32 +0100
committerGitHub <noreply@github.com>2023-02-01 01:14:32 +0100
commit1b5bba4508507da46a38aaea996976660b7ccca1 (patch)
treec32805bc2ce72d7625e32689e4b193e1c6e38cc7 /tests/functional/w/wrong_exception_operation.py
parentc70285dfdfd22668de9cab7a85ef205fafa57aaf (diff)
downloadpylint-git-1b5bba4508507da46a38aaea996976660b7ccca1.tar.gz
Fix issues with new typing Union syntax (Py310) (#8122)
* Fix issues with new typing Union syntax (Py310) * Upgrade astroid to 2.14.1
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: