summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/test_durationfield.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_fields/test_durationfield.py b/tests/model_fields/test_durationfield.py
index b73994f86a..f1c82ab8bd 100644
--- a/tests/model_fields/test_durationfield.py
+++ b/tests/model_fields/test_durationfield.py
@@ -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."
)