summaryrefslogtreecommitdiff
path: root/tests/functional/b/broad_except.py
blob: 24c8399515796139ec185d8582ee15bab90e16a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pylint: disable=missing-docstring
from __future__ import print_function
__revision__ = 0

try:
    __revision__ += 1
except Exception: # [broad-except]
    print('error')


try:
    __revision__ += 1
except BaseException: # [broad-except]
    print('error')