code: def test_save_without_build():
      t = AnnoyIndex(10, "angular")
      for i in range(100):
          t.add_item(i, [random.gauss(0, 1) for z in range(10)])
      # Note: in earlier version, this was allowed (see eg #61)
      with pytest.raises(Exception):
          t.save("x.tree")
  
imports: import os
  import random
  import pytest
  from annoy import AnnoyIndex
label_desc: Use image node_id 8 for calling a global function with example usage: test_save_without_build() without return types