Skip to content

Commit 6be3f31

Browse files
committed
nodes: remove redundent _imply_path call
The Node ctor will take care of the check.
1 parent 853b0a4 commit 6be3f31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/_pytest/nodes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ def from_parent(
634634
**kw,
635635
):
636636
"""The public constructor."""
637-
path, fspath = _imply_path(path, fspath=fspath)
638637
return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)
639638

640639
def gethookproxy(self, fspath: "os.PathLike[str]"):

0 commit comments

Comments
 (0)