code: def test_schema_timeframe_missing():
      xs = [1, 2, 3, 4, 5]
      row = {"target": xs, "time_feat": xs}
  
      with pytest.raises(Exception):
          schema.load_timeframe({})
  
      with pytest.raises(Exception):
          schema.load_timeframe(row)
  
imports: import pytest
  import numpy
  import gluonts.zebras
label_desc: Use image node_id 2 for calling a global function with example usage: test_schema_timeframe_missing() without return types