From c0c37028e4aed1abd83a994b2499339df230cf27 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Thu, 11 Oct 2018 15:14:55 -0700 Subject: [PATCH] tests: use print function instead of statement Signed-off-by: Mihai Tudor Panu --- tests/check_autoloadlibrary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/check_autoloadlibrary.py b/tests/check_autoloadlibrary.py index 4d8b2f91..3a35f119 100755 --- a/tests/check_autoloadlibrary.py +++ b/tests/check_autoloadlibrary.py @@ -1,4 +1,5 @@ #!/usr/bin/python +from __future__ import print_function import unittest as u import re, fnmatch, os @@ -34,7 +35,7 @@ class AutoLoadLibrary(u.TestCase): data = f.read() #Make sure it is module if not '%module' in data: - print "%%module not found in %s, skipping" % fileName + print ("%%module not found in %s, skipping" % fileName) continue # Check for the autoload code or the autoload macro if (not 'JAVA_JNI_LOADLIBRARY(javaupm_' in data) and \