瀏覽代碼

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
Luke Plant 14 年之前
父節點
當前提交
73721912e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/regressiontests/csrf_tests/tests.py

+ 1 - 0
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