diff --git a/tests/async/test_browsercontext_route.py b/tests/async/test_browsercontext_route.py index 5f4140b637..d629be467c 100644 --- a/tests/async/test_browsercontext_route.py +++ b/tests/async/test_browsercontext_route.py @@ -331,7 +331,7 @@ async def test_should_override_post_body_with_empty_string( ), ) - assert req[0].post_body == "" + assert req[0].post_body == b"" async def test_should_chain_fallback(