MCPcopy
hub / github.com/aio-libs/aiohttp / tearDown

Method tearDown

tests/test_proxy_connector.py:15–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 asyncio.set_event_loop(None)
14
15 def tearDown(self):
16 # just in case if we have transport close callbacks
17 self.loop.stop()
18 self.loop.run_forever()
19 self.loop.close()
20 gc.collect()
21
22 def _fake_coroutine(self, mock, return_value):
23

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected