code: def test_feat_dynamic_real_bad_size():
      params = dict(prediction_length=3, prophet_params={})
  
      dataset = ListDataset(
          data_iter=[
              {
                  "start": "2017-01-01",
                  "target": np.array([1.0, 2.0, 3.0, 4.0]),
                  "feat_dynamic_real": np.array(
                      [
                          [1.0, 2.0, 3.0, 4.0, 5.0, 6.0],
                          [1.0, 2.0, 3.0, 4.0, 5.0, 6.0],
                      ]
                  ),
              }
          ],
          freq="1D",
      )
  
      with pytest.raises(AssertionError) as excinfo:
          predictor = ProphetPredictor(**params)
          list(predictor.predict(dataset))
  
      assert str(excinfo.value) == (
          "Length mismatch for dynamic real-valued feature #0: "
          "expected 7, got 6"
      )
  
file_path: gluonts/test/ext/prophet/test_prophet.py
imports: import numpy
  import pytest
  from gluonts.core import serde
  from gluonts.dataset.common import ListDataset
  from gluonts.ext.prophet import ProphetPredictor
label_desc: Use image node_id 2 for calling a global function with example usage: test_feat_dynamic_real_bad_size() without return types