code: def test_weekly_weekday_period(date, freq, result):
      np.testing.assert_array_equal(
          zb.period(date, freq).periods(4).data,
          np.array(result).astype(np.datetime64),
      )
  
file_path: gluonts/test/zebras/test_period.py
imports: import pytest
  import numpy
  import pandas
  from pandas.tseries.frequencies import to_offset
  from gluonts.core import serde
  import gluonts.zebras
label_desc: Use image node_id 8 for calling a global function with example usage: test_weekly_weekday_period(date, freq, result) without return types