

def testBindOutDateArrayByVar(self):
    'test binding out a date array (with arrayvar)'
    array = self.cursor.arrayvar(cx_Oracle.DATETIME, 6, 100)
    self.cursor.execute('\n                begin\n                  pkg_TestDateArrays.TestOutArrays(:p_NumElems, :p_Array);\n                end;', p_NumElems=6, p_Array=self)
    self.failUnlessEqual(array.getvalue(), [cx_Oracle.Timestamp(2002, 12, 13, 4, 48, 0), cx_Oracle.Timestamp(2002, 12, 14, 9, 36, 0), cx_Oracle.Timestamp(2002, 12, 15, 14, 24, 0), cx_Oracle.Timestamp(2002, 12, 16, 19, 12, 0), cx_Oracle.Timestamp(2002, 12, 18, 0, 0, 0), cx_Oracle.Timestamp(2002, 12, 19, 4, 48, 0)])

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/DateTimeVar.py TestDateTimeVar.testBindOutDateArrayByVar/VarMisuse@43/114 `array`->`self`