Merge pull request #6456 from blueyed/fix-doc-_splitnode

minor: fix doc/example for _pytest.nodes._splitnode
This commit is contained in:
Daniel Hahler
2020-01-14 15:22:01 +01:00
committed by GitHub

View File

@@ -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