def test_ast_bad_assert():
 cant_compile(u'(assert)')
 cant_compile(u'(assert 1 2 3)')
 cant_compile(u'(assert 1 [1 2] 3)')

def test_ast_bad_assert ( ) : cant_compile ( u'(assert)' ) cant_compile ( u'(assert 1 2 3)' ) cant_compile ( u'(assert 1 [1 2] 3)' )
make sure ast cant compile invalid assert .