class_docstr: Test functionality of SkorchDoctor using a simple model
class_docstr_tok: ["Test","functionality","of","SkorchDoctor","using","a","simple","model"]
code: def test_plot_activations_no_match(self, plt, doctor):
      msg = (
          r"No layer found matching the specification of match_fn. "
          r"Use doctor.get_layer_names\(\) to check all layers."
      )
  
      with pytest.raises(ValueError, match=msg):
          doctor.plot_activations(match_fn=lambda name: "foo" in name)
  
imports: import itertools
  from unittest import mock
  import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 34 for calling the TestSkorchDoctorSimple obj's underlying member method code with example usage: obj.test_plot_activations_no_match(plt, doctor) without return types