summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:21:48 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:21:48 (GMT)
commit80aba339e2acac074840aedd0ceb8553ed77d127 (patch)
tree06561dabd3afff6643adf92ec3146b495162669c /test
parent055c8046afce036fdfad4bc8d60e4059da148f7d (diff)
downloadSCons-80aba339e2acac074840aedd0ceb8553ed77d127.zip
SCons-80aba339e2acac074840aedd0ceb8553ed77d127.tar.gz
SCons-80aba339e2acac074840aedd0ceb8553ed77d127.tar.bz2
Remove 'b' from open, not needed py2/3
Diffstat (limited to 'test')
-rw-r--r--test/option--.py2
-rw-r--r--test/option--Q.py2
-rw-r--r--test/option-i.py2
-rw-r--r--test/option-j.py2
-rw-r--r--test/option-k.py2
-rw-r--r--test/option-n.py2
-rw-r--r--test/option-s.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/test/option--.py b/test/option--.py
index 3c932c0..8e06260 100644
--- a/test/option--.py
+++ b/test/option--.py
@@ -34,7 +34,7 @@ test = TestSCons.TestSCons()
test.write('build.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("build.py: %s\n" % sys.argv[1])
file.close()
""")
diff --git a/test/option--Q.py b/test/option--Q.py
index 4322bcd..da6d2e1 100644
--- a/test/option--Q.py
+++ b/test/option--Q.py
@@ -34,7 +34,7 @@ test = TestSCons.TestSCons()
test.write('build.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("build.py: %s\n" % sys.argv[1])
file.close()
""")
diff --git a/test/option-i.py b/test/option-i.py
index b32bd9c..3301bf5 100644
--- a/test/option-i.py
+++ b/test/option-i.py
@@ -34,7 +34,7 @@ test = TestSCons.TestSCons()
test.write('succeed.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("succeed.py: %s\n" % sys.argv[1])
file.close()
sys.exit(0)
diff --git a/test/option-j.py b/test/option-j.py
index 69ef414..acd97f8 100644
--- a/test/option-j.py
+++ b/test/option-j.py
@@ -51,7 +51,7 @@ test = TestSCons.TestSCons()
test.write('build.py', r"""
import time
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write(str(time.time()) + '\n')
time.sleep(1)
file.write(str(time.time()))
diff --git a/test/option-k.py b/test/option-k.py
index a367c65..5cd9be9 100644
--- a/test/option-k.py
+++ b/test/option-k.py
@@ -38,7 +38,7 @@ test.subdir('work1', 'work2', 'work3')
test.write('succeed.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("succeed.py: %s\n" % sys.argv[1])
file.close()
sys.exit(0)
diff --git a/test/option-n.py b/test/option-n.py
index a32dfb7..0fd7bfe 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -52,7 +52,7 @@ test.subdir('build', 'src')
test.write('build.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("build.py: %s\n" % sys.argv[1])
file.close()
""")
diff --git a/test/option-s.py b/test/option-s.py
index f79c347..bbde2d1 100644
--- a/test/option-s.py
+++ b/test/option-s.py
@@ -34,7 +34,7 @@ test = TestSCons.TestSCons()
test.write('build.py', r"""
import sys
-file = open(sys.argv[1], 'wb')
+file = open(sys.argv[1], 'w')
file.write("build.py: %s\n" % sys.argv[1])
file.close()
""")