mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Trivia] Fix string interpolation in test errors (#5955)
Co-authored-by: Jakub Kuczys <me@jacken.men>
This commit is contained in:
parent
e2737a08d2
commit
ab8f00ae7b
@ -26,7 +26,7 @@ def test_trivia_lists():
|
||||
except InvalidListError as exc:
|
||||
e = exc.__cause__
|
||||
if isinstance(e, SchemaError):
|
||||
problem_lists.append((l.stem, f"SCHEMA error:\n{e!s}"))
|
||||
problem_lists.append((l.stem, f"SCHEMA error:\n{format_schema_error(e)}"))
|
||||
else:
|
||||
problem_lists.append((l.stem, f"YAML error:\n{e!s}"))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user