1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #30232 -- Corrected expected format in invalid DurationField error message.

This commit is contained in:
avas9366
2019-03-05 11:25:27 +11:00
committed by Tim Graham
parent 17455e924e
commit 9681e968eb
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ class TestValidation(SimpleTestCase):
self.assertEqual(
cm.exception.message % cm.exception.params,
"'not a datetime' value has an invalid format. "
"It must be in [DD] [HH:[MM:]]ss[.uuuuuu] format."
"It must be in [DD] [[HH:]MM:]ss[.uuuuuu] format."
)