code: def test_copy_failtype():
      copy = CopyTransformer()
  
      expect = (
          "X must be a list or NumPy array or SciPy sparse array."
          " Found <class 'int'>"
      )
      if sys.version_info < (3, 0):
          expect = expect.replace("class", "type")
      assert_raises(ValueError, expect, copy.transform, 1)
  
file_path: mlxtend/mlxtend/preprocessing/tests/test_copy_transformer.py
imports: import sys
  import numpy
  from packaging.version import Version
  from scipy.sparse import issparse
  from sklearn import __version__
  from sklearn.datasets import load_iris
  from sklearn.feature_extraction.text import TfidfTransformer
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import GridSearchCV
  from sklearn.pipeline import make_pipeline
  from sklearn.preprocessing import StandardScaler
  from mlxtend.preprocessing import CopyTransformer
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_copy_failtype() without return types