code: def test_basics():
      pytest.raises(ValueError, as_volume_img, "foobar")
  
file_path: nipy/nipy/labs/datasets/tests/test_converters.py
imports: import os
  import tempfile
  import nibabel
  import pytest
  from ..None import as_volume_img, save
label_desc: Use image node_id 2 for calling a global function with example usage: test_basics() without return types