Skip to content

Commit 480ef68

Browse files
committed
Fix type hints
1 parent 513c9c3 commit 480ef68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
path = pathlib.Path
2424
else:
2525
# 3rd party
26-
from sphinx.testing.path import path # type: ignore[assignment]
26+
from sphinx.testing.path import path # type: ignore[misc]
2727

2828
pytest_plugins = ("coincidence", "sphinx.testing.fixtures", "sphinx_toolbox.testing")
2929

@@ -104,7 +104,7 @@ def content(the_app: Sphinx) -> Iterator[Sphinx]:
104104

105105

106106
@pytest.fixture()
107-
def page(content: Any, request: Any) -> Iterator[BeautifulSoup]:
107+
def page(content: Any, request: Any) -> BeautifulSoup:
108108
pagename = request.param
109109
c = (content.outdir / pagename).read_text()
110110

0 commit comments

Comments
 (0)