Skip to content

Commit b593dde

Browse files
committed
fixup! typing: python: pytest_pyfunc_call
1 parent 7516bb3 commit b593dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def async_warn(pyfuncitem: "Function") -> None:
183183

184184

185185
@hookimpl(trylast=True)
186-
def pytest_pyfunc_call(pyfuncitem: "Function") -> Literal[True]:
186+
def pytest_pyfunc_call(pyfuncitem: "Function") -> "Literal[True]":
187187
testfunction = pyfuncitem.obj
188188
if iscoroutinefunction(testfunction) or (
189189
sys.version_info >= (3, 6) and inspect.isasyncgenfunction(testfunction)

0 commit comments

Comments
 (0)