MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

455 self.server_version = self.con.get_server_version()
456
457 def tearDown(self):
458 try:
459 self.loop.run_until_complete(self.con.close())
460 self.con = None
461 finally:
462 super().tearDown()
463
464
465class HotStandbyTestCase(ClusterTestCase):

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected