code: def test_load(json):
      buff = StringIO("[1]")
      assert json.load(buff) == [1]
  
      buff = BytesIO(b"[1]")
      assert json.load(buff) == [1]
  
file_path: gluonts/test/test_json.py
imports: from io import StringIO, BytesIO
  import pytest
  from gluonts.json import _orjson, _ujson, _json
label_desc: Use image node_id 8 for calling a global function with example usage: test_load(json) without return types