'test binding in a number array (with setinputsizes)'

def testBindNumberArrayBySizes(self):

    returnValue = self.cursor.var(cx_Oracle.NUMBER)
    self.cursor.setinputsizes(array=[cx_Oracle.NUMBER, 10])
    array = [r[1] for r in self.rawData]
    self.cursor.execute(u'\n                                                                begin\n                                                                        :returnValue    :=    pkg_TestNumberArrays.TestInArrays(\n                                                                                        :startValue,    :array);\n                                                                end;', returnValue=returnValue, startValue=6, array=array)
    self.failUnlessEqual(returnValue.getvalue(), 74.75)
