def run(self, test):
        "Run the given test case or test suite."
        result = self._makeResult()
        for t in test._tests:
            # get the name of the unit test file name (!!!)
            size = len(sys.argv[0])
            if sys.argv[0].endswith('.py'):
                (filePath,fileName) = os.path.split(sys.argv[0])
                fileName = fileName.split('.')[0]
            else:
                fileName = "%s" % string.split(t._tests[0]._tests[0].__class__ % "%s",'.')[0]
            self._openOutputFile(fileName)
            startTime = time.time()
            t(result)
            stopTime = time.time()
            timeTaken = float(stopTime - startTime)
            self.totalTime += timeTaken
        self._writeReport(result,self.totalTime)
        # ??? this line
        run = result.testsRun
        return result
dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/testrunners/xmlunit/unittest.py/XmlTextTestRunner.run/swapped operands of `%`