summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_trigram.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests/test_trigram.py')
-rw-r--r--tests/postgres_tests/test_trigram.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_trigram.py b/tests/postgres_tests/test_trigram.py
index 19ac4cee31..a5d7d868be 100644
--- a/tests/postgres_tests/test_trigram.py
+++ b/tests/postgres_tests/test_trigram.py
@@ -4,7 +4,9 @@ from . import PostgreSQLTestCase
from .models import CharFieldModel, TextFieldModel
try:
- from django.contrib.postgres.search import TrigramDistance, TrigramSimilarity
+ from django.contrib.postgres.search import (
+ TrigramDistance, TrigramSimilarity,
+ )
except ImportError:
pass