def test_false_reindex(): res = ConstantMean(SP500, volatility=GARCH()).fit(disp="off") fcast = res.forecast(start=0, reindex=True) assert fcast.mean.shape[0] == SP500.shape[0] assert_series_equal(pd.Series(fcast.mean.index), pd.Series(SP500.index))