diff --git a/docs/src/intro-python.md b/docs/src/intro-python.md index 86ee0f2ce3..0aac99652d 100644 --- a/docs/src/intro-python.md +++ b/docs/src/intro-python.md @@ -30,9 +30,7 @@ import re from playwright.sync_api import Page, expect -def test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page( - page: Page, foo -): +def test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page(page: Page): page.goto("https://playwright.dev/") # Expect a title "to contain" a substring. diff --git a/docs/src/writing-tests-python.md b/docs/src/writing-tests-python.md index 7bac7b01bb..6e1ab0904f 100644 --- a/docs/src/writing-tests-python.md +++ b/docs/src/writing-tests-python.md @@ -12,9 +12,7 @@ import re from playwright.sync_api import Page, expect -def test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page( - page: Page, foo -): +def test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page(page: Page): page.goto("https://playwright.dev/") # Expect a title "to contain" a substring.