def test_ast_bad_try():
 cant_compile(u'(try 1 bla)')
 cant_compile(u'(try 1 bla bla)')
 cant_compile(u'(try (do) (else 1) (else 2))')
 cant_compile(u'(try 1 (else 1))')

def test_ast_bad_try ( ) : cant_compile ( u'(try 1 bla)' ) cant_compile ( u'(try 1 bla bla)' ) cant_compile ( u'(try (do) (else 1) (else 2))' ) cant_compile ( u'(try 1 (else 1))' )
make sure ast cant compile invalid try .