summaryrefslogtreecommitdiff
path: root/tests/forms_tests/field_tests/test_filepathfield.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_filepathfield.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_filepathfield.py')
-rw-r--r--tests/forms_tests/field_tests/test_filepathfield.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/forms_tests/field_tests/test_filepathfield.py b/tests/forms_tests/field_tests/test_filepathfield.py
index 2b9683ed84..bdd55c32a5 100644
--- a/tests/forms_tests/field_tests/test_filepathfield.py
+++ b/tests/forms_tests/field_tests/test_filepathfield.py
@@ -1,6 +1,7 @@
import os.path
-from django.forms import FilePathField, ValidationError
+from django.core.exceptions import ValidationError
+from django.forms import FilePathField
from django.test import SimpleTestCase
PATH = os.path.dirname(os.path.abspath(__file__))