Browse Source

Added missing future imports missed in r16167.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jannis Leidel 14 năm trước cách đây
mục cha
commit
b0d274dbd5

+ 1 - 0
tests/regressiontests/admin_views/tests.py

@@ -1,4 +1,5 @@
 # coding: utf-8
+from __future__ import with_statement
 
 import re
 import datetime

+ 1 - 0
tests/regressiontests/admin_widgets/tests.py

@@ -1,4 +1,5 @@
 # encoding: utf-8
+from __future__ import with_statement
 
 from datetime import datetime
 

+ 1 - 0
tests/regressiontests/defaultfilters/tests.py

@@ -1,4 +1,5 @@
 # -*- coding: utf-8 -*-
+from __future__ import with_statement
 import datetime
 from django.test import TestCase
 from django.utils import unittest, translation

+ 1 - 0
tests/regressiontests/forms/tests/regressions.py

@@ -1,4 +1,5 @@
 # -*- coding: utf-8 -*-
+from __future__ import with_statement
 from django.forms import *
 from django.utils.unittest import TestCase
 from django.utils.translation import ugettext_lazy, override

+ 1 - 0
tests/regressiontests/humanize/tests.py

@@ -1,3 +1,4 @@
+from __future__ import with_statement
 from datetime import timedelta, date, datetime, tzinfo, timedelta
 
 from django.conf import settings

+ 1 - 0
tests/regressiontests/i18n/tests.py

@@ -1,4 +1,5 @@
 # -*- encoding: utf-8 -*-
+from __future__ import with_statement
 import datetime
 import decimal
 import os

+ 1 - 0
tests/regressiontests/settings_tests/tests.py

@@ -1,3 +1,4 @@
+from __future__ import with_statement
 from django.conf import settings
 from django.test import TestCase
 

+ 1 - 0
tests/regressiontests/text/tests.py

@@ -1,4 +1,5 @@
 # coding: utf-8
+from __future__ import with_statement
 from django.test import TestCase
 
 from django.utils.text import *

+ 1 - 0
tests/regressiontests/views/tests/i18n.py

@@ -1,4 +1,5 @@
 # -*- coding:utf-8 -*-
+from __future__ import with_statement
 import gettext
 from os import path