code: def test_trend(degree, with_intercept):
      """Test PolynomialTrendForecaster coefficients."""
      _test_trend(degree, with_intercept)
  
file_path: sktime/sktime/forecasting/trend/tests/test_trend.py
imports: import numpy
  import pandas
  import pytest
  from sktime.datasets import load_airline
  from sktime.forecasting.trend import PolynomialTrendForecaster, TrendForecaster
  from sktime.forecasting.trend._util import _get_X_numpy_int_from_pandas
  from sktime.utils._testing.forecasting import make_forecasting_problem
label_desc: Use image node_id 4 for calling a global function with example usage: test_trend(degree, with_intercept) without return types