Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions projects/rocblas/rtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,9 @@ def test_xml_reduce():
# Remove specific attributes
attributes_to_remove = {"value_param", "timestamp", "file", "line"}
for elem in root.iter():
for elem in root.iter():
for attr in attributes_to_remove:
if attr in elem.attrib:
del elem.attrib[attr]
for attr in attributes_to_remove:
if attr in elem.attrib:
del elem.attrib[attr]

# Save the modified XML
tree.write(test_detail_reduced)
Expand Down