MCPcopy Create free account
hub / github.com/EasyIME/PIME / tearDown

Method tearDown

python/python3/tornado/test/iostream_test.py:968–975  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

966 raise
967
968 def tearDown(self):
969 if self.server_stream is not None:
970 self.server_stream.close()
971 if self.client_stream is not None:
972 self.client_stream.close()
973 self.io_loop.remove_handler(self.listener.fileno())
974 self.listener.close()
975 super().tearDown()
976
977 def accept(self, connection, address):
978 if self.server_stream is not None:

Callers

nothing calls this directly

Calls 3

closeMethod · 0.45
remove_handlerMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected