From e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 24 Jul 2020 07:25:47 +0100 Subject: Bumped minimum isort version to 5.1.0. Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. --- tests/postgres_tests/test_json_deprecation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/postgres_tests/test_json_deprecation.py') 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 -- cgit v1.3