python: fix all 'is assigned to but never used' warnings
[babeltrace.git] / tests / bindings / python / bt2 / test_error.py
index 11328db7b1814e427dd56b3123028e4baa866866..2a2703b6f591aa4fc46a2795999d67b4581ef9e6 100644 (file)
@@ -88,7 +88,7 @@ class ErrorTestCase(unittest.TestCase):
     def test_current_thread_error_none(self):
         # When a bt2._Error is raised, it steals the current thread's error.
         # Verify that it is now NULL.
-        exc = self._run_failing_graph(SourceWithFailingInit, WorkingSink)
+        self._run_failing_graph(SourceWithFailingInit, WorkingSink)
         self.assertIsNone(native_bt.current_thread_take_error())
 
     def test_len(self):
This page took 0.026398 seconds and 4 git commands to generate.