コード例 #1
0
ファイル: unittestgui.py プロジェクト: xxyqsy/spyder-unittest
 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_()
コード例 #2
0
 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_()