code: def testNestedContextCreateBaseTempDir(self):
      level_1_dir = self.get_temp_dir()
      with tft_beam.Context(temp_dir=level_1_dir):
          self.assertEqual(
              os.path.join(level_1_dir, tft_beam.Context._TEMP_SUBDIR),
              tft_beam.Context.create_base_temp_dir(),
          )
          level_2_dir = self.get_temp_dir()
          with tft_beam.Context(temp_dir=level_2_dir):
              self.assertEqual(
                  os.path.join(
                      level_2_dir, tft_beam.Context._TEMP_SUBDIR
                  ),
                  tft_beam.Context.create_base_temp_dir(),
              )
          self.assertEqual(
              os.path.join(level_1_dir, tft_beam.Context._TEMP_SUBDIR),
              tft_beam.Context.create_base_temp_dir(),
          )
      with self.assertRaises(ValueError):
          tft_beam.Context.create_base_temp_dir()
  
imports: import os
  import tensorflow_transform.beam
  from tensorflow_transform.beam import tft_unit
label_desc: Use image node_id 1 for calling the ContextTest obj's underlying member method code with example usage: obj.testNestedContextCreateBaseTempDir() without return types