code: def test_read_stream():
      tag = _make_tag("i4", 1, mio5p.miINT32, sde=True)
      tag_str = tag.tobytes()
      str_io = BytesIO(tag_str)
      st = streams.make_stream(str_io)
      s = streams._read_into(st, tag.itemsize)
      assert_equal(s, tag.tobytes())
  
file_path: scipy/scipy/io/matlab/tests/test_mio5_utils.py
imports: import sys
  from io import BytesIO
  import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_
  from pytest import raises
  import scipy.io.matlab._byteordercodes
  import scipy.io.matlab._streams
  import scipy.io.matlab._mio5_params
  import scipy.io.matlab._mio5_utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_read_stream() without return types