0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Made with statements added in [16348] compatible with Python 2.5.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2011-06-10 12:16:56 +00:00
parent 44a2cbad35
commit 4dac0883f0

View File

@ -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.']})