summaryrefslogtreecommitdiffstats
path: root/test/AS
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-08-20 14:43:39 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2018-08-20 14:43:39 (GMT)
commit6719b7292b7bd42d9e8e62391134a2e3d10001bf (patch)
treee8804b8ec1917e3cfff26c5d2b9ae962d5042599 /test/AS
parent9968415b4bbb46ab95023077844590b962e1ffcf (diff)
downloadSCons-6719b7292b7bd42d9e8e62391134a2e3d10001bf.zip
SCons-6719b7292b7bd42d9e8e62391134a2e3d10001bf.tar.gz
SCons-6719b7292b7bd42d9e8e62391134a2e3d10001bf.tar.bz2
Fix bytes->string decoding issue as subprocess returned stdout is bytes in py3
Diffstat (limited to 'test/AS')
-rw-r--r--test/AS/nasm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/AS/nasm.py b/test/AS/nasm.py
index 4d57951..4d93c7f 100644
--- a/test/AS/nasm.py
+++ b/test/AS/nasm.py
@@ -52,6 +52,7 @@ try:
except OSError:
test.skip_test('could not determine nasm version; skipping test\n')
else:
+ stdout = stdout.decode()
version = stdout.split()[2].split('.')
if int(version[0]) ==0 and int(version[1]) < 98:
test.skip_test("skipping test of nasm version %s\n" % version)