Esempio n. 1
0
 def _close(self):
     """Extend EditorWindow._close(), shut down debugger and execution server"""
     self.close_debugger()
     if use_subprocess:
         self.interp.kill_subprocess()
     sys.stdout = self.save_stdout
     sys.stderr = self.save_stderr
     sys.stdin = self.save_stdin
     self.interp = None
     self.console = None
     self.flist.pyshell = None
     self.history = None
     EditorWindow._close(self)
Esempio n. 2
0
 def test_init(self):
     ew = EditorWindow(root=self.root)
     sb = runscript.ScriptBinding(ew)
     ew._close()
Esempio n. 3
0
 def test_init(self):
     ew = EditorWindow(root=self.root)
     sb = runscript.ScriptBinding(ew)
     ew._close()
Esempio n. 4
0
 def _close(self):
     """Extend base method - clear breaks when module is closed"""
     self.clear_file_breaks()
     EditorWindow._close(self)