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

Method tearDown

testsuite/old/test_pad.py:277–286  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

275 self.buffers = []
276
277 def tearDown(self):
278 self.assertEquals(sys.getrefcount(self.src), pygobject_2_13 and 2 or 3)
279 self.assertEquals(self.src.__gstrefcount__, 1)
280 self.src.set_caps(None)
281 del self.src
282 self.assertEquals(sys.getrefcount(self.sink), pygobject_2_13 and 2 or 3)
283 self.assertEquals(self.sink.__gstrefcount__, 1)
284 self.sink.set_caps(None)
285 del self.sink
286 TestCase.tearDown(self)
287
288 def _chain_func(self, pad, buffer):
289 self.buffers.append(buffer)

Callers

nothing calls this directly

Calls 2

set_capsMethod · 0.80
tearDownMethod · 0.45

Tested by

no test coverage detected