def test_ast_bad_defclass():
 cant_compile(u'(defclass)')
 cant_compile(u'(defclass a None)')
 cant_compile(u'(defclass a None None)')

def test_ast_bad_defclass ( ) : cant_compile ( u'(defclass)' ) cant_compile ( u'(defclass a None)' ) cant_compile ( u'(defclass a None None)' )
make sure ast cant compile invalid defclass .