def test_add_field_alter_field(self):
        self.assertOptimizesTo(
            [
                migrations.AddField("Foo", "age", models.IntegerField()),
                migrations.AlterField("Foo", "age", models.FloatField(default=2.4)),
            ],
            [
                migrations.AddField("Foo", name="age", field=models.FloatField(default=2.4)),
            ],
        )
Closing an issue.
dataset/ETHPy150Open django/django/tests/migrations/test_optimizer.py/OptimizerTests.test_add_field_alter_field--crossover with--dataset/ETHPy150Open dustin/py-github/github/githubtest.py/IssueTest.testCloseIssue