summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-11-09 17:39:07 +0000
committerRamiro Morales <cramm0@gmail.com>2011-11-09 17:39:07 +0000
commitf1bc3b0401a4239696bb51fbcc8c03c3e013d894 (patch)
tree359ed4ced5dbe4eb8b81be966ceadbd888b18599
parente92b3b723f9bf953d0465e92e444045cdc837042 (diff)
Fixed incompatibility with Python 2.5 introduced in r17077. Thanks Florian for the heads up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/modeltests/user_commands/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modeltests/user_commands/tests.py b/tests/modeltests/user_commands/tests.py
index 896dd667ff..e138e07b91 100644
--- a/tests/modeltests/user_commands/tests.py
+++ b/tests/modeltests/user_commands/tests.py
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
from StringIO import StringIO
from django.core import management