code: def test_maybe_filter_error():
      with raises(ValueError):
          interpolate._maybe_filter(
              np.array(3), 1, "testing", False, np.float32
          )
  
file_path: mahotas/mahotas/tests/test_interpolate.py
imports: from mahotas import interpolate
  import numpy
  import pytest
  from pytest import raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_maybe_filter_error() without return types