def METHOD_NAME(self, split, src, tgt):
    with tempfile.TemporaryDirectory() as root_dir:
        expected_samples = _get_mock_dataset(
            os.path.join(root_dir, "datasets"), split, src, tgt, "dev2010", "tst2010"
        )
        dataset = IWSLT2017(root=root_dir, split=split, language_pair=(src, tgt))
        samples = list(dataset)
        for sample, expected_sample in zip_equal(samples, expected_samples):
            self.assertEqual(sample, expected_sample)