code: def test_integrated_invalid():
      # Test for invalid versions of integrated model
      # - include_constant=True is invalid if integration is present
      endog = lake.copy()
      exog = np.arange(1, len(endog) + 1) * 1.0
      assert_raises(
          ValueError,
          gls,
          endog,
          exog,
          order=(1, 1, 0),
          include_constant=True,
      )
  
file_path: statsmodels/statsmodels/tsa/arima/estimators/tests/test_gls.py
imports: import numpy
  import pytest
  from numpy.testing import assert_, assert_allclose, assert_equal, assert_warns, assert_raises
  from statsmodels.tsa.arima.datasets.brockwell_davis_2002 import lake, oshorts
  from statsmodels.tsa.arima.estimators.gls import gls
label_desc: Use image node_id 4 for calling a global function with example usage: test_integrated_invalid() without return types