From 4157c502a5202798d0f73645181cb82aa71d34d9 Mon Sep 17 00:00:00 2001 From: Piotr Jakimiak Date: Wed, 13 May 2015 20:51:18 +0200 Subject: Removed unnecessary arguments in .get method calls --- django/test/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/test') diff --git a/django/test/client.py b/django/test/client.py index d845fe76a7..043bf884a1 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -414,7 +414,7 @@ class Client(RequestFactory): """ if apps.is_installed('django.contrib.sessions'): engine = import_module(settings.SESSION_ENGINE) - cookie = self.cookies.get(settings.SESSION_COOKIE_NAME, None) + cookie = self.cookies.get(settings.SESSION_COOKIE_NAME) if cookie: return engine.SessionStore(cookie.value) else: -- cgit v1.3