Update test
This commit is contained in:
parent
7afb4e3f54
commit
29a4066a4d
|
@ -241,7 +241,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
|
|||
callcount2 = [0]
|
||||
|
||||
class A(object):
|
||||
@cached(max_entries=20) # HACK: This makes it 2 due to cache factor
|
||||
@cached(max_entries=4) # HACK: This makes it 2 due to cache factor
|
||||
def func(self, key):
|
||||
callcount[0] += 1
|
||||
return key
|
||||
|
|
Loading…
Reference in New Issue