mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
12 lines
293 B
Python
12 lines
293 B
Python
|
"""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
|