Falseのときに、AssertionErrorの例外となる。
以下のように使う。(これは必ずエラーになる例)
assert False, "assert message"
Falseの部分を条件文に変更して使う。
Last updated 2 years ago