MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

Lib/test/test_asyncio/test_ssl.py:93–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 self.addCleanup(self.loop.close)
92
93 def tearDown(self):
94 # just in case if we have transport close callbacks
95 if not self.loop.is_closed():
96 test_utils.run_briefly(self.loop)
97
98 self.doCleanups()
99 support.gc_collect()
100 super().tearDown()
101
102 def tcp_server(self, server_prog, *,
103 family=socket.AF_INET,

Callers

nothing calls this directly

Calls 4

superClass · 0.85
run_brieflyMethod · 0.80
doCleanupsMethod · 0.80
is_closedMethod · 0.45

Tested by

no test coverage detected