def test_ast_invalid_unary_op():
 cant_compile(u'(not 2 3 4)')
 cant_compile(u'(not)')
 cant_compile(u'(not 2 3 4)')
 cant_compile(u'(~ 2 2 3 4)')
 cant_compile(u'(~)')

def test_ast_invalid_unary_op ( ) : cant_compile ( u'(not 2 3 4)' ) cant_compile ( u'(not)' ) cant_compile ( u'(not 2 3 4)' ) cant_compile ( u'(~ 2 2 3 4)' ) cant_compile ( u'(~)' )
make sure ast cant compile invalid unary operator .