From 1f8e290a7b287c5d8aaafd0ff91692d1343ce1a9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 13 Mar 2022 18:23:15 -0500 Subject: pyupgrade --py37-plus --- tests/test_session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_session.py') diff --git a/tests/test_session.py b/tests/test_session.py index b86abe191..f0c0540e5 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -160,9 +160,9 @@ class SharedCookieSessionTests: response = Response() self.assertEqual(session._set_cookie(response), True) cookieval = response.headerlist[-1][1] - val, domain, path, secure, httponly, samesite = [ + val, domain, path, secure, httponly, samesite = ( x.strip() for x in cookieval.split(';') - ] + ) self.assertTrue(val.startswith('abc=')) self.assertEqual(domain, 'Domain=localhost') self.assertEqual(path, 'Path=/foo') -- cgit v1.2.3