开发者社区 问答 正文

python中出现AssertionError(StandardError)是什么意思?

python中出现AssertionError(StandardError)是什么意思?

展开
收起
游客k7rjnht6hbtk6 2021-11-15 17:17:26 304 分享 版权
1 条回答
写回答
取消 提交回答
  • 在 assert 语句失败时被引发(即表达 式为 false 时).

    2021-11-16 15:26:22
    赞同 展开评论