Skip to content

Commit

Permalink
chore: add py.typed file (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Sep 6, 2024
1 parent ad46f15 commit ea833ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file added pytest_playwright/py.typed
Empty file.
3 changes: 2 additions & 1 deletion tests/test_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,9 @@ def test_artifact_collection_should_work_for_manually_created_contexts_keep_open
testdir.makepyfile(
"""
import pytest
from pytest_playwright.pytest_playwright import CreateContextCallback
def test_artifact_collection(browser, page, new_context):
def test_artifact_collection(browser, page, new_context: CreateContextCallback):
page.goto("data:text/html,<div>hello</div>")
other_context = new_context()
Expand Down

0 comments on commit ea833ce

Please sign in to comment.