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

Method tearDown

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

Source from the content-addressed store, hash-verified

40 self.sink = gst.Pad("sink", gst.PAD_SINK)
41
42 def tearDown(self):
43 self.assertEquals(sys.getrefcount(self.src), pygobject_2_13 and 2 or 3)
44 self.assertEquals(self.src.__gstrefcount__, 1)
45 del self.src
46 self.assertEquals(sys.getrefcount(self.sink), pygobject_2_13 and 2 or 3)
47 self.assertEquals(self.sink.__gstrefcount__, 1)
48 del self.sink
49 TestCase.tearDown(self)
50
51 def testNoProbe(self):
52 self.buffer = gst.Buffer()

Callers

nothing calls this directly

Calls 1

tearDownMethod · 0.45

Tested by

no test coverage detected