Ticket #17965: with_stmts.diff

File with_stmts.diff, 26.8 KB (added by Jonas H., 13 years ago)
  • django/contrib/auth/tests/forms.py

    commit f47f9d0d5baa25c6f836e50307271631bd0b654d
    Author: Jonas Haag <jonas@lophus.org>
    Date:   Fri Mar 23 18:50:57 2012 +0100
    
        with-statements.patch
    
    diff --git a/django/contrib/auth/tests/forms.py b/django/contrib/auth/tests/forms.py
    index 2397b52..97e9c33 100644
    a b  
    1 from __future__ import with_statement
    21import os
    32from django.contrib.auth.models import User
    43from django.contrib.auth.forms import (UserCreationForm, AuthenticationForm,
  • django/contrib/auth/tests/views.py

    diff --git a/django/contrib/auth/tests/views.py b/django/contrib/auth/tests/views.py
    index 7244086..37045cd 100644
    a b  
    1 from __future__ import with_statement
    21import os
    32import re
    43import urllib
  • django/contrib/contenttypes/tests.py

    diff --git a/django/contrib/contenttypes/tests.py b/django/contrib/contenttypes/tests.py
    index 3b7906c..12033c4 100644
    a b  
    1 from __future__ import with_statement
    21
    32import urllib
    43
  • django/contrib/flatpages/tests/forms.py

    diff --git a/django/contrib/flatpages/tests/forms.py b/django/contrib/flatpages/tests/forms.py
    index 12b47e8..ff02d68 100644
    a b  
    1 from __future__ import with_statement
    21
    32from django.conf import settings
    43from django.contrib.flatpages.forms import FlatpageForm
  • django/contrib/formtools/tests/wizard/wizardtests/tests.py

    diff --git a/django/contrib/formtools/tests/wizard/wizardtests/tests.py b/django/contrib/formtools/tests/wizard/wizardtests/tests.py
    index 2ef39dc..24234e4 100644
    a b  
    1 from __future__ import with_statement
    21import os
    32
    43from django import forms
  • django/contrib/humanize/tests.py

    diff --git a/django/contrib/humanize/tests.py b/django/contrib/humanize/tests.py
    index f921b12..2decc4e 100644
    a b  
    1 from __future__ import with_statement
    21
    32import datetime
    43import new
  • django/contrib/sessions/tests.py

    diff --git a/django/contrib/sessions/tests.py b/django/contrib/sessions/tests.py
    index 7686bd2..4d2fefe 100644
    a b  
    1 from __future__ import with_statement
    21
    32from datetime import datetime, timedelta
    43import shutil
  • django/contrib/staticfiles/management/commands/collectstatic.py

    diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py
    index 850b013..859538b 100644
    a b  
    1 from __future__ import with_statement
    21
    32import os
    43import sys
  • django/contrib/staticfiles/storage.py

    diff --git a/django/contrib/staticfiles/storage.py b/django/contrib/staticfiles/storage.py
    index c000f97..ea18497 100644
    a b  
    1 from __future__ import with_statement
    21import hashlib
    32import os
    43import posixpath
  • django/core/cache/backends/locmem.py

    diff --git a/django/core/cache/backends/locmem.py b/django/core/cache/backends/locmem.py
    index 6ba0c98..701891e 100644
    a b  
    11"Thread-safe in-memory cache backend."
    22
    3 from __future__ import with_statement
    43
    54import time
    65try:
  • django/core/management/base.py

    diff --git a/django/core/management/base.py b/django/core/management/base.py
    index db855e1..aec1a99 100644
    a b Base classes for writing management commands (named commands which can  
    33be executed through ``django-admin.py`` or ``manage.py``).
    44
    55"""
    6 from __future__ import with_statement
    76import os
    87import sys
    98
  • django/core/management/commands/loaddata.py

    diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py
    index 0c234fb..176ccef 100644
    a b  
    11# This is necessary in Python 2.5 to enable the with statement, in 2.6
    22# and up it is no longer necessary.
    3 from __future__ import with_statement
    43
    54import sys
    65import os
  • django/core/management/templates.py

    diff --git a/django/core/management/templates.py b/django/core/management/templates.py
    index 9a4b2c1..b2a1226 100644
    a b  
    1 from __future__ import with_statement
    21import cgi
    32import errno
    43import mimetypes
  • django/db/transaction.py

    diff --git a/django/db/transaction.py b/django/db/transaction.py
    index 4ecd2d1..f3ce2b2 100644
    a b called, a commit is made.  
    1111Managed transactions don't do those commits, but will need some kind of manual
    1212or implicit commits or rollbacks.
    1313"""
    14 from __future__ import with_statement
    1514
    1615from functools import wraps
    1716
  • django/templatetags/i18n.py

    diff --git a/django/templatetags/i18n.py b/django/templatetags/i18n.py
    index dc3d93e..ca79f41 100644
    a b  
    1 from __future__ import with_statement
    21import re
    32
    43from django.template import (Node, Variable, TemplateSyntaxError,
  • django/templatetags/tz.py

    diff --git a/django/templatetags/tz.py b/django/templatetags/tz.py
    index 48c511f..c303b41 100644
    a b  
    1 from __future__ import with_statement
    21
    32from datetime import datetime, tzinfo
    43
  • django/test/testcases.py

    diff --git a/django/test/testcases.py b/django/test/testcases.py
    index b5e1dc0..5413177 100644
    a b  
    1 from __future__ import with_statement
    21
    32import difflib
    43import os
  • django/test/utils.py

    diff --git a/django/test/utils.py b/django/test/utils.py
    index ed5ab59..3f38428 100644
    a b  
    1 from __future__ import with_statement
    21
    32import warnings
    43from django.conf import settings, UserSettingsHolder
  • django/utils/archive.py

    diff --git a/django/utils/archive.py b/django/utils/archive.py
    index 9c2d4ac..027acf7 100644
    a b LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
    2121OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    2222THE SOFTWARE.
    2323"""
    24 from __future__ import with_statement
    2524import os
    2625import shutil
    2726import sys
  • django/utils/synch.py

    diff --git a/django/utils/synch.py b/django/utils/synch.py
    index d6ae2f0..7c19a36 100644
    a b Synchronization primitives:  
    66(Contributed to Django by eugene@lazutkin.com)
    77"""
    88
    9 from __future__ import with_statement
    109
    1110import contextlib
    1211try:
  • django/views/static.py

    diff --git a/django/views/static.py b/django/views/static.py
    index ed23779..2a75613 100644
    a b  
    22Views and functions for serving static files. These are only to be used
    33during development, and SHOULD NOT be used in a production setting.
    44"""
    5 from __future__ import with_statement
    65
    76import mimetypes
    87import os
  • tests/modeltests/distinct_on_fields/tests.py

    diff --git a/tests/modeltests/distinct_on_fields/tests.py b/tests/modeltests/distinct_on_fields/tests.py
    index 5021bc8..4d827d1 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from django.db.models import Max
    44from django.test import TestCase, skipUnlessDBFeature
  • tests/modeltests/empty/tests.py

    diff --git a/tests/modeltests/empty/tests.py b/tests/modeltests/empty/tests.py
    index 255b80e..db464c6 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.conf import settings
    44from django.core.exceptions import ImproperlyConfigured
  • tests/modeltests/files/tests.py

    diff --git a/tests/modeltests/files/tests.py b/tests/modeltests/files/tests.py
    index 50017be..3bfe193 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33import shutil
    44import tempfile
  • tests/modeltests/lookup/tests.py

    diff --git a/tests/modeltests/lookup/tests.py b/tests/modeltests/lookup/tests.py
    index 3571e21..60ab25f 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from datetime import datetime
    44from operator import attrgetter
  • tests/modeltests/many_to_many/tests.py

    diff --git a/tests/modeltests/many_to_many/tests.py b/tests/modeltests/many_to_many/tests.py
    index 9fa524f..44bdde3 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from django.test import TestCase
    44
  • tests/modeltests/many_to_one/tests.py

    diff --git a/tests/modeltests/many_to_one/tests.py b/tests/modeltests/many_to_one/tests.py
    index d9d67bb..aed952f 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from copy import deepcopy
    44from datetime import datetime
  • tests/modeltests/many_to_one_null/tests.py

    diff --git a/tests/modeltests/many_to_one_null/tests.py b/tests/modeltests/many_to_one_null/tests.py
    index 1e302ec..1a404bd 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.test import TestCase
    44
  • tests/modeltests/model_forms/tests.py

    diff --git a/tests/modeltests/model_forms/tests.py b/tests/modeltests/model_forms/tests.py
    index a2ad024..559ef0a 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33import datetime
    44import os
  • tests/modeltests/prefetch_related/tests.py

    diff --git a/tests/modeltests/prefetch_related/tests.py b/tests/modeltests/prefetch_related/tests.py
    index b0bc435..135b5b8 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.contrib.contenttypes.models import ContentType
    44from django.test import TestCase
  • tests/modeltests/properties/tests.py

    diff --git a/tests/modeltests/properties/tests.py b/tests/modeltests/properties/tests.py
    index f01b22a..8a40d06 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.test import TestCase
    44
  • tests/modeltests/select_related/tests.py

    diff --git a/tests/modeltests/select_related/tests.py b/tests/modeltests/select_related/tests.py
    index 1b3715a..ebe2f8c 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.test import TestCase
    44
  • tests/modeltests/serializers/tests.py

    diff --git a/tests/modeltests/serializers/tests.py b/tests/modeltests/serializers/tests.py
    index 309a83e..d474937 100644
    a b  
    11# This is necessary in Python 2.5 to enable the with statement, in 2.6
    22# and up it is no longer necessary.
    3 from __future__ import with_statement, absolute_import
     3from __future__ import absolute_import
    44
    55# -*- coding: utf-8 -*-
    66from datetime import datetime
  • tests/modeltests/timezones/tests.py

    diff --git a/tests/modeltests/timezones/tests.py b/tests/modeltests/timezones/tests.py
    index 171c218..5ed5ae7 100644
    a b  
    1 from __future__ import with_statement
    21
    32import datetime
    43import os
  • tests/modeltests/transactions/tests.py

    diff --git a/tests/modeltests/transactions/tests.py b/tests/modeltests/transactions/tests.py
    index ed416e2..f3246ee 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.db import connection, transaction, IntegrityError
    44from django.test import TransactionTestCase, skipUnlessDBFeature
  • tests/modeltests/user_commands/tests.py

    diff --git a/tests/modeltests/user_commands/tests.py b/tests/modeltests/user_commands/tests.py
    index e138e07..360ee50 100644
    a b  
    1 from __future__ import with_statement
    21
    32from StringIO import StringIO
    43
  • tests/modeltests/validation/__init__.py

    diff --git a/tests/modeltests/validation/__init__.py b/tests/modeltests/validation/__init__.py
    index 4a1ad3a..728b04a 100644
    a b  
    1 from __future__ import with_statement
    21
    32from django.core.exceptions import ValidationError
    43from django.test import TestCase
  • tests/modeltests/validation/test_unique.py

    diff --git a/tests/modeltests/validation/test_unique.py b/tests/modeltests/validation/test_unique.py
    index 3ae981d..497bb9d 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33import datetime
    44
  • tests/regressiontests/admin_changelist/tests.py

    diff --git a/tests/regressiontests/admin_changelist/tests.py b/tests/regressiontests/admin_changelist/tests.py
    index d2b017b..7e4546e 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.contrib import admin
    44from django.contrib.admin.options import IncorrectLookupParameters
  • tests/regressiontests/admin_scripts/tests.py

    diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
    index 669c6e8..dd3b0b4 100644
    a b A series of tests to establish that the command-line managment tools work as  
    33advertised - especially with regards to the handling of the DJANGO_SETTINGS_MODULE
    44and default settings.py files.
    55"""
    6 from __future__ import with_statement
    76
    87import os
    98import re
  • tests/regressiontests/admin_views/tests.py

    diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
    index 12f1c67..b471844 100644
    a b  
    11# coding: utf-8
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44import os
    55import re
  • tests/regressiontests/admin_widgets/tests.py

    diff --git a/tests/regressiontests/admin_widgets/tests.py b/tests/regressiontests/admin_widgets/tests.py
    index 87e0309..ab6db4d 100644
    a b  
    11# encoding: utf-8
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44from datetime import datetime
    55
  • tests/regressiontests/backends/tests.py

    diff --git a/tests/regressiontests/backends/tests.py b/tests/regressiontests/backends/tests.py
    index cfb662e..d5b1ea8 100644
    a b  
    11# -*- coding: utf-8 -*-
    22# Unit and doctests for specific database backends.
    3 from __future__ import with_statement, absolute_import
     3from __future__ import absolute_import
    44
    55import datetime
    66import threading
  • tests/regressiontests/bug8245/tests.py

    diff --git a/tests/regressiontests/bug8245/tests.py b/tests/regressiontests/bug8245/tests.py
    index b756b84..820318f 100644
    a b  
    1 from __future__ import with_statement
    21
    32from django.contrib import admin
    43from django.utils.unittest import TestCase
  • tests/regressiontests/bulk_create/tests.py

    diff --git a/tests/regressiontests/bulk_create/tests.py b/tests/regressiontests/bulk_create/tests.py
    index 0fa142b..284ea9f 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from operator import attrgetter
    44
  • tests/regressiontests/cache/tests.py

    diff --git a/tests/regressiontests/cache/tests.py b/tests/regressiontests/cache/tests.py
    index bd29cde..6dbc03d 100644
    a b  
    22
    33# Unit tests for cache framework
    44# Uses whatever cache backend is set in the test settings file.
    5 from __future__ import with_statement, absolute_import
     5from __future__ import absolute_import
    66
    77import hashlib
    88import os
  • tests/regressiontests/comment_tests/tests/model_tests.py

    diff --git a/tests/regressiontests/comment_tests/tests/model_tests.py b/tests/regressiontests/comment_tests/tests/model_tests.py
    index 11d96ae..69c1a81 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from django.contrib.comments.models import Comment
    44
  • tests/regressiontests/comment_tests/tests/templatetag_tests.py

    diff --git a/tests/regressiontests/comment_tests/tests/templatetag_tests.py b/tests/regressiontests/comment_tests/tests/templatetag_tests.py
    index 0b036ce..62b3fb3 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.contrib.comments.forms import CommentForm
    44from django.contrib.comments.models import Comment
  • tests/regressiontests/csrf_tests/tests.py

    diff --git a/tests/regressiontests/csrf_tests/tests.py b/tests/regressiontests/csrf_tests/tests.py
    index 71400ea..d403951 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement
    32
    43from django.conf import settings
    54from django.core.context_processors import csrf
  • tests/regressiontests/defaultfilters/tests.py

    diff --git a/tests/regressiontests/defaultfilters/tests.py b/tests/regressiontests/defaultfilters/tests.py
    index 1660a75..38e44d4 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement
    32
    43import datetime
    54import decimal
  • tests/regressiontests/defer_regress/tests.py

    diff --git a/tests/regressiontests/defer_regress/tests.py b/tests/regressiontests/defer_regress/tests.py
    index 4afe39b..c9baad6 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from operator import attrgetter
    44
  • tests/regressiontests/forms/tests/models.py

    diff --git a/tests/regressiontests/forms/tests/models.py b/tests/regressiontests/forms/tests/models.py
    index b5e2c3a..64cd18b 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44import datetime
    55
  • tests/regressiontests/forms/tests/regressions.py

    diff --git a/tests/regressiontests/forms/tests/regressions.py b/tests/regressiontests/forms/tests/regressions.py
    index a93781d..267ef30 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement
    32from django.forms import *
    43from django.test import TestCase
    54from django.utils.translation import ugettext_lazy, override
  • tests/regressiontests/i18n/commands/compilation.py

    diff --git a/tests/regressiontests/i18n/commands/compilation.py b/tests/regressiontests/i18n/commands/compilation.py
    index ee558b2..113b412 100644
    a b  
    1 from __future__ import with_statement
    21
    32import os
    43try:
  • tests/regressiontests/i18n/commands/extraction.py

    diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py
    index 4eb7abc..fb9ca4e 100644
    a b  
    11# -*- encoding: utf-8 -*-
    2 from __future__ import with_statement
    32
    43import os
    54import re
  • tests/regressiontests/i18n/contenttypes/tests.py

    diff --git a/tests/regressiontests/i18n/contenttypes/tests.py b/tests/regressiontests/i18n/contenttypes/tests.py
    index 79928d9..a44895f 100644
    a b  
    11# coding: utf-8
    2 from __future__ import with_statement
    32
    43import os
    54
  • tests/regressiontests/i18n/patterns/tests.py

    diff --git a/tests/regressiontests/i18n/patterns/tests.py b/tests/regressiontests/i18n/patterns/tests.py
    index 16fbec0..1af2bea 100644
    a b  
    1 from __future__ import with_statement
    21
    32import os
    43import warnings
  • tests/regressiontests/i18n/tests.py

    diff --git a/tests/regressiontests/i18n/tests.py b/tests/regressiontests/i18n/tests.py
    index 99a55bd..f0b4a61 100644
    a b  
    11# -*- encoding: utf-8 -*-
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44import datetime
    55import decimal
  • tests/regressiontests/logging_tests/tests.py

    diff --git a/tests/regressiontests/logging_tests/tests.py b/tests/regressiontests/logging_tests/tests.py
    index 4e29e25..1cf9e85 100644
    a b  
    1 from __future__ import with_statement
    21
    32import copy
    43
  • tests/regressiontests/model_formsets_regress/tests.py

    diff --git a/tests/regressiontests/model_formsets_regress/tests.py b/tests/regressiontests/model_formsets_regress/tests.py
    index d058f1d..f1e935e 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from django import forms
    44from django.forms.formsets import BaseFormSet, DELETION_FIELD_NAME
  • tests/regressiontests/modeladmin/tests.py

    diff --git a/tests/regressiontests/modeladmin/tests.py b/tests/regressiontests/modeladmin/tests.py
    index f9dec69..04b02eb 100644
    a b  
    1 from __future__ import absolute_import, with_statement
     1from __future__ import absolute_import
    22
    33from datetime import date
    44
  • tests/regressiontests/requests/tests.py

    diff --git a/tests/regressiontests/requests/tests.py b/tests/regressiontests/requests/tests.py
    index b7a4788..11d2e45 100644
    a b  
    1 from __future__ import with_statement
    21
    32import time
    43import warnings
  • tests/regressiontests/select_related_onetoone/tests.py

    diff --git a/tests/regressiontests/select_related_onetoone/tests.py b/tests/regressiontests/select_related_onetoone/tests.py
    index 643a0ff..d57ee90 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33from django.test import TestCase
    44
  • tests/regressiontests/serializers_regress/tests.py

    diff --git a/tests/regressiontests/serializers_regress/tests.py b/tests/regressiontests/serializers_regress/tests.py
    index 65194da..cbc7bd9 100644
    a b forward, backwards and self references.  
    88"""
    99# This is necessary in Python 2.5 to enable the with statement, in 2.6
    1010# and up it is no longer necessary.
    11 from __future__ import with_statement, absolute_import
     11from __future__ import absolute_import
    1212
    1313import datetime
    1414import decimal
  • tests/regressiontests/settings_tests/tests.py

    diff --git a/tests/regressiontests/settings_tests/tests.py b/tests/regressiontests/settings_tests/tests.py
    index a2e6c49..9d87315 100644
    a b  
    1 from __future__ import with_statement
    21
    32import os
    43
  • tests/regressiontests/staticfiles_tests/tests.py

    diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py
    index 733c3cc..7639161 100644
    a b  
    11# -*- encoding: utf-8 -*-
    2 from __future__ import with_statement
    32
    43import codecs
    54import os
  • tests/regressiontests/templates/response.py

    diff --git a/tests/regressiontests/templates/response.py b/tests/regressiontests/templates/response.py
    index 5feb8cc..811359e 100644
    a b  
    1 from __future__ import with_statement
    21
    32import os
    43import pickle
  • tests/regressiontests/templates/tests.py

    diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py
    index f74aa75..e166f7e 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44from django.conf import settings
    55
  • tests/regressiontests/test_utils/tests.py

    diff --git a/tests/regressiontests/test_utils/tests.py b/tests/regressiontests/test_utils/tests.py
    index 7f4208c..3afce90 100644
    a b  
    11# -*- coding: utf-8 -*-
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44from django.forms import EmailField, IntegerField
    55from django.http import HttpResponse
  • tests/regressiontests/text/tests.py

    diff --git a/tests/regressiontests/text/tests.py b/tests/regressiontests/text/tests.py
    index 2bbd8ef..e4c4c00 100644
    a b  
    11# coding: utf-8
    2 from __future__ import with_statement
    32
    43from django.test import TestCase
    54from django.utils.encoding import iri_to_uri
  • tests/regressiontests/views/tests/debug.py

    diff --git a/tests/regressiontests/views/tests/debug.py b/tests/regressiontests/views/tests/debug.py
    index c6f248a..2be33c4 100644
    a b  
    1 from __future__ import with_statement, absolute_import
     1from __future__ import absolute_import
    22
    33import inspect
    44import os
  • tests/regressiontests/views/tests/i18n.py

    diff --git a/tests/regressiontests/views/tests/i18n.py b/tests/regressiontests/views/tests/i18n.py
    index 877cf96..9993ae9 100644
    a b  
    11# -*- coding:utf-8 -*-
    2 from __future__ import with_statement, absolute_import
     2from __future__ import absolute_import
    33
    44import gettext
    55from os import path
  • tests/regressiontests/wsgi/tests.py

    diff --git a/tests/regressiontests/wsgi/tests.py b/tests/regressiontests/wsgi/tests.py
    index 9da2adc..9bca2db 100644
    a b  
    1 from __future__ import with_statement
    21
    32from django.core.exceptions import ImproperlyConfigured
    43from django.core.servers.basehttp import get_internal_wsgi_application
Back to Top