<s> """<STR_LIT>""" <EOL> import unittest <EOL> from test . test_support import verbose , import_module <EOL> dl = import_module ( '<STR_LIT>' , deprecated = True ) <EOL> sharedlibs = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> def test_main ( ) : <EOL> for s , func in sharedlibs : <EOL> try : <EOL> if verbose : <EOL> print '<STR_LIT>' , s , <EOL> l = dl . open ( s ) <EOL> except dl . error , err : <EOL> if verbose : <EOL> print '<STR_LIT>' , repr ( str ( err ) ) <EOL> pass <EOL> else : <EOL> if verbose : <EOL> print '<STR_LIT>' , <EOL> l . call ( func ) <EOL> l . close ( ) <EOL> if verbose : <EOL> print '<STR_LIT>' <EOL> break <EOL> else : <EOL> raise unittest . SkipTest , '<STR_LIT>' <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_main ( ) </s>
