Improve tests' git-diff output on Python 3, a bit

This commit is contained in:
Eevee (Lexy Munroe) 2016-08-07 17:03:53 -07:00
commit ddf8e0655a

View file

@ -74,6 +74,7 @@ class TestPelican(LoggedTestCase):
if msg in line:
return True
return False
out = out.decode('utf8')
if err:
err = '\n'.join([l for l in err.decode('utf8').splitlines()
if not ignorable_git_crlf_errors(l)])