the parent of Assert don't implement __setstate__. Tye:
def ...
self.__dict__.update(attrs):
self.msg = getattr(self, 'msg', DEFUALT_VALUE)