summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-05-11 08:58:58 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-05-11 08:58:58 +0000
commit73721912e2bd4d08d7bfaa641b8158ec09542dd7 (patch)
tree4ed8de7c7ee4da5770c7e98eb450c95181260494
parent6e9067623b8701b9a210438ad90a21b81967b1ed (diff)
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
-rw-r--r--tests/regressiontests/csrf_tests/tests.py1
1 files changed, 1 insertions, 0 deletions
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