code: def test_inconsistent_train_test(model):
      model.fit(df_train)
  
      model.predict(df_test_ok)
  
      with pytest.raises(
          ValueError,
          match="The model was trained by a pandas DataFrame with columns",
      ):
          model.predict(df_test_not_ok)
  
file_path: adtk/tests/test_inconsistent_train_test.py
imports: import numpy
  import pandas
  import pytest
  from sklearn.cluster import KMeans
  from sklearn.linear_model import LinearRegression
  from sklearn.neighbors import LocalOutlierFactor
  import adtk.detector
  import adtk.transformer
label_desc: Use image node_id 1 for calling a global function with example usage: test_inconsistent_train_test(model) without return types