summaryrefslogtreecommitdiff
path: root/test/fixture
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-02-13 08:16:11 -0700
committerMats Wichmann <mats@linux.com>2020-02-13 08:16:11 -0700
commit2931eea70b0234cf284c88b9a2a31e1c63bcfcd6 (patch)
treedbf649904f62891c6591a320bf964829f3a34ebc /test/fixture
parente51f211505aa5cdd81c2db6cbcb0b93a73c146e3 (diff)
downloadscons-git-2931eea70b0234cf284c88b9a2a31e1c63bcfcd6.tar.gz
[PR #3554] restore wrapper.py for former state
Changes didn't work on Windows. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/fixture')
-rw-r--r--test/fixture/wrapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixture/wrapper.py b/test/fixture/wrapper.py
index d9bcefe2f..112186e7c 100644
--- a/test/fixture/wrapper.py
+++ b/test/fixture/wrapper.py
@@ -5,6 +5,6 @@ import subprocess
if __name__ == '__main__':
path = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'wrapper.out')
if '--version' not in sys.argv and '-dumpversion' not in sys.argv:
- with open(path, 'w') as f:
- f.write("wrapper.py\n")
+ with open(path, 'wb') as f:
+ f.write(b"wrapper.py\n")
subprocess.run(sys.argv[1:])