summaryrefslogtreecommitdiffstats
path: root/test/SideEffect
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-31 20:12:30 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-31 20:12:30 (GMT)
commite92f93fd89107e1e2288a739301f92d14fccb11c (patch)
tree104e8d3ea18db68e9ad7a249aef2b40cc172e2d6 /test/SideEffect
parentd925ff5bccb8c2a73fdc9e4395ffd4d2a4a3bab1 (diff)
downloadSCons-e92f93fd89107e1e2288a739301f92d14fccb11c.zip
SCons-e92f93fd89107e1e2288a739301f92d14fccb11c.tar.gz
SCons-e92f93fd89107e1e2288a739301f92d14fccb11c.tar.bz2
py2/3 fix test.read mode='r'
Diffstat (limited to 'test/SideEffect')
-rw-r--r--test/SideEffect/parallel.py4
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()