From 8dca42846d2956122d45795763095559a6a51b64 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sun, 9 Apr 2023 21:15:18 +0100 Subject: Migrate code style to ruff Co-authored-by: Boris Muratov <8bee278@gmail.com> Co-authored-by: wookie184 --- tests/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/base.py') 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`. -- cgit v1.2.3