From 7f2c4ff34c55bd6685a89fd52d9d1330f567bac8 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Sun, 2 Feb 2014 11:19:30 -0500 Subject: Coverage --- repoze/lru/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repoze') diff --git a/repoze/lru/tests.py b/repoze/lru/tests.py index 7922a30..504fd9f 100644 --- a/repoze/lru/tests.py +++ b/repoze/lru/tests.py @@ -523,10 +523,10 @@ class DecoratorTests(unittest.TestCase): def test_cache_attr(self): cache = DummyLRUCache() decorator = self._makeOne(0, cache) - def wrapped(key): + def wrapped(key): #pragma NO COVER return key decorated = decorator(wrapped) - self.assertEqual(decorated._cache, cache) + self.assertTrue(decorated._cache is cache) def test_multiargs(self): cache = DummyLRUCache() -- cgit v1.2.1