diff options
author | David Smith <smithdc@gmail.com> | 2020-07-24 07:25:47 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-30 10:58:59 +0200 |
commit | e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch) | |
tree | e478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /tests/postgres_tests/test_array.py | |
parent | 1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff) | |
download | django-e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.tar.gz |
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_array.py')
-rw-r--r-- | tests/postgres_tests/test_array.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py index df95e251ec..822e61f4e4 100644 --- a/tests/postgres_tests/test_array.py +++ b/tests/postgres_tests/test_array.py @@ -25,14 +25,17 @@ from .models import ( ) try: + from psycopg2.extras import NumericRange + from django.contrib.postgres.aggregates import ArrayAgg from django.contrib.postgres.fields import ArrayField - from django.contrib.postgres.fields.array import IndexTransform, SliceTransform + from django.contrib.postgres.fields.array import ( + IndexTransform, SliceTransform, + ) from django.contrib.postgres.forms import ( SimpleArrayField, SplitArrayField, SplitArrayWidget, ) from django.db.backends.postgresql.base import PSYCOPG2_VERSION - from psycopg2.extras import NumericRange except ImportError: pass |