mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
@@ -2,11 +2,6 @@ from __future__ import unicode_literals
|
||||
|
||||
import unittest
|
||||
|
||||
try:
|
||||
import sqlparse
|
||||
except ImportError:
|
||||
sqlparse = None
|
||||
|
||||
from django.db import connection, migrations, models, transaction
|
||||
from django.db.migrations.migration import Migration
|
||||
from django.db.migrations.state import ProjectState
|
||||
@@ -19,6 +14,11 @@ from django.utils import six
|
||||
from .models import FoodManager, FoodQuerySet
|
||||
from .test_base import MigrationTestBase
|
||||
|
||||
try:
|
||||
import sqlparse
|
||||
except ImportError:
|
||||
sqlparse = None
|
||||
|
||||
|
||||
class OperationTestBase(MigrationTestBase):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user