def run(self, config=None):
        resultset = {constants.PASSED:0, constants.FAILED:0,
                constants.EXPECTED_FAIL:0, constants.INCOMPLETE:0}
        for argset in self._counter:
            kwargs = self._sig.get_keyword_arguments(argset)
            # kwargs also contains non-keyword args, but python maps them to
            # positional args anyway.
            if self._filter(**kwargs):
                entry = TestEntry(self.inst, (), kwargs)
                entryresult = entry.run()
                resultset[int(entryresult)] += 1
        if resultset[constants.FAILED] > 0:
            self.result = TestResult(constants.FAILED)
        elif resultset[constants.INCOMPLETE] > 0:
            self.result = TestResult(constants.INCOMPLETE)
        elif resultset[constants.PASSED] > 0:
            self.result = TestResult(constants.PASSED)
        return self.result
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/core.py/TestEntrySeries.run/original