| Index: test/lib/TestMac.py
|
| diff --git a/test/lib/TestMac.py b/test/lib/TestMac.py
|
| index 68605d77b1957e01dcafe3d1aa95071c5343ce54..eec7250ae73d3c0fb563e5c2c4b570e8e8129db3 100644
|
| --- a/test/lib/TestMac.py
|
| +++ b/test/lib/TestMac.py
|
| @@ -6,6 +6,8 @@
|
| TestMac.py: a collection of helper function shared between test on Mac OS X.
|
| """
|
|
|
| +from __future__ import print_function
|
| +
|
| import re
|
| import subprocess
|
|
|
| @@ -23,13 +25,13 @@ def CheckFileType(test, file, archs):
|
| pattern = re.compile('^Architectures in the fat file: (.*) are: (.*)$')
|
| match = pattern.match(o)
|
| if match is None:
|
| - print 'Ouput does not match expected pattern: %s' % (pattern.pattern)
|
| + print('Ouput does not match expected pattern: %s' % (pattern.pattern))
|
| test.fail_test()
|
| else:
|
| found_file, found_archs = match.groups()
|
| if found_file != file or set(found_archs.split()) != set(archs):
|
| - print 'Expected file %s with arch %s, got %s with arch %s' % (
|
| - file, ' '.join(archs), found_file, found_archs)
|
| + print('Expected file %s with arch %s, got %s with arch %s' % (
|
| + file, ' '.join(archs), found_file, found_archs))
|
| test.fail_test()
|
|
|
|
|
|
|