summaryrefslogtreecommitdiff
path: root/QMTest
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-13 20:43:15 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-13 20:43:15 -0700
commit7e2c4d77185977045289c8c93bef6bd23fb7afa3 (patch)
treedc20b0e542e3bad64fe8f0d240ea797949c3ae4e /QMTest
parent58db41640fd81affd354753cbcaf5cdcd4342844 (diff)
downloadscons-7e2c4d77185977045289c8c93bef6bd23fb7afa3.tar.gz
fix default open mode for test.write() to be wb.. it was changed to just w when six was the plan. it causes many tests to fail on win32
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestCmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py
index 8cb6fb96..198f586f 100644
--- a/QMTest/TestCmd.py
+++ b/QMTest/TestCmd.py
@@ -1719,7 +1719,7 @@ class TestCmd(object):
do_chmod(os.path.join(dirpath, name))
do_chmod(top)
- def write(self, file, content, mode = 'w'):
+ def write(self, file, content, mode = 'wb'):
"""Writes the specified content text (second argument) to the
specified file name (first argument). The file name may be
a list, in which case the elements are concatenated with the