diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-31 20:12:30 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-31 20:12:30 (GMT) |
commit | e92f93fd89107e1e2288a739301f92d14fccb11c (patch) | |
tree | 104e8d3ea18db68e9ad7a249aef2b40cc172e2d6 /test/SideEffect/parallel.py | |
parent | d925ff5bccb8c2a73fdc9e4395ffd4d2a4a3bab1 (diff) | |
download | SCons-e92f93fd89107e1e2288a739301f92d14fccb11c.zip SCons-e92f93fd89107e1e2288a739301f92d14fccb11c.tar.gz SCons-e92f93fd89107e1e2288a739301f92d14fccb11c.tar.bz2 |
py2/3 fix test.read mode='r'
Diffstat (limited to 'test/SideEffect/parallel.py')
-rw-r--r-- | test/SideEffect/parallel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SideEffect/parallel.py b/test/SideEffect/parallel.py index f750903..63538f3 100644 --- a/test/SideEffect/parallel.py +++ b/test/SideEffect/parallel.py @@ -35,7 +35,7 @@ _python_ = TestSCons._python_ test = TestSCons.TestSCons() -test.write('build.py', """\ +test.write('build.py', """ import os import sys import time @@ -93,7 +93,7 @@ log_lines = [ 'g2.in -> g2.out', ] -test.must_contain_all_lines(test.read('log.txt'), log_lines) +test.must_contain_all_lines(test.read('log.txt', mode='r'), log_lines) test.pass_test() |