forked from VimPlug/jedi-vim
Make the test error output more readable.
This commit is contained in:
@@ -17,7 +17,7 @@ class IntegrationTestFile(object):
|
|||||||
output = subprocess.check_output([VSPEC_RUNNER, '.', VSPEC_FOLDER, self.path])
|
output = subprocess.check_output([VSPEC_RUNNER, '.', VSPEC_FOLDER, self.path])
|
||||||
for line in output.splitlines():
|
for line in output.splitlines():
|
||||||
if line.startswith(b'not ok') or line.startswith(b'Error'):
|
if line.startswith(b'not ok') or line.startswith(b'Error'):
|
||||||
print(output)
|
print(output.decode('utf-8'))
|
||||||
assert False
|
assert False
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user