<s> """<STR_LIT>""" <EOL> from test . test_support import check_syntax <EOL> import warnings <EOL> warnings . filterwarnings ( "<STR_LIT:error>" , module = "<STR_LIT>" ) <EOL> def compile_and_check ( text , should_fail = <NUM_LIT:1> ) : <EOL> try : <EOL> compile ( text , "<STR_LIT>" , "<STR_LIT>" ) <EOL> except SyntaxError , msg : <EOL> if should_fail : <EOL> print "<STR_LIT>" <EOL> else : <EOL> print "<STR_LIT>" , text <EOL> else : <EOL> if should_fail : <EOL> print "<STR_LIT>" , text <EOL> else : <EOL> print "<STR_LIT>" <EOL> prog_text_1 = """<STR_LIT>""" <EOL> compile_and_check ( prog_text_1 ) <EOL> prog_text_2 = """<STR_LIT>""" <EOL> compile_and_check ( prog_text_2 ) <EOL> prog_text_3 = """<STR_LIT>""" <EOL> compile_and_check ( prog_text_3 ) <EOL> prog_text_4 = """<STR_LIT>""" <EOL> compile_and_check ( prog_text_4 , <NUM_LIT:0> ) </s>
