third_party.pylibs.pylint.src/tests/regrtest_data/py3k_error_flag.py
2019-06-20 10:02:14 +02:00

12 lines
280 B
Python

"""Contains both normal error messages and Python3 porting error messages."""
# pylint: disable=too-few-public-methods
raise Exception, 1 # Error emitted here with the Python 3 checker.
class Test(object):
"""dummy"""
def __init__(self):
return 42