diff options
| author | 2020-03-04 20:24:41 +0700 | |
|---|---|---|
| committer | 2020-03-04 20:24:41 +0700 | |
| commit | d6e7ed4109d301b99ac710a8a7a87dc59a296a8d (patch) | |
| tree | 0a5869064b679515f98d453ec3b62d2405e06c4c /tests/base.py | |
| parent | Use raw strings for docstrings with forward slashes (diff) | |
| parent | Merge pull request #811 from python-discord/feat/deps/o138/pre-commit-hooks (diff) | |
Merge branch 'master' into extensions-cog-docstring-deprecation-warning
Diffstat (limited to 'tests/base.py')
| -rw-r--r-- | tests/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/base.py b/tests/base.py index 42174e911..d99b9ac31 100644 --- a/tests/base.py +++ b/tests/base.py @@ -31,7 +31,7 @@ class LoggingTestsMixin: """ @contextmanager - def assertNotLogs(self, logger=None, level=None, msg=None): + def assertNotLogs(self, logger=None, level=None, msg=None): # noqa: N802 """ Asserts that no logs of `level` and higher were emitted by `logger`. @@ -81,7 +81,7 @@ class LoggingTestsMixin: class CommandTestCase(unittest.IsolatedAsyncioTestCase): """TestCase with additional assertions that are useful for testing Discord commands.""" - async def assertHasPermissionsCheck( + async def assertHasPermissionsCheck( # noqa: N802 self, cmd: commands.Command, permissions: Dict[str, bool], |