We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b0013 commit 0ec7959Copy full SHA for 0ec7959
1 file changed
nuts/yamlloader.py
@@ -21,9 +21,9 @@
21
class NutsYamlFile(pytest.File):
22
def collect(self) -> Iterable[Union[nodes.Item, nodes.Collector]]:
23
# 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
+ # both variants will be used for some time in parallel within pytest.
+ # If fspath is used in a newer pytest version, it triggers a deprecation warning.
+ # We therefore use a wrapper that can use both path types
27
if hasattr(self, "path"):
28
yield from self._collect_path()
29
else:
0 commit comments