summaryrefslogtreecommitdiff
path: root/tests/forms_tests/field_tests/test_filefield.py
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2020-02-12 14:48:49 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-28 10:49:00 +0200
commit9ef4a18dbe71f538a9ef8c39111ae2f0b62eb90b (patch)
tree0016b13a357af2f642483bdd168d6f83190f33bb /tests/forms_tests/field_tests/test_filefield.py
parent2788de95e375cccd03a3dfd161fc92b7d6df6024 (diff)
Changed django.forms.ValidationError imports to django.core.exceptions.ValidationError.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'tests/forms_tests/field_tests/test_filefield.py')
-rw-r--r--tests/forms_tests/field_tests/test_filefield.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/forms_tests/field_tests/test_filefield.py b/tests/forms_tests/field_tests/test_filefield.py
index fc5c4b5c1e..261d9f4ca9 100644
--- a/tests/forms_tests/field_tests/test_filefield.py
+++ b/tests/forms_tests/field_tests/test_filefield.py
@@ -1,7 +1,8 @@
import pickle
+from django.core.exceptions import ValidationError
from django.core.files.uploadedfile import SimpleUploadedFile
-from django.forms import FileField, ValidationError
+from django.forms import FileField
from django.test import SimpleTestCase