summaryrefslogtreecommitdiff
path: root/pylint/test/regrtest_data/py3k_error_flag.py
blob: c12d250266ed947592797bdfb2ba968caa21982a (plain)
1
2
3
4
5
6
7
8
9
10
11
"""Contains both normal error messages and Python3 porting error messages."""
# pylint: disable=bad-builtin, too-few-public-methods

raise Exception, 1  # Error emitted here with the Python 3 checker.


class Test(object):
    """dummy"""

    def __init__(self):
        return 42