code: def test_error_incorrect_args_block_list(self, list_length):
      block_list = [i for i in range(list_length)]
      with self.assertRaisesRegex(
          ValueError,
          "blocks_per_group_list` must be of length 4 not {}".format(
              list_length
          ),
      ):
          resnet.ResNet(
              block_list, 10, {"decay_rate": 0.9, "eps": 1e-5}
          )
  
file_path: sonnet/sonnet/src/nets/resnet_test.py
imports: from absl.testing import parameterized
  from sonnet.src import test_utils
  from sonnet.src.nets import resnet
  import tensorflow
label_desc: Use image node_id 3 for calling the ResnetTest obj's underlying member method code with example usage: obj.test_error_incorrect_args_block_list(list_length) without return types