diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 12:21:48 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 12:21:48 (GMT) |
commit | 80aba339e2acac074840aedd0ceb8553ed77d127 (patch) | |
tree | 06561dabd3afff6643adf92ec3146b495162669c | |
parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
download | SCons-80aba339e2acac074840aedd0ceb8553ed77d127.zip SCons-80aba339e2acac074840aedd0ceb8553ed77d127.tar.gz SCons-80aba339e2acac074840aedd0ceb8553ed77d127.tar.bz2 |
Remove 'b' from open, not needed py2/3
-rw-r--r-- | test/option--.py | 2 | ||||
-rw-r--r-- | test/option--Q.py | 2 | ||||
-rw-r--r-- | test/option-i.py | 2 | ||||
-rw-r--r-- | test/option-j.py | 2 | ||||
-rw-r--r-- | test/option-k.py | 2 | ||||
-rw-r--r-- | test/option-n.py | 2 | ||||
-rw-r--r-- | test/option-s.py | 2 |
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() """) |