From 6719b7292b7bd42d9e8e62391134a2e3d10001bf Mon Sep 17 00:00:00 2001 From: William Deegan Date: Mon, 20 Aug 2018 07:43:39 -0700 Subject: [PATCH] Fix bytes->string decoding issue as subprocess returned stdout is bytes in py3 --- test/AS/nasm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/AS/nasm.py b/test/AS/nasm.py index 4d57951e23..4d93c7f897 100644 --- a/test/AS/nasm.py +++ b/test/AS/nasm.py @@ -52,6 +52,7 @@ 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)