code: def test_data_leakage(name):
      try:
          dataset = get_dataset(name)
      except RuntimeError:
          print(f"WARN dataset '{name}' could not be obtained")
  
      check_train_test_split(dataset)
  
imports: import pytest
  from gluonts.dataset.repository import dataset_names, get_dataset
  from gluonts.dataset.util import forecast_start
label_desc: Use image node_id 2 for calling a global function with example usage: test_data_leakage(name) without return types