code: def test_fails_to_initialize_same_split_twice(self):
      data_dir = tempfile.mkdtemp("data_dir")
      writer = sequential_writer.SequentialWriter(
          ds_info=_dataset_info(data_dir), max_examples_per_shard=1
      )
      writer.initialize_splits(["train"])
      with self.assertRaises(KeyError):
          writer.initialize_splits(["train"])
  
imports: import tempfile
  from absl.testing import absltest
  from absl.testing import parameterized
  import tensorflow
  import tensorflow_datasets
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import sequential_writer
label_desc: Use image node_id 8 for calling the SequentialWriterTest obj's underlying member method code with example usage: obj.test_fails_to_initialize_same_split_twice() without return types