ID EN
Unittest

assertNotEqual

Python 3.11

Test that first and second are not equal. If the values do compare equal, the test will fail.

Syntax

PYTHON
assertNotEqual(first, second, msg=None)