From fdea7878f14de084789eb7f152945b1265f6dfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 2 May 2018 16:32:18 +0200 Subject: [PATCH] comps-wrapper: Make tests pass on EL6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lubomír Sedlář --- tests/test_comps_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_comps_wrapper.py b/tests/test_comps_wrapper.py index 09e5e397..8e9570f3 100644 --- a/tests/test_comps_wrapper.py +++ b/tests/test_comps_wrapper.py @@ -111,7 +111,7 @@ class CompsFilterTest(unittest.TestCase): self.filter.write(self.output) self.output.flush() with open(self.output.name, 'r') as f: - actual = f.read().strip() + actual = f.read().strip().replace('utf-8', 'UTF-8') with open(filepath, 'r') as f: expected = f.read().strip() self.maxDiff = None