#NEWLINE# def testBindInOutVarDirectSet( self ) : #NEWLINE# #INDENT# 'test binding in/out with cursor.var() method' #NEWLINE# var = self . cursor . var ( cx_Oracle . INTERVAL ) #NEWLINE# var . setvalue ( 0 , datetime . timedelta ( days = 1 , minutes = 50 ) ) #NEWLINE# self . cursor . execute ( "\n                begin\n                  :value := :value + to_dsinterval('8 05:15:00');\n                end;" , value = var ) #NEWLINE# self . failUnlessEqual ( var . getvalue ( ) , datetime . timedelta ( days = 9 , hours = 6 , minutes = 5 ) )