Skip to content

Commit

Permalink
Update test_http_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Aug 5, 2023
1 parent 497f371 commit c4d6b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_http_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def test_invalid_character(loop: Any, protocol: Any, request: Any) -> None:
error_detail = re.escape(
r""":
b'Set-Cookie: abc\x01def\r'
b'Set-Cookie: abc\x01def'
^"""
)
with pytest.raises(http_exceptions.BadHttpMessage, match=error_detail):
Expand Down

0 comments on commit c4d6b9c

Please sign in to comment.