MCPcopy Index your code
hub / github.com/python/cpython / notifyRunning

Method notifyRunning

Tools/unittestgui/unittestgui.py:363–375  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

361 message=message)
362
363 def notifyRunning(self):
364 self.runCountVar.set(0)
365 self.failCountVar.set(0)
366 self.errorCountVar.set(0)
367 self.remainingCountVar.set(self.totalTests)
368 self.errorInfo = []
369 while self.errorListbox.size():
370 self.errorListbox.delete(0)
371 #Stopping seems not to work, so simply disable the start button
372 #self.stopGoButton.config(command=self.stopClicked, text="Stop")
373 self.stopGoButton.config(state=tk.DISABLED)
374 self.progressBar.setProgressFraction(0.0)
375 self.top.update_idletasks()
376
377 def notifyStopped(self):
378 self.stopGoButton.config(state=tk.DISABLED)

Callers

nothing calls this directly

Calls 6

setProgressFractionMethod · 0.80
update_idletasksMethod · 0.80
setMethod · 0.45
sizeMethod · 0.45
deleteMethod · 0.45
configMethod · 0.45

Tested by

no test coverage detected