invokeTestCase{args:wrapArgs(NewCode("f2",[]FunctionArg{{"a",nil}},0,fn)),kwargs:wrapKWArgs("b","bear"),wantExc:mustCreateException(TypeErrorType,"f2() got an unexpected keyword argument 'b'")},
invokeTestCase{args:wrapArgs(NewCode("f2",[]FunctionArg{{"a",nil}},0,fn)),wantExc:mustCreateException(TypeErrorType,"f2() takes at least 1 arguments (0 given)")},
{wantExc:mustCreateException(TypeErrorType,"unbound method __call__() must be called with function instance as first argument (got nothing instead)")},
{wantExc:mustCreateException(TypeErrorType,"unbound method __call__() must be called with function instance as first argument (got nothing instead)")},
{args:wrapArgs(newObject(ObjectType)),wantExc:mustCreateException(TypeErrorType,"unbound method __call__() must be called with function instance as first argument (got object instance instead)")},
{args:wrapArgs(newObject(ObjectType)),wantExc:mustCreateException(TypeErrorType,"unbound method __call__() must be called with function instance as first argument (got object instance instead)")},