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

Method tearDownClass

asyncpg/_testbase/__init__.py:341–347  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

339
340 @classmethod
341 def tearDownClass(cls):
342 super().tearDownClass()
343 for cluster in cls._clusters:
344 if cluster is not _default_cluster:
345 cluster.stop()
346 cluster.destroy()
347 cls._clusters = []
348
349 @classmethod
350 def get_connection_spec(cls, kwargs={}):

Callers

nothing calls this directly

Calls 3

tearDownClassMethod · 0.45
stopMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected