Skip to content

Commit 2016325

Browse files
Update src/_pytest/nodes.py
Co-Authored-By: Anthony Sottile <[email protected]>
1 parent b8d21ad commit 2016325

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
@@ -32,7 +32,7 @@ def _splitnode(nodeid):
3232
"""
3333
if nodeid == "":
3434
# If there is no root node at all, return an empty list so the caller's logic can remain sane
35-
return tuple()
35+
return ()
3636
parts = nodeid.split(SEP)
3737
# Replace single last element 'test_foo.py::Bar' with multiple elements 'test_foo.py', 'Bar'
3838
parts[-1:] = parts[-1].split("::")

0 commit comments

Comments
 (0)