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

Method setProgressFraction

Tools/unittestgui/unittestgui.py:446–450  ·  view source on GitHub ↗
(self, fraction, color='blue')

Source from the content-addressed store, hash-verified

444 self.setProgressFraction(0.0)
445
446 def setProgressFraction(self, fraction, color='blue'):
447 self.fraction = fraction
448 self.color = color
449 self.paint()
450 self.canvas.update_idletasks()
451
452 def paint(self, *args):
453 totalWidth = self.canvas.winfo_width()

Callers 4

__init__Method · 0.95
notifyTestsDiscoveredMethod · 0.80
notifyRunningMethod · 0.80
notifyTestFinishedMethod · 0.80

Calls 2

paintMethod · 0.95
update_idletasksMethod · 0.80

Tested by

no test coverage detected