code: def test_get_set_tolerable_checkpoint_failure_number(self):
      self.assertEqual(
          self.checkpoint_config.get_tolerable_checkpoint_failure_number(),
          0,
      )
  
      self.checkpoint_config.set_tolerable_checkpoint_failure_number(2)
  
      self.assertEqual(
          self.checkpoint_config.get_tolerable_checkpoint_failure_number(),
          2,
      )
  
file_path: flink/flink-python/pyflink/datastream/tests/test_check_point_config.py
imports: from pyflink.common import Duration
  from pyflink.datastream import CheckpointConfig, CheckpointingMode, ExternalizedCheckpointCleanup, StreamExecutionEnvironment
  from pyflink.java_gateway import get_gateway
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 10 for calling the CheckpointConfigTests obj's underlying member method code with example usage: obj.test_get_set_tolerable_checkpoint_failure_number() without return types