From 744fa8b6e68eeccb6ccf9d8e9e425ef1ec757663 Mon Sep 17 00:00:00 2001 From: Ross Wollman Date: Wed, 3 Aug 2022 15:03:22 -0700 Subject: [PATCH] docs(python): remove random fixture (#16226) --- docs/src/intro-python.md | 4 +--- docs/src/writing-tests-python.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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.