From bfe178328e0e5f7ddb4c6d2f73c3f09376c8f8ac Mon Sep 17 00:00:00 2001 From: Warren Markham Date: Sun, 10 Sep 2023 23:09:17 +1000 Subject: [PATCH] docs: add punctuation to class docstring --- src/_pytest/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 058344a2c..4e871f4bd 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -128,7 +128,7 @@ _NodeType = TypeVar("_NodeType", bound="Node") class NodeMeta(type): """Metaclass used by :class:`Node` to enforce that direct construction raises - :class:`Failed` + :class:`Failed`. This behaviour supports the indirection introduced with :meth:`Node.from_parent`, the named constructor to be used instead of direct construction. The design