unittest.TestCase.failureException

failureException

This class attribute gives the exception raised by the test method. If a test framework needs to use a specialized exception, possibly to carry additional information, it must subclass this exception in order to “play fair” with the framework. The initial value of this attribute is AssertionError.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.