File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ async def text(self) -> str:
330330 content = await self .body ()
331331 return content .decode ()
332332
333- async def json (self ) -> Union [ Any ] :
333+ async def json (self ) -> Any :
334334 return json .loads (await self .text ())
335335
336336 @property
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ ignore_errors = true
2929profile = " black"
3030
3131[tool .pyright ]
32- include = [" playwright" ]
33- ignore = [" tests/" , " scripts/" ]
32+ include = [" playwright" , " tests/sync " ]
33+ ignore = [" tests/async/ " , " scripts/" ]
3434pythonVersion = " 3.7"
3535reportMissingImports = false
36- reportTypedDictNotRequiredAccess = false
36+ reportTypedDictNotRequiredAccess = false
Original file line number Diff line number Diff line change 1717
1818import pytest
1919
20- from playwright ._impl . _page import Page
20+ from playwright .sync_api import Page
2121
2222
2323@pytest .mark .only_browser ("chromium" )
You can’t perform that action at this time.
0 commit comments