third_party.pylibs.pylint.src/pylint/test/regrtest_data/py3k_error_flag.py
Claudiu Popa a51597920b Removed the bad-builtin check
Using some of the builtins is just fine, we don't have to warn
about using filter or map, since it imposes a split opinion,
that can't be easily be agreed with in certain cases, leading to
the disabling of the check. As such, is far more suited to remove
the check.
2016-05-10 16:42:28 +03: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