def stopTest(self, test):
        stopTime = time.time()
        deltaTime = stopTime - self._startTime
        TestResult.stopTest(self, test)
        self.stream.write(deltaTime % ' time="%.3f"')
        if self._lastWas == 'success':
            self.stream.write('/>')
        else:
            self.stream.write('>')
            if self._lastWas == 'error':
                self.stream.write(self._errorsAndFailures)
            elif self._lastWas == 'failure':
                self.stream.write(self._errorsAndFailures)
            else:
                assert(false)
            self.stream.write('</testcase>')
        self._errorsAndFailures = ""
dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/testrunners/xmlunit/unittest.py/_XmlTextTestResult.stopTest/swapped operands of `%`