summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-30 09:51:31 +0200
commit12ba61ed1755ba4a67202e95f78403240efa931b (patch)
tree567894596142ab617a0630ea6f061a4580b72f03 /tests/model_fields
parent356efa90b5984eee25359959a20f672273199720 (diff)
[3.1.x] Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. Backport of e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 from master
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/test_imagefield.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/model_fields/test_imagefield.py b/tests/model_fields/test_imagefield.py
index 99831cb0a3..cbb58a0bbd 100644
--- a/tests/model_fields/test_imagefield.py
+++ b/tests/model_fields/test_imagefield.py
@@ -15,10 +15,9 @@ except ImproperlyConfigured:
if Image:
from .models import (
- Person, PersonWithHeight, PersonWithHeightAndWidth,
- PersonDimensionsFirst, PersonTwoImages, TestImageFieldFile,
+ Person, PersonDimensionsFirst, PersonTwoImages, PersonWithHeight,
+ PersonWithHeightAndWidth, TestImageFieldFile, temp_storage_dir,
)
- from .models import temp_storage_dir
else:
# Pillow not available, create dummy classes (tests will be skipped anyway)
class Person: