summaryrefslogtreecommitdiff
path: root/test/Command.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 18:48:07 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 18:48:07 -0400
commit721d89d7df5b915cb036aa5adfcf979158baf82e (patch)
treebe011060ac1160da5302e782f7f789725a3c5164 /test/Command.py
parent2a784f5f90aaa6fa0677f03dd80cb26fbd050f18 (diff)
downloadscons-721d89d7df5b915cb036aa5adfcf979158baf82e.tar.gz
py2/3 fix mode=r for must_match to fix win32
Diffstat (limited to 'test/Command.py')
-rw-r--r--test/Command.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Command.py b/test/Command.py
index 49b9117d..38aceb58 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()