| Index: test/variables/filelist/gyptest-filelist-golden.py
|
| diff --git a/test/variables/filelist/gyptest-filelist-golden.py b/test/variables/filelist/gyptest-filelist-golden.py
|
| index 55eaf9db46b3b4c20f6ca889bc258ec2585fa294..3ddc6698f8ac79fa8b29c1b3e99bf7b07aaf9eb4 100644
|
| --- a/test/variables/filelist/gyptest-filelist-golden.py
|
| +++ b/test/variables/filelist/gyptest-filelist-golden.py
|
| @@ -8,6 +8,8 @@
|
| Test variable expansion of '<|(list.txt ...)' syntax commands.
|
| """
|
|
|
| +from __future__ import print_function
|
| +
|
| import os
|
| import sys
|
|
|
| @@ -36,14 +38,14 @@ contents = test.read('src/filelist.gypd').replace(
|
| '\r', '').replace('\\\\', '/')
|
| expect = test.read('filelist.gypd.golden').replace('\r', '')
|
| if not test.match(contents, expect):
|
| - print "Unexpected contents of `src/filelist.gypd'"
|
| + print("Unexpected contents of `src/filelist.gypd'")
|
| test.diff(expect, contents, 'src/filelist.gypd ')
|
| test.fail_test()
|
|
|
| contents = test.read('src/names.txt')
|
| expect = 'John\nJacob\nJingleheimer\nSchmidt\n'
|
| if not test.match(contents, expect):
|
| - print "Unexpected contents of `src/names.txt'"
|
| + print("Unexpected contents of `src/names.txt'")
|
| test.diff(expect, contents, 'src/names.txt ')
|
| test.fail_test()
|
|
|
|
|