diff options
| author | Tres Seaver <tseaver@palladion.com> | 2015-01-30 12:04:44 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2015-01-30 12:04:44 -0500 |
| commit | 3271c7748d43fd5ecc9928ea69a8c4f497a68af5 (patch) | |
| tree | a5b69b302c21632c8cae75a50b9e15efbdd50406 | |
| parent | 462af266b61e0b8aad87775926b49e8758f564e7 (diff) | |
| download | pyramid-3271c7748d43fd5ecc9928ea69a8c4f497a68af5.tar.gz pyramid-3271c7748d43fd5ecc9928ea69a8c4f497a68af5.tar.bz2 pyramid-3271c7748d43fd5ecc9928ea69a8c4f497a68af5.zip | |
Ignore never-called function.
Used only to allow 'functools.update_wrapper' to do its thing.
| -rw-r--r-- | pyramid/tests/test_decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
