code: def addUnexpectedSuccess(self, test):
          
          result = self._handle_result(
              test, TestCompletionStatus.unexpected_success)
          self.unexpectedSuccesses.append(result)
docs: Register a test that passed unexpectedly.
  
          Parameters
          ----------
          test : unittest.TestCase
              The test that has completed.