def test_create_with_default(self):
        model_class = self.model_def.model_class()
        field_value = self.field_values[0]
        instance = model_class.objects.create(field=field_value)
        # Add the field with a default.
        create_default = self.prepare_default_value(field_value)
        options = dict(**self.field_definition_init_kwargs)
        options['default'] = create_default
        with self.assertChecksumChange():
            self.field_definition_cls._default_manager.create_with_default(
                model_def=self.model_def, name='field_created_with_default',
                **options
            )
        created_value = self.prepare_default_value(
            model_class.objects.get(pk=instance.pk).field_created_with_default
        )
        self.assertEqual(created_value, create_default)
Transform tokens back into Python source code.
dataset/ETHPy150Open charettes/django-mutant/mutant/test/testcases.py/FieldDefinitionTestMixin.test_create_with_default--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/tokenize.py/untokenize