Skip to content

Commit 6947827

Browse files
committed
Update
[ghstack-poisoned]
1 parent 7d4c6b4 commit 6947827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/test/suite/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def pytest_json_modifyreport(json_report):
164164
# Native crashes are recorded differently and won't have the full metadata.
165165
# Pytest-xdist records crash info under the "???" key.
166166
if "???" in test_data:
167-
test_id = test_data["nodeid"].strip("::") # Remove leading ::
167+
test_id = test_data["nodeid"].removeprefix("::") # Remove leading ::
168168
test_base_id = test_id.split("[")[
169169
0
170170
] # Strip parameterization to get the base test case

0 commit comments

Comments
 (0)