summaryrefslogtreecommitdiff
path: root/tests/test_config/test_util.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-15 02:42:09 -0500
committerMichael Merickel <michael@merickel.org>2018-10-15 09:24:07 -0500
commit10ddb6f08592c2740b966e98a6f98a5b83af1896 (patch)
tree2e90443b3d8503ac722aa22f52f18f5108498560 /tests/test_config/test_util.py
parent4d838f06d0e6d27e34b766fc5c34a8283ff31b38 (diff)
downloadpyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.gz
pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.bz2
pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.zip
fix lint on tests
Diffstat (limited to 'tests/test_config/test_util.py')
-rw-r--r--tests/test_config/test_util.py4
1 files changed, 2 insertions, 2 deletions
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'