code: def test_nibabel_test_errors():
      with pytest.raises(NotImplementedError):
          nib.test(label="fast")
      with pytest.raises(NotImplementedError):
          nib.test(raise_warnings=[])
      with pytest.raises(NotImplementedError):
          nib.test(timer=True)
      with pytest.raises(ValueError):
          nib.test(verbose="-v")
  
imports: import pathlib
  from unittest import mock
  import pytest
  import nibabel
label_desc: Use image node_id 2 for calling a global function with example usage: test_nibabel_test_errors() without return types