code: def testFSPath(self):
      save_dir = self._get_test_dir("fspath")
      os.chdir(save_dir)
      # Make a temporary train directory.
      train_dir = "train"
      os.mkdir(train_dir)
      abs_path = os.path.join(save_dir, "model-0")
      rel_path = os.path.join("train", "model-2")
      checkpoint_management.update_checkpoint_state(
          train_dir,
          rel_path,
          all_model_checkpoint_paths=[abs_path, rel_path],
      )
      ckpt = checkpoint_management.get_checkpoint_state(
          pathlib.Path(train_dir)
      )
      self.assertEqual(ckpt.model_checkpoint_path, rel_path)
  
imports: import contextlib
  import os
  import pathlib
  import shutil
  import tempfile
  from google.protobuf import text_format
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.checkpoint import checkpoint_management
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.training import saver
  from tensorflow.python.training.checkpoint_state_pb2 import CheckpointState
label_desc: Use image node_id 6 for calling the CheckpointStateTest obj's underlying member method code with example usage: obj.testFSPath() without return types