code: def test_bdumps(json):
      assert json.bdumps([1]) == b"[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 6 for calling a global function with example usage: test_bdumps(json) without return types