code: def test_error_imread():
      with pytest.raises(ImportError):
          error_imread(filename)
  
file_path: mahotas/mahotas/tests/test_io.py
imports: import numpy
  from mahotas.io import error_imread, error_imsave
  from os import path
  import mahotas
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_error_imread() without return types