def test_cx_Oracle():
 if (('ORACLE_HOME' not in os.environ) and ('ORACLE_INSTANTCLIENT_HOME' not in os.environ)):
  raise SkipTest
 try:
  import cx_Oracle
  return
 except ImportError as ex:
  if ('No module named' in ex.message):
   assert_true(False, 'cx_Oracle skipped its build. This happens if env var ORACLE_HOME or ORACLE_INSTANTCLIENT_HOME is not defined. So ignore this test failure if your build does not need to work with an oracle backend.')

def test_cx_Oracle ( ) : if ( ( 'ORACLE_HOME' not in os . environ ) and ( 'ORACLE_INSTANTCLIENT_HOME' not in os . environ ) ) : raise SkipTest try : import cx_Oracle return except ImportError as ex : if ( 'No module named' in ex . message ) : assert_true ( False , 'cx_Oracle skipped its build. This happens if env var ORACLE_HOME or ORACLE_INSTANTCLIENT_HOME is not defined. So ignore this test failure if your build does not need to work with an oracle backend.' )
tests that cx_oracle is built correctly .