code: def test_check_Xy_invalid_type_X():
      expect = "X must be a NumPy array. Found <class 'list'>"
      if sys.version_info < (3, 0):
          expect = expect.replace("class", "type")
      assert_raises(ValueError, expect, check_Xy, [1, 2, 3, 4], y)
  
imports: import os
  import sys
  import numpy
  from mlxtend.utils import assert_raises, check_Xy, format_kwarg_dictionaries
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_Xy_invalid_type_X() without return types