mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -131,8 +131,8 @@ class CookieTests(BaseTests, SimpleTestCase):
|
||||
|
||||
# When storing as a cookie, the cookie has constant overhead of approx
|
||||
# 54 chars, and each message has a constant overhead of about 37 chars
|
||||
# and a variable overhead of zero in the best case. We aim for a message
|
||||
# size which will fit 4 messages into the cookie, but not 5.
|
||||
# and a variable overhead of zero in the best case. We aim for a
|
||||
# message size which will fit 4 messages into the cookie, but not 5.
|
||||
# See also FallbackTest.test_session_fallback
|
||||
msg_size = int((CookieStorage.max_cookie_size - 54) / 4.5 - 37)
|
||||
first_msg = None
|
||||
|
||||
Reference in New Issue
Block a user