From 88393357a6839fb4ce57793523bc25b17dc188a4 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 28 Oct 2012 16:51:51 +0100 Subject: [PATCH] [1.5.x] Marked cookies-based session expiry test as an expected failure. Refs #19201. Backport of 58337b3 from master. --- django/contrib/sessions/tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/django/contrib/sessions/tests.py b/django/contrib/sessions/tests.py index 129cd217354..718967791d7 100644 --- a/django/contrib/sessions/tests.py +++ b/django/contrib/sessions/tests.py @@ -542,3 +542,8 @@ class CookieSessionTests(SessionTestsMixin, TestCase): testing for this behavior is meaningless. """ pass + + @unittest.expectedFailure + def test_actual_expiry(self): + # The cookie backend doesn't handle non-default expiry dates, see #19201 + super(CookieSessionTests, self).test_actual_expiry()