#NEWLINE# def test_zipfile_error( self ) : #NEWLINE# #INDENT# with temp_dir ( ) as script_dir : #NEWLINE# #INDENT# script_name = _make_test_script ( script_dir , 'not_main' ) #NEWLINE# ( zip_name , run_name ) = make_zip_script ( script_dir , 'test_zip' , script_name ) #NEWLINE# msg = ( "can't find '__main__' module in %r" % zip_name ) #NEWLINE# self . _check_import_error ( zip_name , msg )