'confirm an exception is raised after closing a cursor'

def testExceptionOnClose(self):

    self.cursor.close()
    self.failUnlessRaises(cx_Oracle.InterfaceError, self.cursor.execute, u'select    1    from    dual')
