Update Python bindings and tests to match the latest API
[babeltrace.git] / tests / bindings / python / bt2 / test_packet.py
index 3ee58a15ac0d5ba9b0dddd665bc436fe8b48d695..51391cfb16ca0bda3e3986df2a5508b1f85c2070 100644 (file)
@@ -9,6 +9,9 @@ class PacketTestCase(unittest.TestCase):
     def setUp(self):
         self._packet = self._create_packet()
 
+    def tearDown(self):
+        del self._packet
+
     def _create_packet(self, with_ph=True, with_pc=True):
         # event header
         eh = bt2.StructureFieldType()
This page took 0.024636 seconds and 4 git commands to generate.