<s> """<STR_LIT>""" <EOL> from test . support import run_unittest , check_syntax_error , check_warnings <EOL> import unittest <EOL> import warnings <EOL> class GlobalTests ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . _warnings_manager = check_warnings ( ) <EOL> self . _warnings_manager . __enter__ ( ) <EOL> warnings . filterwarnings ( "<STR_LIT:error>" , module = "<STR_LIT>" ) <EOL> def tearDown ( self ) : <EOL> self . _warnings_manager . __exit__ ( None , None , None ) <EOL> def test1 ( self ) : <EOL> prog_text_1 = """<STR_LIT>""" <EOL> check_syntax_error ( self , prog_text_1 ) <EOL> def test2 ( self ) : <EOL> prog_text_2 = """<STR_LIT>""" <EOL> check_syntax_error ( self , prog_text_2 ) <EOL> def test3 ( self ) : <EOL> prog_text_3 = """<STR_LIT>""" <EOL> check_syntax_error ( self , prog_text_3 ) <EOL> def test4 ( self ) : <EOL> prog_text_4 = """<STR_LIT>""" <EOL> compile ( prog_text_4 , "<STR_LIT>" , "<STR_LIT>" ) <EOL> def test_main ( ) : <EOL> with warnings . catch_warnings ( ) : <EOL> warnings . filterwarnings ( "<STR_LIT:error>" , module = "<STR_LIT>" ) <EOL> run_unittest ( GlobalTests ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test_main ( ) </s>
