Skip to content

Commit ea833ce

Browse files
authored
chore: add py.typed file (#245)
1 parent ad46f15 commit ea833ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pytest_playwright/py.typed

Whitespace-only changes.

tests/test_playwright.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,9 @@ def test_artifact_collection_should_work_for_manually_created_contexts_keep_open
775775
testdir.makepyfile(
776776
"""
777777
import pytest
778+
from pytest_playwright.pytest_playwright import CreateContextCallback
778779
779-
def test_artifact_collection(browser, page, new_context):
780+
def test_artifact_collection(browser, page, new_context: CreateContextCallback):
780781
page.goto("data:text/html,<div>hello</div>")
781782
782783
other_context = new_context()

0 commit comments

Comments
 (0)