def testBindDateArrayBySizes(self):
        returnValue = self.cursor.var(cx_Oracle.NUMBER)
        self.cursor.setinputsizes(p_Array = [cx_Oracle.DATETIME, 10])
        array = [r[1] for r in self.rawData]
        self.cursor.execute("""
                begin
                  :p_ReturnValue := pkg_TestDateArrays.TestInArrays(
                      :p_StartValue, :p_BaseDate, :p_Array);
                end;""",
                p_ReturnValue = returnValue,
                p_StartValue = 6,
                p_BaseDate = cx_Oracle.Date(2002, 12, 13),
                p_Array = array)
        self.failUnlessEqual(returnValue.getvalue(), 26.5)
test binding in a date array (with setinputsizes)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/DateTimeVar.py/TestDateTimeVar.testBindDateArrayBySizes