From 2fd850a8e13529b888cdd7532547bde9b4a8527e Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 31 Mar 2017 16:14:23 -0400 Subject: py2/3 fix test.read mode='r', swap fail_test(test.read( with must_match --- test/RANLIB/RANLIB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12