code: def _nAryListCheck(self, results, expected, **kwargs):
      self.assertEqual(len(results), len(expected))
      for r, e in zip(results, expected):
          self.assertAllClose(r, e, **kwargs)
  
imports: import unittest
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the NAryOpsTest obj's underlying member method code with example usage: obj._nAryListCheck(results, expected) without return types