Skip to content

Commit 910d5df

Browse files
authored
Merge pull request #6456 from blueyed/fix-doc-_splitnode
minor: fix doc/example for _pytest.nodes._splitnode
2 parents 00adb4e + 189fe3b commit 910d5df

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)