class_docstr: Test functionality of SkorchDoctor using a simple model
class_docstr_tok: ["Test","functionality","of","SkorchDoctor","using","a","simple","model"]
code: def test_recs_with_filter_no_match(
      self, module_cls, net_cls, doctor_cls, data, custom_split
  ):
      # raise a helpful error if the match function filters away everything
      def match_fn(name):
          return "this-substring-does-not-exist" in name
  
      net = net_cls(
          module_cls,
          max_epochs=3,
          batch_size=32,
          train_split=custom_split,
      )
      doctor = doctor_cls(net, match_fn=match_fn)
  
      msg = (
          "No activations, gradients, or updates are being recorded, "
          "please check the match_fn"
      )
      with pytest.raises(ValueError, match=msg):
          doctor.fit(*data)
  
imports: import itertools
  from unittest import mock
  import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 24 for calling the TestSkorchDoctorSimple obj's underlying member method code with example usage: obj.test_recs_with_filter_no_match(module_cls, net_cls, doctor_cls, data, custom_split) and returns: unknown