aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-04-12 15:21:53 +0100
committerGravatar GitHub <[email protected]>2023-04-12 15:21:53 +0100
commitcd420dade00b253bc7d458a2480748a55668591a (patch)
treedb171434ffe1e3872e3f6a83c56f9ea6a8ac8806 /tests/base.py
parentFix deleted message logging in mod alert (diff)
parentMerge pull request #2523 from python-discord/flake8-to-ruff (diff)
Merge branch 'main' into fix_alert_message_logging
Diffstat (limited to 'tests/base.py')
-rw-r--r--tests/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/base.py b/tests/base.py
index 4863a1821..cad187b6a 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -1,7 +1,6 @@
import logging
import unittest
from contextlib import contextmanager
-from typing import Dict
import discord
from async_rediscache import RedisSession
@@ -86,7 +85,7 @@ class CommandTestCase(unittest.IsolatedAsyncioTestCase):
async def assertHasPermissionsCheck( # noqa: N802
self,
cmd: commands.Command,
- permissions: Dict[str, bool],
+ permissions: dict[str, bool],
) -> None:
"""
Test that `cmd` raises a `MissingPermissions` exception if author lacks `permissions`.