MCPcopy Create free account
hub / github.com/pexpect/pexpect / tearDown

Method tearDown

tests/test_socket.py:97–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 raise SocketServerError("Could not start socket server")
96
97 def tearDown(self):
98 os.kill(self.server_process.pid, signal.SIGINT)
99 self.server_process.join(timeout=5.0)
100 PexpectTestCase.PexpectTestCase.tearDown(self)
101
102 def socket_server(self, server_up):
103 sock = None

Callers

nothing calls this directly

Calls 1

killMethod · 0.45

Tested by

no test coverage detected