code: def testStatefulGroupByReducerNotCheckpointable(self):
      stateful_key_func = self._statefulInt64Func
      key_func = lambda _: math_ops.cast(0, dtypes.int64)
      stateful_init_func = self._statefulBoolFunc
      init_func = lambda x: True
      stateful_reduce_func = lambda _, x: self._statefulBoolFunc(x)
      reduce_func = lambda _, x: True
      stateful_finalize_func = self._statefulBoolFunc
      finalize_func = lambda x: True
  
      test_cases = [
          (stateful_key_func, init_func, reduce_func, finalize_func),
          (key_func, stateful_init_func, reduce_func, finalize_func),
          (key_func, init_func, stateful_reduce_func, finalize_func),
          (key_func, init_func, reduce_func, stateful_finalize_func),
      ]
      for key_func, init_func, reduce_func, finalize_func in test_cases:
          dataset = dataset_ops.Dataset.range(10)
          reducer = grouping.Reducer(
              init_func, reduce_func, finalize_func
          )
          dataset = dataset.apply(
              grouping.group_by_reducer(key_func, reducer)
          )
          self._assertNotCheckpointable(dataset)
  
imports: import os
  from absl.testing import parameterized
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.checkpoint import checkpoint_management
  from tensorflow.python.checkpoint import checkpoint_options
  from tensorflow.python.data.experimental.ops import grouping
  from tensorflow.python.data.experimental.ops import interleave_ops
  from tensorflow.python.data.experimental.ops import scan_ops
  from tensorflow.python.data.experimental.ops import take_while_ops
  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.eager import test
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_dataset_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import script_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import gfile
label_desc: Use image node_id 26 for calling the CheckpointTest obj's underlying member method code with example usage: obj.testStatefulGroupByReducerNotCheckpointable() without return types