code: def __init__(self, msg, indices, condense_results_func=None):
      self.msg = msg
      self.indices = tuple(indices)
      if condense_results_func is None:
  
          def condense_results_func(np_r, chx_r):
              return "chainerx: {} numpy: {}".format(chx_r, np_r)
  
      self.condense_results_func = condense_results_func
  
imports: import functools
  import traceback
  import warnings
  import numpy
  import pytest
  import chainerx
  from chainerx.testing import array
label_desc: Use image node_id 1 to create a new _ResultsCheckFailure object from inherited base classes: Exception with example: obj = _ResultsCheckFailure(msg, indices, condense_results_func)