tests: use print function instead of statement

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2018-10-11 15:14:55 -07:00
parent eb8d64f52b
commit c0c37028e4

View File

@ -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 \