MCPcopy
hub / github.com/tornadoweb/tornado / tearDown

Method tearDown

tornado/test/iostream_test.py:1003–1010  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1001 raise
1002
1003 def tearDown(self):
1004 if self.server_stream is not None:
1005 self.server_stream.close()
1006 if self.client_stream is not None:
1007 self.client_stream.close()
1008 self.io_loop.remove_handler(self.listener.fileno())
1009 self.listener.close()
1010 super().tearDown()
1011
1012 def accept(self, connection, address):
1013 if self.server_stream is not None:

Callers 1

tearDownMethod · 0.45

Calls 3

closeMethod · 0.45
remove_handlerMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected