fix py3 tests
This commit is contained in:
parent
61e06bbc18
commit
a994e3286d
@ -7,7 +7,7 @@ import subprocess
|
||||
def has_patch(version, executable):
|
||||
output = subprocess.check_output([executable, "--version"])
|
||||
patch = 1
|
||||
for line in output.split("\n"):
|
||||
for line in output.decode('utf-8').split("\n"):
|
||||
if line.startswith("Included patches:"):
|
||||
patch = line.split('-')[1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user