code: def incrNumAttr(element, attr):
      newVal = int(element.attrib.get(attr)) + 1
      element.attrib[attr] = str(newVal)
  
file_path: cusignal/ci/utils/nbtestlog2junitxml.py
imports: import re
  from xml.etree.ElementTree import Element, ElementTree
  from os import path
  import string
  from enum import Enum
label_desc: Use image node_id 9 for calling a global function with example usage: incrNumAttr(element, attr) without return types