diff options
| author | 2023-04-12 15:21:53 +0100 | |
|---|---|---|
| committer | 2023-04-12 15:21:53 +0100 | |
| commit | cd420dade00b253bc7d458a2480748a55668591a (patch) | |
| tree | db171434ffe1e3872e3f6a83c56f9ea6a8ac8806 /tests/base.py | |
| parent | Fix deleted message logging in mod alert (diff) | |
| parent | Merge 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.py | 3 |
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`. |