diff --git a/tests/common.py b/tests/common.py index 22af8ecb8a3b4..462fcb3ed792c 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()