summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_raise_return_self.py
blob: 36ce826d3d21495a5b577e6213733439caec36c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""see ticket #5672"""
# pylint: disable=R0903,W0232,C0111,C0103,using-constant-test

__revision__ = 0

class MultiException(Exception):
    def __init__(self):
        Exception.__init__(self)
    def return_self(self):
        return self

# raise Exception
if 1:
    raise MultiException().return_self()