code: def test_multistream():
      domain = [
          ("a", "12345"),
          ("b", "abc"),
          ("c", "AaBbC"),
          ("a", "678"),
          ("c", "cDdEeF"),
          ("b", "defgh"),
          ("b", "ijk"),
          ("c", "fGgHh"),
          ("a", "9abc"),
      ]
  
      st = RamStorage()
      msw = compound.CompoundWriter(st)
      files = dict((name, msw.create_file(name)) for name in "abc")
      for name, data in domain:
          files[name].write(b(data))
      f = st.create_file("test")
      msw.save_as_compound(f)
  
      f = st.open_file("test")
      msr = compound.CompoundStorage(f)
      assert msr.open_file("a").read() == b("123456789abc")
      assert msr.open_file("b").read() == b("abcdefghijk")
      assert msr.open_file("c").read() == b("AaBbCcDdEeFfGgHh")
  
file_path: whoosh/tests/test_columns.py
imports: from __future__ import with_statement
  import inspect, random, sys
  from whoosh import columns, fields, query
  from whoosh.codec.whoosh3 import W3Codec
  from whoosh.compat import b, u, BytesIO, bytes_type, text_type
  from whoosh.compat import izip, xrange, dumps, loads
  from whoosh.filedb import compound
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex, TempStorage
label_desc: Use image node_id 2 for calling a global function with example usage: test_multistream() without return types