code: def test_raise_value_error_when_periods_and_windows_diff_lengths(
      periods, windows
  ):
      with pytest.raises(
          ValueError, match="Periods and windows must have same length"
      ):
          MSTL(endog=[1, 2, 3, 4, 5], periods=periods, windows=windows)
  
file_path: statsmodels/statsmodels/tsa/stl/tests/test_mstl.py
imports: from pathlib import Path
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import pytest
  from statsmodels.tsa.seasonal import MSTL
label_desc: Use image node_id 7 for calling a global function with example usage: test_raise_value_error_when_periods_and_windows_diff_lengths(periods, windows) without return types