summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_operations.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests/test_operations.py')
-rw-r--r--tests/postgres_tests/test_operations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_operations.py b/tests/postgres_tests/test_operations.py
index 7bcf6b2300..958c8118a1 100644
--- a/tests/postgres_tests/test_operations.py
+++ b/tests/postgres_tests/test_operations.py
@@ -11,10 +11,10 @@ from django.test.utils import CaptureQueriesContext
from . import PostgreSQLTestCase
try:
+ from django.contrib.postgres.indexes import BrinIndex, BTreeIndex
from django.contrib.postgres.operations import (
AddIndexConcurrently, CreateExtension, RemoveIndexConcurrently,
)
- from django.contrib.postgres.indexes import BrinIndex, BTreeIndex
except ImportError:
pass