Skip to content

Commit 472c4ef

Browse files
committed
Fix hook param name in nonpython example
Follow up to #9363
1 parent 70d3d0f commit 472c4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/example/nonpython/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44

5-
def pytest_collect_file(parent, fspath):
5+
def pytest_collect_file(parent, collection_path):
66
if fspath.suffix == ".yaml" and fspath.name.startswith("test"):
77
return YamlFile.from_parent(parent, path=fspath)
88

0 commit comments

Comments
 (0)