Home
/
Python 3.11
/
Unittest
/
assertTrue
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Unittest
assertTrue
Python 3.11
Test that expr is true (or false).
Syntax
PYTHON
Copy
assertTrue(expr, msg=None)