summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_json_deprecation.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postgres_tests/test_json_deprecation.py')
-rw-r--r--tests/postgres_tests/test_json_deprecation.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/postgres_tests/test_json_deprecation.py b/tests/postgres_tests/test_json_deprecation.py
index 80deb0cb15..69dcce3781 100644
--- a/tests/postgres_tests/test_json_deprecation.py
+++ b/tests/postgres_tests/test_json_deprecation.py
@@ -1,7 +1,9 @@
try:
- from django.contrib.postgres.fields import JSONField
- from django.contrib.postgres.fields.jsonb import KeyTransform, KeyTextTransform
from django.contrib.postgres import forms
+ from django.contrib.postgres.fields import JSONField
+ from django.contrib.postgres.fields.jsonb import (
+ KeyTextTransform, KeyTransform,
+ )
except ImportError:
pass