def test_ast_bad_type():
 try:
  hy_compile(u'foo', u'__main__')
  assert (True is False)
 except HyCompileError:
  pass

def test_ast_bad_type ( ) : try : hy_compile ( u'foo' , u'__main__' ) assert ( True is False ) except HyCompileError : pass
make sure ast breakage can happen .