def test_ast_good_assert():
 can_compile(u'(assert 1)')
 can_compile(u'(assert 1 "Assert label")')
 can_compile(u'(assert 1 (+ "spam " "eggs"))')
 can_compile(u'(assert 1 12345)')
 can_compile(u'(assert 1 None)')
 can_compile(u'(assert 1 (+ 2 "incoming eggsception"))')

def test_ast_good_assert ( ) : can_compile ( u'(assert 1)' ) can_compile ( u'(assert 1 "Assert label")' ) can_compile ( u'(assert 1 (+ "spam " "eggs"))' ) can_compile ( u'(assert 1 12345)' ) can_compile ( u'(assert 1 None)' ) can_compile ( u'(assert 1 (+ 2 "incoming eggsception"))' )
make sure ast can compile valid asserts .