MCPcopy Index your code
hub / github.com/RustPython/RustPython / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

90 self.addCleanup(self.loop.close)
91
92 def tearDown(self):
93 # just in case if we have transport close callbacks
94 if not self.loop.is_closed():
95 test_utils.run_briefly(self.loop)
96
97 self.doCleanups()
98 support.gc_collect()
99 super().tearDown()
100
101 def tcp_server(self, server_prog, *,
102 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