@@ -188,7 +188,7 @@ def pytest_ignore_collect(path, config):
188
188
189
189
Stops at first non-None result, see :ref:`firstresult`
190
190
191
- :param str path: the path to analyze
191
+ :param path: a :py:class:`py.path.local` - the path to analyze
192
192
:param _pytest.config.Config config: pytest config object
193
193
"""
194
194
@@ -199,15 +199,15 @@ def pytest_collect_directory(path, parent):
199
199
200
200
Stops at first non-None result, see :ref:`firstresult`
201
201
202
- :param str path: the path to analyze
202
+ :param path: a :py:class:`py.path.local` - the path to analyze
203
203
"""
204
204
205
205
206
206
def pytest_collect_file (path , parent ):
207
207
""" return collection Node or None for the given path. Any new node
208
208
needs to have the specified ``parent`` as a parent.
209
209
210
- :param str path: the path to collect
210
+ :param path: a :py:class:`py.path.local` - the path to collect
211
211
"""
212
212
213
213
@@ -249,7 +249,10 @@ def pytest_pycollect_makemodule(path, parent):
249
249
The pytest_collect_file hook needs to be used if you want to
250
250
create test modules for files that do not match as a test module.
251
251
252
- Stops at first non-None result, see :ref:`firstresult` """
252
+ Stops at first non-None result, see :ref:`firstresult`
253
+
254
+ :param path: a :py:class:`py.path.local` - the path of module to collect
255
+ """
253
256
254
257
255
258
@hookspec (firstresult = True )
0 commit comments