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

Function main

Tools/unittestgui/unittestgui.py:465–470  ·  view source on GitHub ↗
(initialTestName="")

Source from the content-addressed store, hash-verified

463 text=percentString)
464
465def main(initialTestName=""):
466 root = tk.Tk()
467 root.title("PyUnit")
468 runner = TkTestRunner(root, initialTestName)
469 root.protocol('WM_DELETE_WINDOW', root.quit)
470 root.mainloop()
471
472
473if __name__ == '__main__':

Callers 15

test_tabnanny.pyFile · 0.90
test_typing.pyFile · 0.90
autocomplete_w.pyFile · 0.90
config.pyFile · 0.90
codecontext.pyFile · 0.90
run.pyFile · 0.90
statusbar.pyFile · 0.90
debugger.pyFile · 0.90
calltip_w.pyFile · 0.90
pathbrowser.pyFile · 0.90
pyparse.pyFile · 0.90
configdialog.pyFile · 0.90

Calls 4

TkTestRunnerClass · 0.85
protocolMethod · 0.80
titleMethod · 0.45
mainloopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…