code: def test_split_full_names():
      """Test _split_full_names function."""
      full_names = [
          "my_dataset/1.2.0",
          "my_dataset/1.3.0",
          "my_other_dataset/config/2.0.0",
          "my_other_dataset/config/1.3.0",
          "my_other_dataset/other_config/1.3.0",
      ]
      assert delete_old_versions._split_full_names(full_names) == {
          "my_dataset": {
              "1.2.0": {},
              "1.3.0": {},
          },
          "my_other_dataset": {
              "config": {
                  "2.0.0": {},
                  "1.3.0": {},
              },
              "other_config": {
                  "1.3.0": {},
              },
          },
      }
  
imports: import pathlib
  from typing import List
  from tensorflow_datasets.scripts.cleanup import delete_old_versions
label_desc: Use image node_id 1 for calling a global function with example usage: test_split_full_names() without return types