diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-31 20:14:23 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-31 20:14:23 (GMT) |
commit | 2fd850a8e13529b888cdd7532547bde9b4a8527e (patch) | |
tree | 4c6f788c2d34fe5ef8cb8d22311ab5534c9018e6 /test/RANLIB | |
parent | e92f93fd89107e1e2288a739301f92d14fccb11c (diff) | |
download | SCons-2fd850a8e13529b888cdd7532547bde9b4a8527e.zip SCons-2fd850a8e13529b888cdd7532547bde9b4a8527e.tar.gz SCons-2fd850a8e13529b888cdd7532547bde9b4a8527e.tar.bz2 |
py2/3 fix test.read mode='r', swap fail_test(test.read( with must_match
Diffstat (limited to 'test/RANLIB')
-rw-r--r-- | test/RANLIB/RANLIB.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RANLIB/RANLIB.py b/test/RANLIB/RANLIB.py index 8d64b36..3bcb414 100644 --- a/test/RANLIB/RANLIB.py +++ b/test/RANLIB/RANLIB.py @@ -100,7 +100,7 @@ test.run(arguments = 'b' + _exe, stderr=TestSCons.noisy_ar, match=TestSCons.match_re_dotall) -test.fail_test(test.read('wrapper.out') != "wrapper.py\n") +test.must_match('wrapper.out',"wrapper.py\n", mode='r') test.pass_test() |