We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12274d0 commit 5ad7288Copy full SHA for 5ad7288
tests/test_cookie_helpers.py
@@ -1178,9 +1178,7 @@ def test_parse_set_cookie_headers_literal_ctl_chars() -> None:
1178
1179
def test_parse_set_cookie_headers_literal_ctl_chars_preserves_others() -> None:
1180
"""Ensure a cookie with literal control chars doesn't break subsequent cookies."""
1181
- result = parse_set_cookie_headers(
1182
- ['bad="a\x07b"; good=value', "another=cookie"]
1183
- )
+ result = parse_set_cookie_headers(['bad="a\x07b"; good=value', "another=cookie"])
1184
# "good" is an attribute of "bad" (same header), so it's not a separate cookie.
1185
# "another" is in a separate header and must always be preserved.
1186
names = [name for name, _ in result]
0 commit comments