def executeTestFinished(self, test):
        self.remainingCountVar.set(self.remainingCountVar.get() - 1)
        self.runCountVar.set(1 + self.runCountVar.get())
        fractionDone = float(self.runCountVar.get())/float(self.totalTests)
        fillColor = (self.errorCountVar.get() > 0 or self.failCountVar.get() > 0) \
                        and "red" or "darkgreen"
        self.progressBar.setProgressFraction(fractionDone, fillColor)
        soFar = self.runStartTime - time.clock()
        self.averageVar.set(time.strftime("%M:%S", 
                                          time.localtime(soFar / self.runCountVar.get())))
        self.setDisplayStatus(self.currentTestIndex, 'SUCCESS')
        if self.currentTestIndex >= len(self.errorInfo):
            # no error, so pad the error list for this test
            self.errorInfo.append((test,None))
        self.currentTestIndex = self.currentTestIndex + 1
        pass
dataset/ETHPy150Open radekstepan/FlaskBudget/tests_gui.py/EnhancedGUIRunner.executeTestFinished/swapped operands of `-`