code: def test_invalid_datasets_for_vocab_creation(self):
      params = Params(
          {
              "dataset_reader": {"type": "train-util-test-reader"},
              "train_data_path": "path-to-training-file",
              "validation_data_path": "path-to-validation-file",
              "datasets_for_vocab_creation": [
                  "train",
                  "validation",
                  "test",
              ],
              "data_loader": {"batch_size": 2},
          }
      )
      with pytest.raises(
          ConfigurationError,
          match="invalid 'datasets_for_vocab_creation' test",
      ):
          make_vocab_from_params(params, str(self.TEST_DIR))
  
imports: import logging
  import os
  import pickle
  import pytest
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.params import Params
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.instance import Instance
  from allennlp.data.dataset_readers import DatasetReader
  from allennlp.data.fields import LabelField
  from allennlp.models import Model
  from allennlp.training.util import make_vocab_from_params, get_metrics
label_desc: Use image node_id 6 for calling the TestMakeVocabFromParams obj's underlying member method code with example usage: obj.test_invalid_datasets_for_vocab_creation() without return types