diff options
| author | 2023-04-11 22:22:47 +0100 | |
|---|---|---|
| committer | 2023-04-11 22:22:47 +0100 | |
| commit | f94505ac975888b259ea2d07b4442d6d908352f8 (patch) | |
| tree | d156f9d7c8dbdc89642e161105766cd3644b931f /tests/base.py | |
| parent | Bump httpx from 0.23.3 to 0.24.0 (#2529) (diff) | |
| parent | Use commands.Converter subclass for d.py converters (diff) | |
Merge pull request #2523 from python-discord/flake8-to-ruff
Migration codestyle from Flake8 to ruff
Diffstat (limited to '')
| -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`. | 
