summaryrefslogtreecommitdiffstats
path: root/test/CXX/CXX.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:44:13 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:44:13 (GMT)
commit80691453682f5af7fc863b9a6b7e790005bbb562 (patch)
tree7a22e4957c5cb526a26db5ed6e0b8183188cfdbc /test/CXX/CXX.py
parent462c39afe68bd7e936eb86e094c777242ad9764f (diff)
downloadSCons-80691453682f5af7fc863b9a6b7e790005bbb562.zip
SCons-80691453682f5af7fc863b9a6b7e790005bbb562.tar.gz
SCons-80691453682f5af7fc863b9a6b7e790005bbb562.tar.bz2
Add mode=r (default rb) in test.must_match() py2/3
Diffstat (limited to 'test/CXX/CXX.py')
-rw-r--r--test/CXX/CXX.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py
index 1a07b09..83c4285 100644
--- a/test/CXX/CXX.py
+++ b/test/CXX/CXX.py
@@ -151,15 +151,15 @@ test.write('test5.C++', r"""This is a .C++ file.
test.run(arguments = '.', stderr = None)
-test.must_match('test1' + _exe, "This is a .cc file.\n")
+test.must_match('test1' + _exe, "This is a .cc file.\n", mode='r')
-test.must_match('test2' + _exe, "This is a .cpp file.\n")
+test.must_match('test2' + _exe, "This is a .cpp file.\n", mode='r')
-test.must_match('test3' + _exe, "This is a .cxx file.\n")
+test.must_match('test3' + _exe, "This is a .cxx file.\n", mode='r')
-test.must_match('test4' + _exe, "This is a .c++ file.\n")
+test.must_match('test4' + _exe, "This is a .c++ file.\n", mode='r')
-test.must_match('test5' + _exe, "This is a .C++ file.\n")
+test.must_match('test5' + _exe, "This is a .C++ file.\n", mode='r')
if TestSCons.case_sensitive_suffixes('.c', '.C'):