aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bot/exts/test_cogs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bot/exts/test_cogs.py')
-rw-r--r--tests/bot/exts/test_cogs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/exts/test_cogs.py b/tests/bot/exts/test_cogs.py
index f8e120262..99bc87120 100644
--- a/tests/bot/exts/test_cogs.py
+++ b/tests/bot/exts/test_cogs.py
@@ -50,7 +50,7 @@ class CommandNameTests(unittest.TestCase):
yield obj
@staticmethod
- def get_qualified_names(command: commands.Command) -> t.List[str]:
+ def get_qualified_names(command: commands.Command) -> list[str]:
"""Return a list of all qualified names, including aliases, for the `command`."""
names = [f"{command.full_parent_name} {alias}".strip() for alias in command.aliases]
names.append(command.qualified_name)