pylint_func_call_test.py

download
"""This is a test for Pylint.  

It tests if Pylint can detect invalid number of arguments in functions calls.

"""

__version__  =  "1.0"
__author__   =   "Pierre Rouleau"
__category__ = "Test"


def fct00(): 
    "fct00 has no argument"
    print 'fct00()'

def fct01(arg1):
    "fct01 has one argument"
    fct00(arg1) 

def test():
    "testing the functions: all calls are invalid"
    fct00(1, 2, 3, 4)
    fct01()
    fct01(1, 2)