Home
/
Python 3.11
/
Unittest
/
fail
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Unittest
fail
Python 3.11
Signals a test failure unconditionally, with msg or None for the error message.
Syntax
PYTHON
Copy
fail(msg=None)