def test_ast_bad_assoc():
 cant_compile(u'(assoc)')
 cant_compile(u'(assoc 1)')
 cant_compile(u'(assoc 1 2)')
 cant_compile(u'(assoc 1 2 3 4)')

def test_ast_bad_assoc ( ) : cant_compile ( u'(assoc)' ) cant_compile ( u'(assoc 1)' ) cant_compile ( u'(assoc 1 2)' ) cant_compile ( u'(assoc 1 2 3 4)' )
make sure ast cant compile invalid assoc .