diff --git a/test/python/utils/test_lazy_loaders.py b/test/python/utils/test_lazy_loaders.py index 225a49b8bf59..ed56f196d142 100644 --- a/test/python/utils/test_lazy_loaders.py +++ b/test/python/utils/test_lazy_loaders.py @@ -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): @@ -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):