Skip to content

Commit 0ffc788

Browse files
committed
chore: roll Playwright to 1.19.2 (microsoft#1172)
1 parent 1cce06a commit 0ffc788

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy