From df9475bad66f2d96584a84193640a58ff7345a43 Mon Sep 17 00:00:00 2001 From: Bin Zhou Date: Thu, 7 Jul 2016 12:14:31 +0800 Subject: [PATCH] Correct reraising of exception when an exception was caught and rethrown, it should call 'raise' without any arguments. Change-Id: Ifedddb352910f8c499c0ca36c2377567c59c1de5 --- tempest/stress/actions/unit_test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tempest/stress/actions/unit_test.py b/tempest/stress/actions/unit_test.py index 3b27885718..e016c61089 100644 --- a/tempest/stress/actions/unit_test.py +++ b/tempest/stress/actions/unit_test.py @@ -80,8 +80,6 @@ class UnitTest(stressaction.StressAction): try: self.run_core() - except Exception as e: - raise e finally: if (CONF.stress.leave_dirty_stack is False and self.class_setup_per == SetUpClassRunTime.action):