[V3 Trivia] Make sure that test will use utf-8 encoding (#2565)

This commit is contained in:
jack1142 2019-04-09 23:03:34 +02:00 committed by Will
parent 136e781c7f
commit 972fbecc94

View File

@ -8,7 +8,7 @@ def test_trivia_lists():
assert list_names
problem_lists = []
for l in list_names:
with l.open() as f:
with l.open(encoding="utf-8") as f:
try:
dict_ = yaml.safe_load(f)
except yaml.error.YAMLError as e: