From b3d0f2d66a5bf79f66893adcb85b0ac78daf3f65 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 9 Mar 2018 11:47:25 +0000 Subject: tests: Python regression scripts using new print function Change-Id: I92060da4537e4ff1c0ff665f2f6ffc3850c50e88 Signed-off-by: Giacomo Travaglini Reviewed-by: Giacomo Gabrielli Reviewed-on: https://gem5-review.googlesource.com/8892 Reviewed-by: Jason Lowe-Power Reviewed-by: Gabe Black Maintainer: Jason Lowe-Power --- tests/testing/helpers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/testing') diff --git a/tests/testing/helpers.py b/tests/testing/helpers.py index e2f3fbe7d..29c6bf5ea 100755 --- a/tests/testing/helpers.py +++ b/tests/testing/helpers.py @@ -37,6 +37,8 @@ # # Authors: Andreas Sandberg +from __future__ import print_function + import subprocess from threading import Timer import time @@ -187,4 +189,4 @@ if __name__ == "__main__": ignore_list.rules.append(FileIgnoreList.simple("bar.txt")) assert "bar.txt" in ignore_list - print "SUCCESS!" + print("SUCCESS!") -- cgit v1.2.3