MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / launch

Function launch

tools/triage_tests.py:332–347  ·  view source on GitHub ↗

Launch the GUI.

(result_images, source)

Source from the content-addressed store, hash-verified

330
331
332def launch(result_images, source):
333 """
334 Launch the GUI.
335 """
336 entries = find_failing_tests(result_images, source)
337
338 if len(entries) == 0:
339 print("No failed tests")
340 sys.exit(0)
341
342 app = QtWidgets.QApplication(sys.argv)
343 dialog = Dialog(entries)
344 dialog.show()
345 filter = EventFilter(dialog)
346 app.installEventFilter(filter)
347 sys.exit(_exec(app))
348
349
350if __name__ == '__main__':

Callers 1

triage_tests.pyFile · 0.85

Calls 5

_execFunction · 0.90
find_failing_testsFunction · 0.85
DialogClass · 0.85
EventFilterClass · 0.85
showMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…