add test test/test_dereference.py + memoryleaks in optiondescription's cache

This commit is contained in:
2013-08-27 21:36:52 +02:00
parent d75cef9c0f
commit 3be005e82e
7 changed files with 123 additions and 9 deletions

View File

@ -22,7 +22,7 @@ from tiramisu.storage.dictionary.storage import Cache
class Values(Cache):
__slots__ = ('_values',)
__slots__ = ('_values', '__weakref__')
def __init__(self, storage):
"""init plugin means create values storage

View File

@ -23,7 +23,7 @@ from tiramisu.setting import owners
class Values(Cache):
__slots__ = tuple()
__slots__ = ('__weakref__',)
def __init__(self, storage):
"""init plugin means create values storage