code: def test_prophet_incorrect_periods():
      with pytest.raises(InvalidPostProcessingError):
          prophet(
              df=prophet_df,
              time_grain="P1M",
              periods=-1,
              confidence_interval=0.8,
          )
  
file_path: superset/tests/unit_tests/pandas_postprocessing/test_prophet.py
imports: from datetime import datetime
  from importlib.util import find_spec
  import pandas
  import pytest
  from superset.exceptions import InvalidPostProcessingError
  from superset.utils.core import DTTM_ALIAS
  from superset.utils.pandas_postprocessing import prophet
  from tests.unit_tests.fixtures.dataframes import prophet_df
label_desc: Use image node_id 6 for calling a global function with example usage: test_prophet_incorrect_periods() without return types