code: def test_lasso_lars_copyX_behaviour(copy_X):
      """
      Test that user input regarding copy_X is not being overridden (it was until
      at least version 0.21)
  
      """
      lasso_lars = LassoLarsIC(copy_X=copy_X, precompute=False)
      rng = np.random.RandomState(0)
      X = rng.normal(0, 1, (100, 5))
      X_copy = X.copy()
      y = X[:, 2]
      lasso_lars.fit(X, y)
      assert copy_X == np.array_equal(X, X_copy)
  
imports: import warnings
  import numpy
  import pytest
  from scipy import linalg
  from sklearn import datasets, linear_model
  from sklearn.base import clone
  from sklearn.exceptions import ConvergenceWarning
  from sklearn.linear_model import Lars, LarsCV, LassoLars, LassoLarsCV, LassoLarsIC, lars_path
  from sklearn.linear_model._least_angle import _lars_path_residues
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import make_pipeline
  from sklearn.preprocessing import StandardScaler
  from sklearn.utils._testing import TempMemmap, assert_allclose, assert_array_almost_equal, ignore_warnings
label_desc: Use image node_id 32 for calling a global function with example usage: test_lasso_lars_copyX_behaviour(copy_X) without return types