From ddf8e0655a2206dd3a33434ded38edffd6d1d6f1 Mon Sep 17 00:00:00 2001 From: "Eevee (Lexy Munroe)" Date: Sun, 7 Aug 2016 17:03:53 -0700 Subject: [PATCH] Improve tests' git-diff output on Python 3, a bit --- pelican/tests/test_pelican.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pelican/tests/test_pelican.py b/pelican/tests/test_pelican.py index 75d644bc..4a13e942 100644 --- a/pelican/tests/test_pelican.py +++ b/pelican/tests/test_pelican.py @@ -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)])