diff options
Diffstat (limited to 'tests/forms_tests/field_tests/test_splitdatetimefield.py')
| -rw-r--r-- | tests/forms_tests/field_tests/test_splitdatetimefield.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/forms_tests/field_tests/test_splitdatetimefield.py b/tests/forms_tests/field_tests/test_splitdatetimefield.py index 940d03b8a9..716e49c343 100644 --- a/tests/forms_tests/field_tests/test_splitdatetimefield.py +++ b/tests/forms_tests/field_tests/test_splitdatetimefield.py @@ -1,6 +1,7 @@ import datetime -from django.forms import SplitDateTimeField, ValidationError +from django.core.exceptions import ValidationError +from django.forms import SplitDateTimeField from django.forms.widgets import SplitDateTimeWidget from django.test import SimpleTestCase |
