code: def __get_failures(output):
      failures = set()
  
      lines = output.splitlines()
      expression_failure = re.compile("\[\s+FAILED\s+\] (\S+)\.(\S+)")
      for line in lines:
          result = expression_failure.match(line)
          if result is not None:
              suite = result.group(1)
              test = result.group(2)
              failures.add("%s.%s" % (suite, test))
  
      return failures
  
file_path: pyclustering/ccore/tst/ut-runner.py
imports: import argparse
  import enum
  import logging
  import os.path
  import re
  import signal
  import subprocess
label_desc: Use image node_id 4 for calling the Runner obj's underlying member method code with example usage: obj.__get_failures(output) and returns: failures