From 73721912e2bd4d08d7bfaa641b8158ec09542dd7 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Wed, 11 May 2011 08:58:58 +0000 Subject: [PATCH] Fixed #16002 - test failure due to missing `from __future__ import with_statement` Thanks to julien for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@16213 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/csrf_tests/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/regressiontests/csrf_tests/tests.py b/tests/regressiontests/csrf_tests/tests.py index 3894de2c02..b3238a7dd3 100644 --- a/tests/regressiontests/csrf_tests/tests.py +++ b/tests/regressiontests/csrf_tests/tests.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from __future__ import with_statement import warnings from django.test import TestCase