summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_json_deprecation.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-30 10:58:59 +0200
commite74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch)
treee478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /tests/postgres_tests/test_json_deprecation.py
parent1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff)
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
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