update test for metaconfig serialization

This commit is contained in:
2014-02-02 18:33:21 +01:00
parent f8faec408f
commit 26158fc3c4
2 changed files with 2 additions and 5 deletions

View File

@@ -540,8 +540,6 @@ class _CommonConfig(SubConfig):
# ----- state
def __getstate__(self):
if self._impl_meta is not None:
#FIXME _impl_meta est un weakref => faut pas sauvegarder mais faut bien savoir si c'est un méta ou pas au final ...
#en fait il faut ne pouvoir sérialisé que depuis une MetaConfig ... et pas directement comme pour les options
raise ConfigError('cannot serialize Config with MetaConfig')
slots = set()
for subclass in self.__class__.__mro__: