We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d21ad commit 2016325Copy full SHA for 2016325
src/_pytest/nodes.py
@@ -32,7 +32,7 @@ def _splitnode(nodeid):
32
"""
33
if nodeid == "":
34
# If there is no root node at all, return an empty list so the caller's logic can remain sane
35
- return tuple()
+ return ()
36
parts = nodeid.split(SEP)
37
# Replace single last element 'test_foo.py::Bar' with multiple elements 'test_foo.py', 'Bar'
38
parts[-1:] = parts[-1].split("::")
0 commit comments