summaryrefslogtreecommitdiff
path: root/test/fixture
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-11-01 21:33:15 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2018-11-01 21:33:15 -0400
commit50bdeb4f4c3bf148c242b93f1a517a11758a2d9c (patch)
treef525c3f643d9a5c84bbe3e9b439189eebdfa7351 /test/fixture
parent608ee5c478fa1cd97735e37e33129180e4f1115b (diff)
downloadscons-git-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.tar.gz
Fix to write string as bytes
Diffstat (limited to 'test/fixture')
-rw-r--r--test/fixture/wrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixture/wrapper.py b/test/fixture/wrapper.py
index 55e133bc6..f02ea03d3 100644
--- a/test/fixture/wrapper.py
+++ b/test/fixture/wrapper.py
@@ -2,5 +2,5 @@ import os
import sys
if '--version' not in sys.argv and '-dumpversion' not in sys.argv:
path = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'wrapper.out')
- open(path, 'wb').write("wrapper.py\n")
+ open(path, 'wb').write(b"wrapper.py\n")
os.system(" ".join(sys.argv[1:]))