code: def test_duplicate_columns():
      """Assert that an error is raised when there are duplicate columns."""
      data = pycaret.datasets.get_data("juice")
      data = data.rename(
          columns={"Purchase": "Id"}
      )  # Make another column named Id
      with pytest.raises(
          ValueError, match=".*Duplicate column names found in X.*"
      ):
          pycaret.classification.setup(data)
  
imports: import io
  import numpy
  import pandas
  import pytest
  from imblearn.over_sampling import ADASYN
  from scipy.sparse import csr_matrix
  from sklearn.decomposition import PCA
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import StandardScaler
  import pycaret.classification
  import pycaret.datasets
  import pycaret.regression
label_desc: Use image node_id 10 for calling a global function with example usage: test_duplicate_columns() without return types