Skip to content

Commit 189fe3b

Browse files
committed
minor: fix doc/example for _pytest.nodes._splitnode
1 parent 8eec42f commit 189fe3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _splitnode(nodeid):
4949
[]
5050
['testing', 'code']
5151
['testing', 'code', 'test_excinfo.py']
52-
['testing', 'code', 'test_excinfo.py', 'TestFormattedExcinfo', '()']
52+
['testing', 'code', 'test_excinfo.py', 'TestFormattedExcinfo']
5353
"""
5454
if nodeid == "":
5555
# If there is no root node at all, return an empty list so the caller's logic can remain sane

0 commit comments

Comments
 (0)