Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / regrtest_data / py3k_error_flag.py @ 745

History | View | Annotate | Download (293 Bytes)

1
"""Contains both normal error messages and Python3 porting error messages."""
2
# pylint: disable=bad-builtin, too-few-public-methods
3

    
4
raise Exception, 1  # Error emitted here with the Python 3 checker.
5

    
6

    
7
class Test(object):
8
    """dummy"""
9

    
10
    def __init__(self):
11
        return 42