From 189fe3ba1dc72ac71060b103a5e0509a3659a70e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 14 Jan 2020 12:40:06 +0100 Subject: [PATCH] minor: fix doc/example for _pytest.nodes._splitnode --- 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 22c2ce337..c34dcce5c 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -49,7 +49,7 @@ def _splitnode(nodeid): [] ['testing', 'code'] ['testing', 'code', 'test_excinfo.py'] - ['testing', 'code', 'test_excinfo.py', 'TestFormattedExcinfo', '()'] + ['testing', 'code', 'test_excinfo.py', 'TestFormattedExcinfo'] """ if nodeid == "": # If there is no root node at all, return an empty list so the caller's logic can remain sane