code: def test_fit_intercept_and_copy(coefs, intercept):
      """Test if fit_intercept and copy_X work."""
      X, y = _create_dataset(coefs, intercept, noise=2.0)
      imb = QuantileRegression(fit_intercept=False, copy_X=False)
      imb.fit(X, y)
  
      assert imb.intercept_ == 0.0
  
file_path: scikit-lego/tests/test_estimators/test_quantile_regression.py
imports: import numpy
  import pytest
  from sklego.common import flatten
  from sklego.linear_model import QuantileRegression
  from sklego.testing import check_shape_remains_same_regressor
  from tests.conftest import general_checks, nonmeta_checks, regressor_checks, select_tests
label_desc: Use image node_id 7 for calling a global function with example usage: test_fit_intercept_and_copy(coefs, intercept) without return types