PyDocs

Nav

Development Tools

TestCase.longMessage

unittest

attribute of TestCase · Added in 3.1
This class attribute determines what happens when a custom failure message is passed as the msg argument to an assertXYY call that fails. True is the default value. In this case, the custom message is appended to the end of the standard failure message. When set to False, the custom message replaces the standard message.
0 Examples
No examples for unittest/TestCase.longMessage.
See Also
No see-alsos for unittest/TestCase.longMessage
0 Notes
No notes for TestCase.longMessage