diff --git a/setup.py b/setup.py index 2490536ef..217fb6f0e 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ InWheel = None from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand -driver_version = "1.19.0" +driver_version = "1.19.2" def extractall(zip: zipfile.ZipFile, path: str) -> None: diff --git a/tests/async/test_fetch_global.py b/tests/async/test_fetch_global.py index 0b3b56a03..98af083ef 100644 --- a/tests/async/test_fetch_global.py +++ b/tests/async/test_fetch_global.py @@ -41,9 +41,7 @@ async def test_should_work(playwright: Playwright, method: str, server: Server): "name": "Content-Type", "value": "application/json", } in response.headers_array - assert await response.text() == ( - "" if method in ["head", "put"] else '{"foo": "bar"}\n' - ) + assert await response.text() == ("" if method == "head" else '{"foo": "bar"}\n') async def test_should_dispose_global_request(playwright: Playwright, server: Server): diff --git a/tests/sync/test_fetch_global.py b/tests/sync/test_fetch_global.py index fcf21e1c3..a4d7e71ff 100644 --- a/tests/sync/test_fetch_global.py +++ b/tests/sync/test_fetch_global.py @@ -36,7 +36,7 @@ def test_should_work(playwright: Playwright, method: str, server: Server) -> Non "name": "Content-Type", "value": "application/json", } in response.headers_array - assert response.text() == ("" if method in ["head", "put"] else '{"foo": "bar"}\n') + assert response.text() == ("" if method == "head" else '{"foo": "bar"}\n') def test_should_dispose_global_request(playwright: Playwright, server: Server) -> None: