mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[V3 Trivia] Make sure that test will use utf-8 encoding (#2565)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user