Skip to content

Commit 0ec7959

Browse files
committed
use pytest instead of python in docstring
1 parent 48b0013 commit 0ec7959

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

nuts/yamlloader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
class NutsYamlFile(pytest.File):
2222
def collect(self) -> Iterable[Union[nodes.Item, nodes.Collector]]:
2323
# path uses pathlib.Path and is meant to replace fspath, which uses py.path.local
24-
# both variants will be used for some time in parallel
25-
# if fspath is used in a newer python version, it triggers a deprecation warning
26-
# we therefore use a wrapper that can use both path types
24+
# both variants will be used for some time in parallel within pytest.
25+
# If fspath is used in a newer pytest version, it triggers a deprecation warning.
26+
# We therefore use a wrapper that can use both path types
2727
if hasattr(self, "path"):
2828
yield from self._collect_path()
2929
else:

0 commit comments

Comments
 (0)