code: def test_pickle_numpy():
      np = pytest.importorskip("numpy")
      a = np.array([1, 2, 3])
      frames = pickle_bytelist(a)
      bin = b"".join(frames)
      [a2] = unpickle_bytestream(bin)
      assert (a2 == a).all()
  
imports: from __future__ import annotations
  import pytest
  from distributed.shuffle._pickle import pickle_bytelist, unpickle_bytestream
label_desc: Use image node_id 2 for calling a global function with example usage: test_pickle_numpy() without return types