try: assert 1 == 2 except AssertionError: print('断言错误') except Exception: print('出错了')