summaryrefslogtreecommitdiff
path: root/test/input/func_noerror_except_pass.py
blob: 5bb8011b1a49e897477729e3076ffb1791f52102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""
#3205: W0704 (except doesn't do anything) false positive if some statements
follow a "pass"
"""
from __future__ import print_function
__revision__ = None

try:
    A = 2
except ValueError:
    pass # pylint: disable=W0107
    print(A)