diff --git a/tests/modeltests/validation/test_unique.py b/tests/modeltests/validation/test_unique.py index ef890490c15..f891b5740ea 100644 --- a/tests/modeltests/validation/test_unique.py +++ b/tests/modeltests/validation/test_unique.py @@ -1,3 +1,5 @@ +from __future__ import with_statement + import datetime from django.conf import settings @@ -143,4 +145,4 @@ class PerformUniqueChecksTest(TestCase): with self.assertRaises(ValidationError) as cm: m.full_clean() self.assertEqual(cm.exception.message_dict, {'number': [u'Custom unique number message.']}) - \ No newline at end of file +