code: def testMapIgnoreError(self):
      components = np.array([1.0, 2.0, 3.0, np.nan, 5.0]).astype(
          np.float32
      )
  
      dataset = (
          dataset_ops.Dataset.from_tensor_slices(components)
          .map(lambda x: array_ops.check_numerics(x, "message"))
          .ignore_errors()
      )
      get_next = self.getNext(dataset)
  
      for x in [1.0, 2.0, 3.0, 5.0]:
          self.assertEqual(x, self.evaluate(get_next()))
      with self.assertRaises(errors.OutOfRangeError):
          self.evaluate(get_next())
  
imports: import os
  import sys
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 1 for calling the IgnoreErrorsTest obj's underlying member method code with example usage: obj.testMapIgnoreError() without return types