summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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()
""")