def show_log(self): """Show output of testing process.""" if self.output: te = TextEditor(self.output, title=_("Unit testing output"), readonly=True) te.show() te.exec_()
def show_errorlog(self): if self.error_output: editor = TextEditor(self.error_output, title=_("Line profiler output"), readonly=True) # Call .show() to dynamically resize editor; # see spyder-ide/spyder#12202 editor.show() editor.exec_()