code: def test_simple_compound_mmap():
      with TempStorage("compound") as st:
          assert st.supports_mmap
          _test_simple_compound(st)
  
file_path: whoosh/tests/test_compound.py
imports: from __future__ import with_statement
  from whoosh.compat import b
  from whoosh.filedb.compound import CompoundStorage
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempStorage
label_desc: Use image node_id 2 for calling a global function with example usage: test_simple_compound_mmap() without return types