code: def make_test_data_dir(tmp_dir):
      for split in ["train", "val", "test"]:
          _dump_articles(
              os.path.join(tmp_dir, f"{split}.source"), ARTICLES
          )
          _dump_articles(
              os.path.join(tmp_dir, f"{split}.target"), SUMMARIES
          )
      return tmp_dir
  
imports: import os
  from pathlib import Path
  import numpy
  import pytest
  from pack_dataset import pack_data_dir
  from parameterized import parameterized
  from save_len_file import save_len_file
  from torch.utils.data import DataLoader
  from transformers import AutoTokenizer
  from transformers.models.mbart.modeling_mbart import shift_tokens_right
  from transformers.testing_utils import TestCasePlus, slow
  from utils import FAIRSEQ_AVAILABLE, DistributedSortishSampler, LegacySeq2SeqDataset, Seq2SeqDataset
label_desc: Use image node_id 2 for calling a global function with example usage: make_test_data_dir(tmp_dir) and returns: tmp_dir