code: def clean_traceback(traceback):
      traceback = re.sub(
          rb"\033\[(\d|;)+?m", b"", traceback
      )  # strip ANSI codes
      traceback = re.sub(
          rb" at 0x[0-9a-fA-F]+", b"", traceback
      )  # remove object ids
      return traceback
  
imports: import os
  import re
  import pytest
  import yatest.common
label_desc: Use image node_id 1 for calling a global function with example usage: clean_traceback(traceback) and returns: traceback