third_party.pylibs.pylint.src/pylint/test/regrtest_data/py3k_error_flag.py

12 lines
293 B
Python
Raw Normal View History

"""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