MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / tearDown

Method tearDown

asyncpg/_testbase/__init__.py:368–372  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366 self._pools = []
367
368 def tearDown(self):
369 super().tearDown()
370 for pool in self._pools:
371 pool.terminate()
372 self._pools = []
373
374 def create_pool(self, pool_class=pg_pool.Pool,
375 connection_class=pg_connection.Connection, **kwargs):

Callers

nothing calls this directly

Calls 2

tearDownMethod · 0.45
terminateMethod · 0.45

Tested by

no test coverage detected