MCPcopy
hub / github.com/django/django / tearDownClass

Method tearDownClass

django/test/testcases.py:1139–1143  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1137
1138 @classmethod
1139 def tearDownClass(cls):
1140 super().tearDownClass()
1141 if not issubclass(cls, TestCase) and cls._available_apps_calls_balanced > 0:
1142 apps.unset_available_apps()
1143 cls._available_apps_calls_balanced -= 1
1144
1145 @classmethod
1146 def _pre_setup(cls):

Callers

nothing calls this directly

Calls 2

unset_available_appsMethod · 0.80
tearDownClassMethod · 0.45

Tested by

no test coverage detected