diff --git a/django/contrib/sessions/tests.py b/django/contrib/sessions/tests.py index 25562756b9..2a4d6c8766 100644 --- a/django/contrib/sessions/tests.py +++ b/django/contrib/sessions/tests.py @@ -1,3 +1,5 @@ +from __future__ import with_statement + from datetime import datetime, timedelta import shutil import tempfile @@ -7,7 +9,7 @@ from django.contrib.sessions.backends.db import SessionStore as DatabaseSession from django.contrib.sessions.backends.cache import SessionStore as CacheSession from django.contrib.sessions.backends.cached_db import SessionStore as CacheDBSession from django.contrib.sessions.backends.file import SessionStore as FileSession -from django.contrib.sessions.backends.cookies import SessionStore as CookieSession +from django.contrib.sessions.backends.signed_cookies import SessionStore as CookieSession from django.contrib.sessions.models import Session from django.contrib.sessions.middleware import SessionMiddleware from django.core.exceptions import ImproperlyConfigured, SuspiciousOperation