diff options
author | Tres Seaver <tseaver@palladion.com> | 2014-02-02 11:19:30 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2014-02-02 11:19:30 -0500 |
commit | 7f2c4ff34c55bd6685a89fd52d9d1330f567bac8 (patch) | |
tree | bfefbbf5fd3d82a76a7bb2dfce489dec2b0c4183 /repoze | |
parent | 40ad9a2418f0ebd212fe03d27f18862116d26183 (diff) | |
download | repoze-lru-7f2c4ff34c55bd6685a89fd52d9d1330f567bac8.tar.gz |
Coverage
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() |