From 3271c7748d43fd5ecc9928ea69a8c4f497a68af5 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Fri, 30 Jan 2015 12:04:44 -0500 Subject: Ignore never-called function. Used only to allow 'functools.update_wrapper' to do its thing. --- pyramid/tests/test_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/tests/test_decorator.py b/pyramid/tests/test_decorator.py index eb5266235..0a98a512d 100644 --- a/pyramid/tests/test_decorator.py +++ b/pyramid/tests/test_decorator.py @@ -16,7 +16,7 @@ class TestReify(unittest.TestCase): def test___get__noinst(self): def wrapped(inst): - return 'a' + return 'a' # pragma: no cover decorator = self._makeOne(wrapped) result = decorator.__get__(None) self.assertEqual(result, decorator) -- cgit v1.2.3