Remove exit() call, it is no longer needed by the test scripts. (#73)

This commit is contained in:
Jonathan Hui
2016-05-26 11:53:32 -07:00
parent 3bc2809ea9
commit 961fea2c59
3 changed files with 0 additions and 14 deletions
-4
View File
@@ -69,10 +69,6 @@ class Node:
self.pexpect = fdpexpect.fdspawn(os.open(serialPort, os.O_RDWR|os.O_NONBLOCK|os.O_NOCTTY))
def __del__(self):
if self.node_type == 'sim':
self.send_command('shutdown')
self.pexpect.expect('Done')
self.pexpect.terminate()
self.pexpect.close(force=True)