Skip to content

Commit d9c311c

Browse files
authored
chore: roll Playwright to 1.19.2 (#1172)
1 parent 1cce06a commit d9c311c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
InWheel = None
3131
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
3232

33-
driver_version = "1.19.0"
33+
driver_version = "1.19.2"
3434

3535

3636
def extractall(zip: zipfile.ZipFile, path: str) -> None:

tests/async/test_fetch_global.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ async def test_should_work(playwright: Playwright, method: str, server: Server):
4141
"name": "Content-Type",
4242
"value": "application/json",
4343
} in response.headers_array
44-
assert await response.text() == (
45-
"" if method in ["head", "put"] else '{"foo": "bar"}\n'
46-
)
44+
assert await response.text() == ("" if method == "head" else '{"foo": "bar"}\n')
4745

4846

4947
async def test_should_dispose_global_request(playwright: Playwright, server: Server):

tests/sync/test_fetch_global.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_should_work(playwright: Playwright, method: str, server: Server) -> Non
3636
"name": "Content-Type",
3737
"value": "application/json",
3838
} in response.headers_array
39-
assert response.text() == ("" if method in ["head", "put"] else '{"foo": "bar"}\n')
39+
assert response.text() == ("" if method == "head" else '{"foo": "bar"}\n')
4040

4141

4242
def test_should_dispose_global_request(playwright: Playwright, server: Server) -> None:

0 commit comments

Comments
 (0)