📝 Fix fixture encoding (#12296)
This commit is contained in:
parent
a71d5f4614
commit
e4a826d1c1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue