Skip to content

Commit 81f89a4

Browse files
committed
Added changelog and fixed condition for pickle serializer for sessions
1 parent ae6ab72 commit 81f89a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/646.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skipping pickle serializer test for django >= 4.2

tests/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class SessionTests(SessionTestsMixin, unittest.TestCase):
368368
backend = CacheSession
369369

370370
@pytest.mark.skipif(
371-
django.VERSION > (4, 2),
371+
django.VERSION >= (4, 2),
372372
reason="PickleSerializer is removed as of https://code.djangoproject.com/ticket/29708",
373373
)
374374
def test_actual_expiry(self):

0 commit comments

Comments
 (0)