aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bot/rules/test_mentions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/rules/test_mentions.py b/tests/bot/rules/test_mentions.py
index 987a42c0a..e1a971dbb 100644
--- a/tests/bot/rules/test_mentions.py
+++ b/tests/bot/rules/test_mentions.py
@@ -19,7 +19,7 @@ class Case(NamedTuple):
def msg(author: str, total_mentions: int) -> FakeMessage:
"""Makes a message with `total_mentions` mentions."""
- return FakeMessage(author=author, mentions=[None] * total_mentions)
+ return FakeMessage(author=author, mentions=list(range(total_mentions)))
class TestMentions(unittest.TestCase):