mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
tests: use print function instead of statement
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
eb8d64f52b
commit
c0c37028e4
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import unittest as u
|
import unittest as u
|
||||||
import re, fnmatch, os
|
import re, fnmatch, os
|
||||||
@ -34,7 +35,7 @@ class AutoLoadLibrary(u.TestCase):
|
|||||||
data = f.read()
|
data = f.read()
|
||||||
#Make sure it is module
|
#Make sure it is module
|
||||||
if not '%module' in data:
|
if not '%module' in data:
|
||||||
print "%%module not found in %s, skipping" % fileName
|
print ("%%module not found in %s, skipping" % fileName)
|
||||||
continue
|
continue
|
||||||
# Check for the autoload code or the autoload macro
|
# Check for the autoload code or the autoload macro
|
||||||
if (not 'JAVA_JNI_LOADLIBRARY(javaupm_' in data) and \
|
if (not 'JAVA_JNI_LOADLIBRARY(javaupm_' in data) and \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user