code: def test_dictionaries_values_to_lists():
      """Tests dictionaries_values_to_lists"""
      hyperparameter_grid = {
          "param1": [],
          "param2": [],
          "param3": [None],
          "param4": [None],
      }
      original_grid = hyperparameter_grid.copy()
      result = dictionaries_values_to_lists(
          hyperparameter_grid,
          hyperparameters_list_type={"param2", "param4"},
      )
      expected_grid = {
          "param1": [],
          "param2": [[]],
          "param3": [None],
          "param4": [None],
      }
      assert_equal(result, expected_grid)
      assert_equal(hyperparameter_grid, original_grid)
  
      hyperparameter_grids = [hyperparameter_grid, hyperparameter_grid]
      original_grid = hyperparameter_grids.copy()
      result = dictionaries_values_to_lists(
          hyperparameter_grids,
          hyperparameters_list_type={"param2", "param4"},
      )
      assert_equal(result, [expected_grid, expected_grid])
      assert_equal(hyperparameter_grids, original_grid)
  
imports: import warnings
  from dataclasses import dataclass
  from typing import List
  import numpy
  import pandas
  import pytest
  import scipy
  from greykite.common import constants
  from greykite.common.evaluation import ElementwiseEvaluationMetricEnum
  from greykite.common.python_utils import apply_func_to_columns
  from greykite.common.python_utils import assert_equal
  from greykite.common.python_utils import dictionaries_values_to_lists
  from greykite.common.python_utils import dictionary_values_to_lists
  from greykite.common.python_utils import flatten_list
  from greykite.common.python_utils import get_integer
  from greykite.common.python_utils import get_pattern_cols
  from greykite.common.python_utils import group_strs_with_regex_patterns
  from greykite.common.python_utils import ignore_warnings
  from greykite.common.python_utils import mutable_field
  from greykite.common.python_utils import reorder_columns
  from greykite.common.python_utils import split_offset_str
  from greykite.common.python_utils import unique_dict_in_list
  from greykite.common.python_utils import unique_elements_in_list
  from greykite.common.python_utils import unique_in_list
  from greykite.common.python_utils import update_dictionaries
  from greykite.common.python_utils import update_dictionary
label_desc: Use image node_id 9 for calling a global function with example usage: test_dictionaries_values_to_lists() without return types