def _call_test_results(self, method_name, *args, **kwargs):
        """
        calls the given method on every test results instances

        :param method_name: name of the method to call
        :param args: arguments to pass to the method
        :param kwargs: keyword arguments to pass to the method
        """
        method = operator.methodcaller(method_name, *args, **kwargs)
        for testResult in self.test_results:
            method(testResult)
def _call_test_results ( self , method_name , * args , ** kwargs ) : method = operator . methodcaller ( method_name , * args , ** kwargs ) for testResult in self . test_results : method ( testResult )
calls the given method on every test results instances

        :param method_name: name of the method to call
        :param args: arguments to pass to the method
        :param kwargs: keyword arguments to pass to the method