aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/moderation/test_infractions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/cogs/moderation/test_infractions.py b/tests/bot/cogs/moderation/test_infractions.py
index 2b1ff5728..f8f340c2e 100644
--- a/tests/bot/cogs/moderation/test_infractions.py
+++ b/tests/bot/cogs/moderation/test_infractions.py
@@ -34,7 +34,7 @@ class TruncationTests(unittest.IsolatedAsyncioTestCase):
ban.cr_frame.f_locals["kwargs"]["reason"],
textwrap.shorten("foo bar" * 3000, 512, placeholder="...")
)
- # Await ban to avoid warning
+ # Await ban to avoid not awaited coroutine warning
await ban
@patch("bot.cogs.moderation.utils.post_infraction")
@@ -51,5 +51,5 @@ class TruncationTests(unittest.IsolatedAsyncioTestCase):
kick.cr_frame.f_locals["kwargs"]["reason"],
textwrap.shorten("foo bar" * 3000, 512, placeholder="...")
)
- # Await kick to avoid warning
+ # Await kick to avoid not awaited coroutine warning
await kick