fix py3 tests

This commit is contained in:
Stanislav Seletskiy 2015-08-12 18:40:17 +06:00
parent 61e06bbc18
commit a994e3286d

View File

@ -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]