diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 18:16:03 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 18:16:03 (GMT) |
commit | f5f057cd5399ca96ef521b16bd53e5b43daaaada (patch) | |
tree | ea7c49ad532916376b6bea5971e4909a05ea7536 | |
parent | 92c24f24619954e214cca853ae12cde2f5159bcb (diff) | |
parent | 80aba339e2acac074840aedd0ceb8553ed77d127 (diff) | |
download | SCons-f5f057cd5399ca96ef521b16bd53e5b43daaaada.zip SCons-f5f057cd5399ca96ef521b16bd53e5b43daaaada.tar.gz SCons-f5f057cd5399ca96ef521b16bd53e5b43daaaada.tar.bz2 |
Merged in rodrigc/scons (pull request #408)
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() """) |