code: def test_build_agg_lag_df_exception():
      df = pd.DataFrame({"x": range(10), "y": range(100, 110)})
      with pytest.raises(
          ValueError,
          match="at least one of 'orders_list' or 'interval_list' must be provided",
      ):
          build_agg_lag_df(
              value_col="x", df=df, orders_list=None, interval_list=None
          )
  
imports: import numpy
  import pandas
  import pytest
  from greykite.common.features.timeseries_lags import build_agg_lag_df
  from greykite.common.features.timeseries_lags import build_autoreg_df
  from greykite.common.features.timeseries_lags import build_autoreg_df_multi
  from greykite.common.features.timeseries_lags import build_lag_df
  from greykite.common.features.timeseries_lags import min_max_lag_order
  from greykite.common.python_utils import assert_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_build_agg_lag_df_exception() without return types