def test_create_delete_model(self):
        self.assertOptimizesTo(
            [
                migrations.CreateModel("Foo", [("name", models.CharField(max_length=255))]),
                migrations.DeleteModel("Foo"),
            ],
            [],
        )
CreateModel and DeleteModel should collapse into nothing.
dataset/ETHPy150Open django/django/tests/migrations/test_optimizer.py/OptimizerTests.test_create_delete_model