mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Improve tests' git-diff output on Python 3, a bit
This commit is contained in:
parent
6232241ef1
commit
ddf8e0655a
1 changed files with 1 additions and 0 deletions
|
|
@ -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)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue