oidZdZdS)cddl}|j} ||i|}|r7td|jtd||nM#|j$r@}t|jdtd|d|d||fdfcYd}~Sd}~wwxYwtdd||f|fS) Nz Connected to:zwhich has tables:z$***Failed getting connection using=  Fz (successful)T)adodbapiconnectprintconnection_stringget_table_namesclose DatabaseErrorargs)verboser kwargsr dbconnectsinsts KC:\PYTHON\Scheduler\python\Lib\site-packages\adodbapi/test/tryconnection.pytry_connectionrs OOO I + It &v & &  < /1#6 7 7 7 %q'8'8':': ; ; ;   !+++ dil HTHHfHHIIItVnd*******+   $ **sAA## B--5B("B-(B-cH ||i|n#|$r}d|fcYd}~Sd}~wxYwdS)NT)Fz$The expected exception did not occur)expected_exception_list some_functionr res r%try_operation_with_expected_exceptionrsZ t&v&&&& "Qw 8 8s N)rrrrrs-+++( 9 9 9 9 9r