summaryrefslogtreecommitdiffstats
path: root/test/fixture
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-11-02 01:33:15 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-11-02 01:33:15 (GMT)
commit50bdeb4f4c3bf148c242b93f1a517a11758a2d9c (patch)
treef525c3f643d9a5c84bbe3e9b439189eebdfa7351 /test/fixture
parent608ee5c478fa1cd97735e37e33129180e4f1115b (diff)
downloadSCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.zip
SCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.tar.gz
SCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.tar.bz2
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 55e133b..f02ea03 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:]))