MCPcopy Create free account
hub / github.com/GStreamer/gst-python / tearDown

Method tearDown

testsuite/common.py:91–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 self.gctrack()
90
91 def tearDown(self):
92 # don't barf gc info all over the console if we have already failed a
93 # test case
94 if (self._num_failures < len(getattr(self._result, 'failures', []))
95 or self._num_errors < len(getattr(self._result, 'failures', []))):
96 return
97 if detect_leaks:
98 self.gccollect()
99 self.gcverify()
100
101 # override run() to save a reference to the test result object
102 def run(self, result=None):

Callers

nothing calls this directly

Calls 2

gccollectMethod · 0.95
gcverifyMethod · 0.95

Tested by

no test coverage detected