Make the test error output more readable.

This commit is contained in:
Dave Halter
2015-03-26 15:38:45 +01:00
parent 2ee17b3be6
commit 620b538f34

View File

@@ -17,7 +17,7 @@ class IntegrationTestFile(object):
output = subprocess.check_output([VSPEC_RUNNER, '.', VSPEC_FOLDER, self.path])
for line in output.splitlines():
if line.startswith(b'not ok') or line.startswith(b'Error'):
print(output)
print(output.decode('utf-8'))
assert False
def __repr__(self):