summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:48:07 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:48:07 (GMT)
commit60e00b62a9c494cc9c31e7cb95f65d0c22b9e777 (patch)
treebe011060ac1160da5302e782f7f789725a3c5164
parent5304f2d061f336e7ee6dcc45b07d4271fb6be21f (diff)
downloadSCons-60e00b62a9c494cc9c31e7cb95f65d0c22b9e777.zip
SCons-60e00b62a9c494cc9c31e7cb95f65d0c22b9e777.tar.gz
SCons-60e00b62a9c494cc9c31e7cb95f65d0c22b9e777.tar.bz2
py2/3 fix mode=r for must_match to fix win32
-rw-r--r--test/Command.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Command.py b/test/Command.py
index 49b9117..38aceb5 100644
--- a/test/Command.py
+++ b/test/Command.py
@@ -103,16 +103,16 @@ test.write('f10.in', "f10.in\n")
test.run(arguments = '.')
-test.must_match('f1.out', "f1.in\n")
-test.must_match('f2.out', "f2.in\n")
-test.must_match('f3.out', "f3.in\n")
-test.must_match('f4.out', "sub/f4a\nsub/f4b\nsub/f4c\n")
-test.must_match('f5.out', "XYZZY is set\nf5.in\n")
-test.must_match('f6.out', "f6.in\n")
-test.must_match('f7.out', "f7.in\n")
-test.must_match('f8.out', "f8.in\n")
-test.must_match('f9.out', "f9.in\n")
-test.must_match('f10.out', "f10.in\n")
+test.must_match('f1.out', "f1.in\n", mode='r')
+test.must_match('f2.out', "f2.in\n", mode='r')
+test.must_match('f3.out', "f3.in\n", mode='r')
+test.must_match('f4.out', "sub/f4a\nsub/f4b\nsub/f4c\n", mode='r')
+test.must_match('f5.out', "XYZZY is set\nf5.in\n", mode='r')
+test.must_match('f6.out', "f6.in\n", mode='r')
+test.must_match('f7.out', "f7.in\n", mode='r')
+test.must_match('f8.out', "f8.in\n", mode='r')
+test.must_match('f9.out', "f9.in\n", mode='r')
+test.must_match('f10.out', "f10.in\n", mode='r')
test.pass_test()