mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 Trivia] Make sure that test will use utf-8 encoding (#2565)
This commit is contained in:
parent
136e781c7f
commit
972fbecc94
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user