@@ -188,7 +188,7 @@ def pytest_ignore_collect(path, config):
188188
189189 Stops at first non-None result, see :ref:`firstresult`
190190
191- :param str path: the path to analyze
191+ :param path: a :py:class:`py.path.local` - the path to analyze
192192 :param _pytest.config.Config config: pytest config object
193193 """
194194
@@ -199,15 +199,15 @@ def pytest_collect_directory(path, parent):
199199
200200 Stops at first non-None result, see :ref:`firstresult`
201201
202- :param str path: the path to analyze
202+ :param path: a :py:class:`py.path.local` - the path to analyze
203203 """
204204
205205
206206def pytest_collect_file (path , parent ):
207207 """ return collection Node or None for the given path. Any new node
208208 needs to have the specified ``parent`` as a parent.
209209
210- :param str path: the path to collect
210+ :param path: a :py:class:`py.path.local` - the path to collect
211211 """
212212
213213
@@ -249,7 +249,10 @@ def pytest_pycollect_makemodule(path, parent):
249249 The pytest_collect_file hook needs to be used if you want to
250250 create test modules for files that do not match as a test module.
251251
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+ """
253256
254257
255258@hookspec (firstresult = True )
0 commit comments