From 41c3081b4ee603e65c67d00600912305d2369691 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Tue, 9 Jan 2024 14:43:39 +0000 Subject: [PATCH] Suppress unnecessary lint warnings --- test/python/utils/test_lazy_loaders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):