summaryrefslogtreecommitdiffstats
path: root/test/SConscript
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 15:02:49 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 15:02:49 (GMT)
commit3fbb32bee52efaafff0109ade4533ea84b194eec (patch)
tree1d0f23412abf8dcf38513c54410a3bf78ba4f54e /test/SConscript
parent9d977ce28597968f92929d708d56b10a58a35041 (diff)
parent5c8b6da1dbbe718939c70dc926cb160f758ed9f7 (diff)
downloadSCons-3fbb32bee52efaafff0109ade4533ea84b194eec.zip
SCons-3fbb32bee52efaafff0109ade4533ea84b194eec.tar.gz
SCons-3fbb32bee52efaafff0109ade4533ea84b194eec.tar.bz2
Merged in rodrigc/scons (pull request #409)
Remove 'U' flag to open()
Diffstat (limited to 'test/SConscript')
-rw-r--r--test/SConscript/SConscriptChdir.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/SConscript/SConscriptChdir.py b/test/SConscript/SConscriptChdir.py
index 4c55844..211d55b 100644
--- a/test/SConscript/SConscriptChdir.py
+++ b/test/SConscript/SConscriptChdir.py
@@ -44,27 +44,27 @@ SConscript('dir5/SConscript')
""")
test.write(['dir1', 'SConscript'], """
-exec(open("create_test.py", 'rU').read())
+exec(open("create_test.py", 'r').read())
""")
test.write(['dir2', 'SConscript'], """
-exec(open("create_test.py", 'rU').read())
+exec(open("create_test.py", 'r').read())
""")
test.write(['dir3', 'SConscript'], """
import os.path
name = os.path.join('dir3', 'create_test.py')
-exec(open(name, 'rU').read())
+exec(open(name, 'r').read())
""")
test.write(['dir4', 'SConscript'], """
-exec(open("create_test.py", 'rU').read())
+exec(open("create_test.py", 'r').read())
""")
test.write(['dir5', 'SConscript'], """
import os.path
name = os.path.join('dir5', 'create_test.py')
-exec(open(name, 'rU').read())
+exec(open(name, 'r').read())
""")
for dir in ['dir1', 'dir2', 'dir3','dir4', 'dir5']: