python: fix all 'is assigned to but never used' warnings
[babeltrace.git] / tests / bindings / python / bt2 / test_trace_class.py
index d8f60143fb01c18e3f65ebc98d833c8f4e59b2cb..168ae86367992d7a61a7ea5837ce7ad0cc0eeb0c 100644 (file)
@@ -82,7 +82,7 @@ class TraceClassTestCase(unittest.TestCase):
         self.assertTrue(tc.assigns_automatic_stream_class_id)
 
         with self.assertRaises(ValueError):
-            sc1 = tc.create_stream_class(23)
+            tc.create_stream_class(23)
 
     def test_no_assigns_automatic_stream_class_id(self):
         def f(comp_self):
This page took 0.023 seconds and 4 git commands to generate.