From 6be3f31dba3f4832577e46c8dbaa0a7048980a83 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 23 Oct 2021 21:18:51 +0300 Subject: [PATCH] nodes: remove redundent _imply_path call The Node ctor will take care of the check. --- src/_pytest/nodes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 37b0b3d2b..0a5acbad9 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -634,7 +634,6 @@ class FSCollector(Collector): **kw, ): """The public constructor.""" - path, fspath = _imply_path(path, fspath=fspath) return super().from_parent(parent=parent, fspath=fspath, path=path, **kw) def gethookproxy(self, fspath: "os.PathLike[str]"):