code: def test_freq_serde(freq):
      freq = zb.freq(freq)
  
      assert freq == serde.decode(serde.encode(freq))
  
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 2 for calling a global function with example usage: test_freq_serde(freq) without return types