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

Method tearDown

python/python3/tornado/testing.py:531–539  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

529 return "%s://127.0.0.1:%s%s" % (self.get_protocol(), self.get_http_port(), path)
530
531 def tearDown(self) -> None:
532 self.http_server.stop()
533 self.io_loop.run_sync(
534 self.http_server.close_all_connections, timeout=get_async_test_timeout()
535 )
536 self.http_client.close()
537 del self.http_server
538 del self._app
539 super().tearDown()
540
541
542class AsyncHTTPSTestCase(AsyncHTTPTestCase):

Callers

nothing calls this directly

Calls 5

get_async_test_timeoutFunction · 0.85
run_syncMethod · 0.80
stopMethod · 0.45
closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected