Removed dictionary and context_instance parameters for render functions.

Per deprecation timeline.
This commit is contained in:
Tim Graham 2015-09-03 22:01:30 -04:00
parent b3641512c8
commit 9023696613
11 changed files with 29 additions and 256 deletions

View file

@ -20,9 +20,7 @@ from django.test import (
from django.test.client import RedirectCycleError, RequestFactory, encode_file
from django.test.utils import ContextList, str_prefix
from django.utils._os import upath
from django.utils.deprecation import (
RemovedInDjango20Warning, RemovedInDjango110Warning,
)
from django.utils.deprecation import RemovedInDjango20Warning
from django.utils.translation import ugettext_lazy
from .models import CustomUser
@ -1064,7 +1062,6 @@ class ContextTests(TestDataMixin, TestCase):
'python', 'dolly'},
l.keys())
@ignore_warnings(category=RemovedInDjango110Warning)
def test_15368(self):
# Need to insert a context processor that assumes certain things about
# the request instance. This triggers a bug caused by some ways of