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

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


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