diff options
Diffstat (limited to 'repoze')
-rw-r--r-- | repoze/lru/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |