def serialize(self, value):
        if isinstance(value, self.type_):
            return self.format % as_mapping(value)
        else:
            return unicode(value)
Returns a function that adds fixtures handling to the setup method.
dataset/ETHPy150Open jek/flatland/flatland/schema/scalars.py/Temporal.serialize--crossover with--dataset/ETHPy150Open croach/Flask-Fixtures/flask_fixtures/__init__.py/MetaFixturesMixin.setup_handler