summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 908a0c41866..6951780a6a6 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -379,11 +379,11 @@ def expectedFailureClang(func):
compiler = self.getCompiler()
try:
func(*args, **kwargs)
- except Exception, e:
+ except Exception:
if "clang" in compiler:
raise case._ExpectedFailure(sys.exc_info())
else:
- raise e
+ raise
if "clang" in compiler:
raise case._UnexpectedSuccess
OpenPOWER on IntegriCloud