third_party.pylibs.pylint.src/test/input/func_noerror_except_pass.py
2007-02-17 11:00:37 +01:00

12 lines
204 B
Python

"""
#3205: W0704 (except doesn't do anything) false positive if some statements
follow a "pass"
"""
__revision__ = None
try:
A = 2
except ValueError:
pass # pylint: disable-msg=W0107
print A