code: def testInputOutOfRange(self):
      def py_fn(_):
          raise StopIteration()
  
      dataset = dataset_ops.Dataset.range(5)
      dataset = self.enableFilterParallelization(dataset)
      dataset = dataset.apply(testing.assert_next(["ParallelFilter"]))
      dataset = dataset.filter(
          lambda x: script_ops.py_func(
              py_fn, [x], dtypes.bool, stateful=False
          )
      )
      get_next = self.getNext(dataset)
      with self.assertRaises(errors.InvalidArgumentError):
          self.evaluate(get_next())
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import testing
  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.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import script_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 10 for calling the FilterParallelizationTest obj's underlying member method code with example usage: obj.testInputOutOfRange() without return types