code: def test_format_kwarg_dictionaries_default_kwargs_invalid_type():
      invalid_kwargs = "not a dictionary"
      message = (
          "d must be of type dict or None, but got "
          "{} instead".format(type(invalid_kwargs))
      )
      assert_raises(
          TypeError,
          message,
          format_kwarg_dictionaries,
          default_kwargs=invalid_kwargs,
      )
  
imports: import os
  import sys
  import numpy
  from mlxtend.utils import assert_raises, check_Xy, format_kwarg_dictionaries
label_desc: Use image node_id 16 for calling a global function with example usage: test_format_kwarg_dictionaries_default_kwargs_invalid_type() without return types