mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
37e6b5c9c2
Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437.
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
|