third_party.pylibs.pylint.src/test/input/func_w0701_py_30.py

13 lines
180 B
Python

"""test string exception
"""
__revision__ = ''
def function1():
"""hehehe"""
raise "String Exception"
def function2():
"""hehehe"""
raise 'exception', 'message'