PyDocs

Nav

Development Tools

TestResult.addSubTest

unittest

method of TestResult · Added in 3.4 (source)
  • TestResult.addSubTest(test, subtest, outcome)
Called at the end of a subtest.
'err' is None if the subtest ended successfully, otherwise it's a
tuple of values as returned by sys.exc_info().
0 Examples
No examples for unittest/TestResult.addSubTest.
See Also
No see-alsos for unittest/TestResult.addSubTest
0 Notes
No notes for TestResult.addSubTest