diff options
author | 2023-04-09 21:15:18 +0100 | |
---|---|---|
committer | 2023-04-11 16:48:14 +0100 | |
commit | 8dca42846d2956122d45795763095559a6a51b64 (patch) | |
tree | 480cd7d3c1a6d6bc87710e2d3c19f223a92f7c5d /tests/base.py | |
parent | Replace CI flake8 config with ruff (diff) |
Migrate code style to ruff
Co-authored-by: Boris Muratov <[email protected]>
Co-authored-by: wookie184 <[email protected]>
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`. |