From 547a704c080c97304425fcde1eb2381d9f395352 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 13 May 2016 20:43:15 -0700 Subject: 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 --- QMTest/TestCmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 8cb6fb9..198f586 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 -- cgit v0.12