Skip to content

Commit

Permalink
Suppress unnecessary lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Jan 9, 2024
1 parent 693915b commit 41c3081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/utils/test_lazy_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def test_warns_on_import_error(self):
"""Check that the module raising an `ImportError` other than being not found is warned
against."""

# pylint: disable=missing-class-docstring,missing-function-docstring
# pylint: disable=missing-class-docstring,missing-function-docstring,abstract-method

class RaisesImportErrorOnLoad(importlib.abc.Loader):
def __init__(self, name):
Expand All @@ -381,7 +381,7 @@ def test_warns_on_internal_not_found_error(self):
(such as a module trying to import parts of Terra that don't exist any more) is caught and
warned against, rather than silently caught as an expected `ModuleNotFoundError`."""

# pylint: disable=missing-class-docstring,missing-function-docstring
# pylint: disable=missing-class-docstring,missing-function-docstring,abstract-method

class ImportsBadModule(importlib.abc.Loader):
def create_module(self, spec):
Expand Down

0 comments on commit 41c3081

Please sign in to comment.