From 10ddb6f08592c2740b966e98a6f98a5b83af1896 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 15 Oct 2018 02:42:09 -0500 Subject: fix lint on tests --- tests/test_config/test_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_config/test_util.py') diff --git a/tests/test_config/test_util.py b/tests/test_config/test_util.py index a56c00082..50d143b2d 100644 --- a/tests/test_config/test_util.py +++ b/tests/test_config/test_util.py @@ -426,7 +426,7 @@ class TestDeprecatedPredicates(unittest.TestCase): with warnings.catch_warnings(record=True) as w: warnings.filterwarnings('always') - from pyramid.config.predicates import XHRPredicate + from pyramid.config.predicates import XHRPredicate # noqa: F401 self.assertEqual(len(w), 1) @@ -493,7 +493,7 @@ class DummyCustomPredicate(object): def __init__(self): self.__text__ = 'custom predicate' - def classmethod_predicate(*args): + def classmethod_predicate(*args): # pragma: no cover pass classmethod_predicate.__text__ = 'classmethod predicate' -- cgit v1.2.3