def addExpectedFailure(self, test, error, todo=None):
        if todo is None:
            todo = makeTodo(self._DEFAULT_TODO)
        self.expectedFailures.append((test, error, todo))
Converts the value of this instance to its string representation.
dataset/ETHPy150Open twisted/twisted/twisted/trial/reporter.py/TestResult.addExpectedFailure--crossover with--dataset/ETHPy150Open splunk/splunk-ref-pas-code/spikes/googledrive_addon/bin/splunklib/searchcommands/search_command.py/SearchCommand.ConfigurationSettings.__str__