Skip to content

Commit 9d572cd

Browse files
authored
Merge pull request #651 from WisdomPill/fix_646_changelog
Fix 646 changelog and flake8
2 parents ae6ab72 + 1cb1607 commit 9d572cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ class SessionTests(SessionTestsMixin, unittest.TestCase):
368368
backend = CacheSession
369369

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

0 commit comments

Comments
 (0)