code: def test_blur_numpy(request: Any) -> None:
      class Model:
          def __call__(self, inputs: Any) -> Any:
              return inputs.mean(axis=(2, 3))
  
      model = Model()
      with pytest.raises(ValueError):
          fbn.NumPyModel(model, bounds=(0, 1), data_format="foo")
  
      fmodel = fbn.NumPyModel(model, bounds=(0, 1))
      x, y = ep.astensors(
          *fbn.samples(
              fmodel,
              dataset="imagenet",
              batchsize=16,
              data_format="channels_first",
          )
      )
      with pytest.raises(ValueError, match="data_format"):
          fbn.attacks.GaussianBlurAttack()(fmodel, x, y, epsilons=None)
  
file_path: foolbox/tests/test_attacks_raise.py
imports: from typing import List, Tuple, Any
  import pytest
  import eagerpy
  import foolbox
  from conftest import ModeAndDataAndDescription
label_desc: Use image node_id 11 for calling a global function with example usage: test_blur_numpy(request) and returns: inputs