summaryrefslogtreecommitdiffstats
path: root/test/Requires
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-11 04:42:12 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-11 04:42:12 (GMT)
commit4e9cc49ad30d0055856868ae9b1c8a6047ca1ca8 (patch)
treeabc9094d33043df8b0ec93922f167769df6c53a0 /test/Requires
parent0bf5d6c1d813096e28e8975d9a1276ccbd75ff62 (diff)
downloadSCons-4e9cc49ad30d0055856868ae9b1c8a6047ca1ca8.zip
SCons-4e9cc49ad30d0055856868ae9b1c8a6047ca1ca8.tar.gz
SCons-4e9cc49ad30d0055856868ae9b1c8a6047ca1ca8.tar.bz2
remove rb/wb from file opens, not needed py2/3.
Diffstat (limited to 'test/Requires')
-rw-r--r--test/Requires/eval-order.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Requires/eval-order.py b/test/Requires/eval-order.py
index 51539a2..8600221 100644
--- a/test/Requires/eval-order.py
+++ b/test/Requires/eval-order.py
@@ -34,11 +34,11 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
def copy_and_create_func(target, source, env):
- fp = open(str(target[0]), 'wb')
+ fp = open(str(target[0]), 'w')
for s in source:
- fp.write(open(str(s), 'rb').read())
+ fp.write(open(str(s), 'r').read())
fp.close()
- open('file.in', 'wb').write("file.in 1\\n")
+ open('file.in', 'w').write("file.in 1\\n")
return None
copy_and_create = Action(copy_and_create_func)
env = Environment()