summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/expression/TestExpressionCmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/expression/TestExpressionCmd.py')
-rw-r--r--lldb/test/benchmarks/expression/TestExpressionCmd.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/benchmarks/expression/TestExpressionCmd.py b/lldb/test/benchmarks/expression/TestExpressionCmd.py
index aa7b03f2ffb..b6c9d912cf8 100644
--- a/lldb/test/benchmarks/expression/TestExpressionCmd.py
+++ b/lldb/test/benchmarks/expression/TestExpressionCmd.py
@@ -1,5 +1,7 @@
"""Test lldb's expression evaluations and collect statistics."""
+from __future__ import print_function
+
import lldb_shared
import os, sys
@@ -25,9 +27,9 @@ class ExpressionEvaluationCase(BenchBase):
self.build()
self.exe_name = 'a.out'
- print
+ print()
self.run_lldb_repeated_exprs(self.exe_name, self.count)
- print "lldb expr cmd benchmark:", self.stopwatch
+ print("lldb expr cmd benchmark:", self.stopwatch)
def run_lldb_repeated_exprs(self, exe_name, count):
import pexpect
OpenPOWER on IntegriCloud