

def testBindOutSetInputSizes(self):
    'test binding out with set input sizes defined'
    vars = self.cursor.setinputsizes(p_Value=cx_Oracle.DATETIME)
    self.cursor.execute("\n                begin\n                  :p_Value := to_date(20021209, 'YYYYMMDD');\n                end;")
    vars.failUnlessEqual(vars['p_Value'].getvalue(), cx_Oracle.Timestamp(2002, 12, 9))

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cx_Oracle-5.1.2/test/DateTimeVar.py TestDateTimeVar.testBindOutSetInputSizes/VarMisuse@36/104 `self`->`vars`