From 9011a84a8660e2b79b2b51bc3160f8abc9694c19 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sun, 12 Mar 2017 17:37:41 -0400 Subject: set mode=r and not rb for must_match. py2/3 --- test/CPPSUFFIXES.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/CPPSUFFIXES.py b/test/CPPSUFFIXES.py index 6aa5596..141df29 100644 --- a/test/CPPSUFFIXES.py +++ b/test/CPPSUFFIXES.py @@ -49,6 +49,7 @@ sys.exit(0) """) test.write('SConstruct', """ +DefaultEnvironment(tools=[]) env = Environment(CPPPATH = ['.'], CC = r'%(_python_)s mycc.py', CCFLAGS = [], @@ -94,7 +95,7 @@ test1.h 1 foo.h 1 test1.x 1 foo.h 1 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -112,7 +113,7 @@ test1.h 1 foo.h 2 test1.x 1 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -134,7 +135,7 @@ test1.h 1 foo.h 2 test1.x 2 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -156,7 +157,7 @@ test1.h 2 foo.h 2 test1.x 2 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') -- cgit v0.12