From 01a0c7b97871d0540205abd0bcc753c3fc01fedd Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 11 Feb 2018 11:14:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fix=20fixture=20encoding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.py b/tests/common.py index 22af8ecb8a3b48..462fcb3ed792cc 100644 --- a/tests/common.py +++ b/tests/common.py @@ -246,7 +246,7 @@ def fire_service_discovered(hass, service, info): def load_fixture(filename): """Load a fixture.""" path = os.path.join(os.path.dirname(__file__), 'fixtures', filename) - with open(path) as fptr: + with open(path, encoding='utf-8') as fptr: return fptr.read()