  from django.apps import apps
  from django.core.management.color import no_style
  from django.core.management.sql import (sql_create, sql_delete, sql_indexes,
      sql_destroy_indexes, sql_all)
  from django.db import connections, DEFAULT_DB_ALIAS, router
  from django.test import TestCase
  from django.utils import six
  
  # See also initial_sql_regress for 'custom_sql_for_model' tests
  
  
 
</s> remove from django.db import connections, models, router
from django.test import TestCase
from django.test.utils import captured_stdout, override_settings
 </s> add from django.db import connections, models
from django.test import TestCase, override_settings
from django.test.utils import captured_stdout </s> remove from django.db import connection, connections, router, transaction
 </s> add from django.db import connection, connections, transaction </s> remove from django.db import connection, router
 </s> add from django.db import connection </s> remove from django.test import override_settings
from django.db import connection, migrations, models, router
 </s> add from django.db import connection, migrations, models
from django.db import connections, DEFAULT_DB_ALIAS
from django.test import TestCase, override_settings
  from django.apps import apps
  from django.core.management.color import no_style
  from django.core.management.sql import (sql_create, sql_delete, sql_indexes,
      sql_destroy_indexes, sql_all)
from django.db import connections, DEFAULT_DB_ALIAS
from django.test import TestCase, override_settings
from django.db import connections, DEFAULT_DB_ALIAS
from django.test import TestCase, override_settings
  from django.utils import six
  
  # See also initial_sql_regress for 'custom_sql_for_model' tests
  
  
keep keep keep keep replace replace keep keep keep keep keep
 Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs #23933. 
tests/commands_sql/tests.py