'test binding out with set input sizes defined'

def testBindOutSetInputSizes(self):

    vars = self.cursor.setinputsizes(value=cx_Oracle.DATETIME)
    self.cursor.execute(u"\n                                                                begin\n                                                                        :value    :=    to_date(20021209,    'YYYYMMDD');\n                                                                end;")
    self.failUnlessEqual(vars['value'].getvalue(), cx_Oracle.Timestamp(2002, 12, 9))
