MCPcopy Create free account
hub / github.com/ipython/ipython / cleanup

Method cleanup

IPython/testing/iptestcontroller.py:104–108  ·  view source on GitHub ↗

Kill process if it's still alive, and clean up temporary directories

(self)

Source from the content-addressed store, hash-verified

102 print('... failed. Manual cleanup may be required.')
103
104 def cleanup(self):
105 "Kill process if it's still alive, and clean up temporary directories"
106 self.cleanup_process()
107 for td in self.dirs:
108 td.cleanup()
109
110 __del__ = cleanup
111

Callers 2

cleanupMethod · 0.45
do_runFunction · 0.45

Calls 1

cleanup_processMethod · 0.95

Tested by

no test coverage detected