def addSkip(self, test, reason):
        """
        Called when a test is skipped.
        """
        self.currentTestInfo.result = TestInfo.RESULT.SKIPPED
        self.currentTestInfo.reason = reason
        super(XMLTestResult, self).addSkip(test, reason)
def addSkip ( self , test , reason ) : self . currentTestInfo . result = TestInfo . RESULT . SKIPPED self . currentTestInfo . reason = reason super ( XMLTestResult , self ) . addSkip ( test , reason )
Called when a test is skipped.