From 41895618205d2dd0f2118b93e1ee7879dffe6223 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 10 Jun 2011 14:49:44 +0000 Subject: [PATCH] Fixed #16210 -- Added some missing __future__ imports to support with statements on 2.5. Thanks to Julien Phalip for the report and patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@16359 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/model_forms/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/modeltests/model_forms/tests.py b/tests/modeltests/model_forms/tests.py index f90812c145..b67c160052 100644 --- a/tests/modeltests/model_forms/tests.py +++ b/tests/modeltests/model_forms/tests.py @@ -1,3 +1,5 @@ +from __future__ import with_statement + import datetime import os from decimal import Decimal