Skip to content

Commit

Permalink
Fix bytes->string decoding issue as subprocess returned stdout is byt…
Browse files Browse the repository at this point in the history
…es in py3
  • Loading branch information
bdbaddog committed Aug 20, 2018
1 parent 9968415 commit 6719b72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/AS/nasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6719b72

Please sign in to comment.