diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py index aa0748a19f..f09ed6d6a5 100644 --- a/tests/migrations/test_autodetector.py +++ b/tests/migrations/test_autodetector.py @@ -1615,7 +1615,7 @@ class AutodetectorTests(BaseAutodetectorTests): ("pkfield", models.IntegerField(primary_key=False)), ], ) - changes = self.get_changes([initial_state], [updated_state]) + self.get_changes([initial_state], [updated_state]) @mock.patch( "django.db.migrations.questioner.MigrationQuestioner.ask_not_null_alteration",