diff --git a/tests/common.py b/tests/common.py index cf896008d85..d194ad4d040 100644 --- a/tests/common.py +++ b/tests/common.py @@ -245,7 +245,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()