ID EN
Unittest

fail

Python 3.11

Signals a test failure unconditionally, with msg or None for the error message.

Syntax

PYTHON
fail(msg=None)